QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#289946#7863. Parity Gameucup-team253#TL 1ms3652kbC++146.7kb2023-12-24 05:58:092023-12-24 05:58:09

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3588kb

input:

4 1
0 1 0 1
1 *
1

output:

Alice
1 +
1 +

result:

ok The player wins!

Test #2:

score: 0
Accepted
time: 0ms
memory: 3652kb

input:

4 0
1 0 1 0
1 +
1

output:

Alice
1 *
1 *

result:

ok The player wins!

Test #3:

score: 0
Accepted
time: 0ms
memory: 3588kb

input:

5 1
1 1 1 0 0
4 +
1 +
1

output:

Bob
1 +
1 *

result:

ok The player wins!

Test #4:

score: -100
Time Limit Exceeded

input:

3 0
1 1 1

output:


result: