QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#290000#7863. Parity Gameucup-team216WA 1ms3552kbC++204.7kb2023-12-24 07:18:462023-12-24 07:18:46

詳細信息

Test #1:

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

input:

4 1
0 1 0 1
1 *
1

output:

Alice
1 +
1 +

result:

ok The player wins!

Test #2:

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

input:

4 0
1 0 1 0
1 +
1

output:

Alice
1 *
1 *
1 +

result:

ok The player wins!

Test #3:

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

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

input:

3 0
1 1 1
1 +
1

output:

Bob
1 +

result:

ok The player wins!

Test #5:

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

input:

3 1
1 0 1
1 *
1

output:

Bob
1 *

result:

ok The player wins!

Test #6:

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

input:

3 0
1 0 1
1 *
1

output:

Bob
1 +

result:

ok The player wins!

Test #7:

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

input:

2 1
0 1
1

output:

Alice
1 +

result:

ok The player wins!

Test #8:

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

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:

Alice
2 +
3 +
4 +
7 +
10 +
15 +
18 +
19 +
22 +
23 +
26 +
31 +
32 +
33 +
34 +
37 +
38 +
41 +
42 +
45 +
46 +
47 +
50 +
51 +
52 +
53 +
56 +
57 +
58 +
61 +
62 +
65 +
68 +
71 +
74 +
75 +
84 +
85 +
86 +
87 +
88 +
93 +
96 +
97 +
98 +
103 +
104 +
105 +
108 +
109 +
112 +
117 +
120 +
123 +
124 +
127 +
130 +
1...

result:

wrong answer invalid operation