結果
問題 | No.2836 Comment Out |
ユーザー |
|
提出日時 | 2025-01-06 17:14:08 |
言語 | JavaScript (node v23.5.0) |
結果 |
AC
|
実行時間 | 286 ms / 2,000 ms |
コード長 | 304 bytes |
コンパイル時間 | 193 ms |
コンパイル使用メモリ | 6,820 KB |
実行使用メモリ | 69,044 KB |
最終ジャッジ日時 | 2025-01-06 17:14:22 |
合計ジャッジ時間 | 13,541 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 52 |
ソースコード
function Main(INPUT){const input=INPUT.split("\n");const N=parseInt(input[0]);const A=input[1].split(" ").map(_=>parseInt(_));let ok=false;A.forEach(v=>{if(v==0 || v==1){ok=true;}})console.log(ok?'Yes':'No');}Main(require("fs").readFileSync("/dev/stdin", "utf8"));