Преглед изворни кода

Track daily number of users requesting invites

Vecna пре 4 месеци
родитељ
комит
bfefb496b9
1 измењених фајлова са 9 додато и 0 уклоњено
  1. 9 0
      src/main.rs

+ 9 - 0
src/main.rs

@@ -165,6 +165,10 @@ pub async fn main() {
         let mut count_users_cannot_connect = 0;
 
         println!("Starting day {} of the simulation", day);
+        println!(
+            "    {} prospective users want to join",
+            num_users_requesting_invites
+        );
         println!(
             "    We have {} users and {} bridges",
             users.len(),
@@ -493,4 +497,9 @@ pub async fn main() {
         println!("{},{}", start_date + i as u32, percent_users_can_connect[i]);
     }
     println!("End percent of users who can connect per day");
+
+    println!(
+        "\n{} users were unable to join at all.",
+        num_users_requesting_invites
+    );
 }