complete 2022.rs 1264.rs 1318.rs 3731.rs 4633.rs 7140.rs 7541.rs 14315.rs 17204.rs 25208.rs

This commit is contained in:
2026-02-14 03:40:42 -08:00
parent c66152fbc8
commit 381b9ef968
10 changed files with 605 additions and 0 deletions

View File

@@ -0,0 +1 @@
fn main(){let s=std::io::read_to_string(std::io::stdin()).unwrap();let mut i=s.split_whitespace().flat_map(str::parse::<u64>);for j in 1..=i.next().unwrap(){let p=i.next().unwrap().min(i.next().unwrap());println!("Case #{j}: {}",p*p+p>>1)}}