結果
| 問題 | No.2836 Comment Out |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-08-09 22:52:00 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 128 ms / 2,000 ms |
| + 350µs | |
| コード長 | 323 bytes |
| 記録 | |
| コンパイル時間 | 264 ms |
| コンパイル使用メモリ | 96,500 KB |
| 実行使用メモリ | 117,464 KB |
| 最終ジャッジ日時 | 2026-08-24 23:15:44 |
| 合計ジャッジ時間 | 11,941 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 52 |
ソースコード
import sys
from itertools import permutations
from heapq import heappop,heappush
from collections import deque
import random
import bisect
input = lambda :sys.stdin.readline().rstrip()
mi = lambda :map(int,input().split())
li = lambda :list(mi())
N = int(input())
A = li()
print("Yes" if ((0 in A) or (1 in A)) else "No")