QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#69817 | #3352. Marble Madness | juwkim | AC ✓ | 28ms | 8424kb | Python3 | 165b | 2023-01-02 02:05:20 | 2023-01-02 02:05:23 |
Judging History
answer
def g(): return [*map(int, input().split())]
for _ in range(int(input())):
B, W = g()
if W&1:
print(0, 1)
else:
print(1, 0)
詳細信息
Test #1:
score: 100
Accepted
time: 28ms
memory: 8424kb
input:
60 1 0 0 1 2 0 0 2 1 1 2 1 1 2 0 50000 50000 0 50000 50000 10153 39998 317 24935 26982 10153 22843 28213 30031 35153 15044 36294 38052 37413 23066 5553 7872 4006 16402 21029 28212 32724 18274 26059 22322 3081 976 21705 13306 35045 30646 2263 36814 18753 35610 35578 20786 39308 39333 32903 8773 29334...
output:
1 0 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 0 1 0 1 0 0 1 0 1 0 1 0 1 1 0 0 1 0 1 1 0 0 1 1 0 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 0 1 1 0 0 1 0 1 0 1 1 0 0 1 0 1 0 1 1 0 0 1 0 1 0 1 0 1 0 1 1 0 0 1 1 0 1 0 1 0 0 1 0 1 1 0 0 1 0 1 1 0 1 0 0 1 0 1 1 0 0 1
result:
ok 120 numbers