complete 1660.rs 5242.rs 8406.rs 14024.rs

This commit is contained in:
2026-07-24 17:52:47 +09:00
parent 5b49d47300
commit 8f06210897
4 changed files with 165 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
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 (l, r) = (iter.next().unwrap(), iter.next().unwrap());
println!("{}", if l | r == 1 { "True" } else { "False" });
}