結果
問題 | No.2836 Comment Out |
ユーザー |
|
提出日時 | 2024-08-09 23:01:20 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 14 ms / 2,000 ms |
コード長 | 220 bytes |
コンパイル時間 | 12,234 ms |
コンパイル使用メモリ | 376,864 KB |
実行使用メモリ | 5,504 KB |
最終ジャッジ日時 | 2024-08-09 23:01:37 |
合計ジャッジ時間 | 15,092 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 52 |
ソースコード
fn main() {proconio::input! {n: usize,a: [i64; n],}let is_possible = a.iter().any(|x| x <= &1);if is_possible {println!("Yes");} else {println!("No");}}