結果
問題 | No.2343 (l+r)/2 |
ユーザー | Ekiben542 |
提出日時 | 2023-06-09 22:20:10 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 245 bytes |
コンパイル時間 | 360 ms |
コンパイル使用メモリ | 86,964 KB |
実行使用メモリ | 94,664 KB |
最終ジャッジ日時 | 2023-08-30 13:30:30 |
合計ジャッジ時間 | 3,301 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | AC | 91 ms
86,656 KB |
testcase_05 | AC | 82 ms
78,496 KB |
testcase_06 | AC | 80 ms
77,440 KB |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | AC | 90 ms
86,660 KB |
testcase_13 | AC | 86 ms
81,376 KB |
testcase_14 | WA | - |
ソースコード
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")