結果
| 問題 |
No.2343 (l+r)/2
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-06-09 22:20:10 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 245 bytes |
| コンパイル時間 | 364 ms |
| コンパイル使用メモリ | 82,656 KB |
| 実行使用メモリ | 86,804 KB |
| 最終ジャッジ日時 | 2025-01-02 03:31:03 |
| 合計ジャッジ時間 | 2,789 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | AC * 5 WA * 9 |
ソースコード
T = int(input())
for _ in range(T):
N = int(input())
A = list(map(int, input().split()))
if sum(A) % 2 == 1:
print("Yes")
else:
if 0 in A and 1 in A:
print("Yes")
else:
print("No")