Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn read()->Vec<i32> {
- let mut line = String::new();
- std::io::stdin().read_line(&mut line);
- line.split_whitespace().map(|s| s.parse::<i32>().unwrap()).collect()
- }
- fn main() {
- println!("{:?}",read()[0]);
- }
Add Comment
Please, Sign In to add comment