diff --git a/templates/template.cpp b/templates/template.cpp index 3a57260..09f6bef 100644 --- a/templates/template.cpp +++ b/templates/template.cpp @@ -1,4 +1,6 @@ #include +#include +#include #define let auto #define fn auto @@ -8,4 +10,8 @@ using namespace std; fn fastio() { ios::sync_with_stdio(false); cin.tie(nullptr); +} + +fn main() -> int { + } \ No newline at end of file diff --git a/templates/template.rs b/templates/template.rs index 8a55e80..e26a592 100644 --- a/templates/template.rs +++ b/templates/template.rs @@ -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::().unwrap()); } \ No newline at end of file