提出 #28095064
ソースコード 拡げる
T = int(input())
for i in range(T):
N = int(input())
A = list(map(int, input().split()))
count = 0
for a in A:
if a < N:
count += 1
if N % 2 == 0:
if count % 2 == 0:
print("White")
else:
print("Black")
else:
if count % 2 == 0:
print("Black")
else:
print("White")
提出情報
| 提出日時 | |
|---|---|
| 問題 | G - Game of Distinction |
| ユーザ | hmsket |
| 言語 | PyPy3 (7.3.0) |
| 得点 | 0 |
| コード長 | 409 Byte |
| 結果 | WA |
| 実行時間 | 69 ms |
| メモリ | 67668 KiB |
ジャッジ結果
| セット名 | Sample | All | ||||||
|---|---|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 0 / 100 | ||||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| Sample | 00-sample-001.txt |
| All | 00-sample-001.txt, 01-001.txt, 01-002.txt, 01-003.txt, 01-004.txt, 01-005.txt, 01-006.txt, 01-007.txt, 01-008.txt, 01-009.txt, 01-010.txt, 01-011.txt, 01-012.txt, 01-013.txt, 01-014.txt, 01-015.txt, 01-016.txt, 01-017.txt, 01-018.txt, 01-019.txt, 01-020.txt, 01-021.txt, 01-022.txt, 01-023.txt, 01-024.txt, 01-025.txt, 01-026.txt, 01-027.txt, 01-028.txt, 01-029.txt, 01-030.txt, 01-031.txt, 01-032.txt, 01-033.txt, 01-034.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| 00-sample-001.txt | AC | 69 ms | 61740 KiB |
| 01-001.txt | WA | 56 ms | 62676 KiB |
| 01-002.txt | WA | 58 ms | 62736 KiB |
| 01-003.txt | WA | 60 ms | 62368 KiB |
| 01-004.txt | WA | 53 ms | 62392 KiB |
| 01-005.txt | WA | 56 ms | 62620 KiB |
| 01-006.txt | WA | 59 ms | 62612 KiB |
| 01-007.txt | WA | 56 ms | 62796 KiB |
| 01-008.txt | WA | 60 ms | 62812 KiB |
| 01-009.txt | WA | 57 ms | 62692 KiB |
| 01-010.txt | WA | 63 ms | 65412 KiB |
| 01-011.txt | WA | 61 ms | 65360 KiB |
| 01-012.txt | WA | 59 ms | 65068 KiB |
| 01-013.txt | WA | 60 ms | 64988 KiB |
| 01-014.txt | WA | 60 ms | 65212 KiB |
| 01-015.txt | WA | 61 ms | 65376 KiB |
| 01-016.txt | WA | 61 ms | 65152 KiB |
| 01-017.txt | WA | 60 ms | 65572 KiB |
| 01-018.txt | WA | 62 ms | 65712 KiB |
| 01-019.txt | WA | 62 ms | 65572 KiB |
| 01-020.txt | WA | 67 ms | 67388 KiB |
| 01-021.txt | WA | 59 ms | 65544 KiB |
| 01-022.txt | WA | 63 ms | 66376 KiB |
| 01-023.txt | WA | 60 ms | 65696 KiB |
| 01-024.txt | WA | 61 ms | 65788 KiB |
| 01-025.txt | WA | 64 ms | 65880 KiB |
| 01-026.txt | WA | 63 ms | 65876 KiB |
| 01-027.txt | WA | 65 ms | 67668 KiB |
| 01-028.txt | WA | 61 ms | 65860 KiB |
| 01-029.txt | WA | 65 ms | 67548 KiB |
| 01-030.txt | WA | 62 ms | 65792 KiB |
| 01-031.txt | WA | 61 ms | 65916 KiB |
| 01-032.txt | WA | 61 ms | 65576 KiB |
| 01-033.txt | WA | 62 ms | 65884 KiB |
| 01-034.txt | WA | 59 ms | 65908 KiB |