This commit is contained in:
nora 2025-03-09 16:02:15 +01:00
parent 105706e862
commit ca565ddeb3
5 changed files with 208 additions and 4 deletions

View file

@ -98,6 +98,9 @@ fn input() -> u64 {
fn _start() -> ! {
let random_number = 45;
let num = core::sync::atomic::AtomicI32::new(0);
num.swap(10, core::sync::atomic::Ordering::SeqCst);
loop {
let n = input();
if n == random_number {