Accepted
Code
use std::io;
fn main() {
let mut line = String::new();
io::stdin().read_line(&mut line).expect("stdin");
let sum: i32 = line.split_whitespace()
.map(|x| x.parse::<i32>().expect("integer"))
.sum();
println!("{}", sum);
}
Information
- Submit By
- Type
- Submission
- Problem
- P1000 A + B
- Language
- Rust 2021 (Rust 1.75.0)
- Submit At
- 2024-10-03 18:25:29
- Judged At
- 2024-12-17 12:05:46
- Judged By
- Score
- 100
- Total Time
- 1ms
- Peak Memory
- 332.0 KiB