ABC 048, finished all with help of editorial

This commit is contained in:
2022-06-10 12:29:12 +02:00
parent 6de228cf8a
commit 8ce2a3e769
6 changed files with 107 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
use proconio::input;
fn main(){
input!{
s: String,
};
if (s.len() % 2 == 0) ^ (s.chars().next().unwrap() == s.chars().last().unwrap()) {
println!("Second");
} else {
println!("First");
}
}