update template.cpp template.rs

This commit is contained in:
2026-03-22 16:29:00 +09:00
parent 681170f289
commit b2b4a9948f
2 changed files with 12 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
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());
}