結果
問題 | No.2836 Comment Out |
ユーザー | tkykwtnb |
提出日時 | 2024-08-09 22:11:34 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 99 ms / 2,000 ms |
コード長 | 141 bytes |
コンパイル時間 | 390 ms |
コンパイル使用メモリ | 82,468 KB |
実行使用メモリ | 102,248 KB |
最終ジャッジ日時 | 2024-08-09 22:11:41 |
合計ジャッジ時間 | 6,289 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 52 |
ソースコード
N=int(input()) A=list(map(int,input().split())) if A.count(0)==N:print("Yes") elif A.count(0)>0 or A.count(1)>0:print("Yes") else:print("No")