ABC 045, not finished yet, got idea for c
This commit is contained in:
14
atcoder/beginner_contests/abc045/src/bin/c.rs
Normal file
14
atcoder/beginner_contests/abc045/src/bin/c.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
use proconio::input;
|
||||
|
||||
|
||||
fn main() {
|
||||
input!{
|
||||
s: String,
|
||||
};
|
||||
|
||||
let ns : Vec<u64> = s.chars().map(|c| u64::from(c.to_digit(10).unwrap())).collect();
|
||||
let nns = vec![ns];
|
||||
let mut result : u64 = 0;
|
||||
|
||||
println!("{}", {result});
|
||||
}
|
||||
Reference in New Issue
Block a user