diff options
Diffstat (limited to 'main.rs')
-rw-r--r-- | main.rs | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,6 +1,7 @@ use rand::seq::SliceRandom; -use rand::thread_rng; use rand::Rng; +use rand_xoshiro::rand_core::SeedableRng; +use rand_xoshiro::Xoshiro256PlusPlus; use std::collections::HashMap; use std::fs::File; use std::io::Write; @@ -245,7 +246,7 @@ fn main() -> std::io::Result<()> { ), ]); let ans = "HAPPYAPRILFOOLSDAY202441🙂"; - let mut rng = thread_rng(); + let mut rng = Xoshiro256PlusPlus::seed_from_u64(202441); let mut file = File::create("index.html")?; writeln!(file, "<!DOCTYPE html><!--{}-->", header)?; for c in ans.chars() { @@ -268,5 +269,6 @@ fn main() -> std::io::Result<()> { )?; } } + writeln!(file, "<!--Leaderboard: None so far-->")?; Ok(()) } |