Pārlūkot izejas kodu

Track daily number of users requesting invites

Vecna 5 mēneši atpakaļ
vecāks
revīzija
bfefb496b9
1 mainītis faili ar 9 papildinājumiem un 0 dzēšanām
  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
+    );
 }