QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#402929#7863. Parity GameZhaoZiLongWA 1ms3844kbC++142.2kb2024-05-01 17:48:332024-05-01 17:48:34

詳細信息

Test #1:

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

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: 3844kb

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: 3832kb

input:

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

output:

Bob
1 +
1 *

result:

ok The player wins!

Test #4:

score: 0
Accepted
time: 1ms
memory: 3740kb

input:

3 0
1 1 1
1 +
1

output:

Bob
1 +

result:

ok The player wins!

Test #5:

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

input:

3 1
1 0 1
1 *
1

output:

Bob
1 *

result:

ok The player wins!

Test #6:

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

input:

3 0
1 0 1
1 *
1

output:

Bob
1 +

result:

ok The player wins!

Test #7:

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

input:

2 1
0 1
1

output:

Alice
1 +

result:

ok The player wins!

Test #8:

score: -100
Wrong Answer
time: 1ms
memory: 3840kb

input:

499 0
0 1 1 1 1 1 1 1 0 1 1 1 0 1 1 1 0 1 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 0 1 0 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 1 1 0 1 1 1 1 1 1 1 0 1 0 ...

output:

Bob
1 +
1 +
1 +
1 +
2 +
2 +
1 +
1 +
1 +
2 +
1 +
1 +
1 +
2 +
2 +
2 +
1 +
1 +
1 +
1 +
2 +
2 +
1 +
1 +
2 +
2 +
2 +
2 +
2 +
1 +
1 +
1 +
1 +
2 +
2 +
2 +
1 +
1 +
1 +
1 +
1 +
2 +
2 +
2 +
2 +
2 +
1 +
1 +
1 +
1 +
1 +
2 +
2 +
2 +
1 +
1 +
1 +
2 +
2 +
1 +
1 +
1 +
2 +
2 +
2 +
1 +
1 +
2 +
1 +
1 +
2 +
2 +
2 +
2 +
...

result:

wrong answer The interactor wins!