QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#376446#7863. Parity Gameucup-team241#WA 10ms4160kbC++234.9kb2024-04-04 10:05:572024-04-04 10:05:58

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 3816kb

input:

4 1
0 1 0 1
1 *
1

output:

Alice
1 +
1 +

result:

ok The player wins!

Test #2:

score: 0
Accepted
time: 7ms
memory: 4160kb

input:

4 0
1 0 1 0
1 +
1

output:

Alice
1 *
1 *

result:

ok The player wins!

Test #3:

score: 0
Accepted
time: 9ms
memory: 3928kb

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: 7ms
memory: 3900kb

input:

3 0
1 1 1
1 +
1

output:

Bob
1 +

result:

ok The player wins!

Test #5:

score: 0
Accepted
time: 8ms
memory: 3860kb

input:

3 1
1 0 1
1 *
1

output:

Bob
1 *

result:

ok The player wins!

Test #6:

score: 0
Accepted
time: 7ms
memory: 3908kb

input:

3 0
1 0 1
1 *
1

output:

Bob
1 +

result:

ok The player wins!

Test #7:

score: 0
Accepted
time: 3ms
memory: 3904kb

input:

2 1
0 1
1

output:

Alice
1 +

result:

ok The player wins!

Test #8:

score: -100
Wrong Answer
time: 10ms
memory: 4016kb

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 +
1 +
3 +
7 +
9 +
9 +
11 +
11 +
13 +
17 +
17 +
17 +
17 +
19 +
19 +
21 +
21 +
23 +
23 +
23 +
25 +
25 +
25 +
25 +
27 +
27 +
27 +
29 +
29 +
31 +
33 +
35 +
37 +
37 +
45 +
45 +
45 +
45 +
45 +
49 +
51 +
51 +
51 +
55 +
55 +
55 +
57 +
57 +
59 +
63 +
65 +
67 +
67 +
69 +
71 +
73 +
73 +
75 +
...

result:

wrong answer The interactor wins!