From 532d7f1809baff61bc270d94c955d8b850ff82aa Mon Sep 17 00:00:00 2001 From: bouzuya Date: Wed, 6 Dec 2023 23:01:35 +0900 Subject: [PATCH] past15-open b --- cargo-atcoder-1.70.0/contests/past15-open/src/bin/b.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cargo-atcoder-1.70.0/contests/past15-open/src/bin/b.rs b/cargo-atcoder-1.70.0/contests/past15-open/src/bin/b.rs index 2a9506c8..12d77656 100644 --- a/cargo-atcoder-1.70.0/contests/past15-open/src/bin/b.rs +++ b/cargo-atcoder-1.70.0/contests/past15-open/src/bin/b.rs @@ -1,10 +1,10 @@ -use proconio::{input, marker::Usize1}; +use proconio::input; fn main() { input! { - n: usize, - a: [Usize1; n], + _c: usize, + h: usize, }; - let ans = n - a.len(); - println!("{}", ans); + let ans = h >= 2800; + println!("{}", if ans { "o" } else { "x" }); }