complete 11505.rs 16978.rs 26209.rs

This commit is contained in:
2026-04-04 20:49:49 +09:00
parent 9b79eb05ba
commit 798eb9482a
3 changed files with 332 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
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());
let arr = (0..8).map(|_| iter.next().unwrap()).collect::<Vec<_>>();
if arr.iter().any(|&x| x == 9) {
println!("F");
} else {
println!("S");
}
}