complete 2805.rs 4366.rs 6235.rs 31614.rs 34412.rs

This commit is contained in:
2026-03-30 03:10:37 +09:00
parent 5c6ad569c4
commit c85e661c6c
5 changed files with 148 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
use std::io::{read_to_string, stdin};
fn main() {
let temp = read_to_string(stdin()).unwrap();
let mut iter = temp
.split_ascii_whitespace()
.map(|x| x.parse::<usize>().unwrap());
let x = iter.next().unwrap();
println!("{}", x + (x >= 13) as usize);
}