QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#323409 | #7863. Parity Game | Lessgoo | AC ✓ | 11ms | 3976kb | C++14 | 2.2kb | 2024-02-09 17:27:09 | 2024-02-09 17:27:10 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3964kb
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: 3968kb
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: 3848kb
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: 3972kb
input:
3 0 1 1 1 1 + 1
output:
Bob 1 +
result:
ok The player wins!
Test #5:
score: 0
Accepted
time: 0ms
memory: 3792kb
input:
3 1 1 0 1 1 * 1
output:
Bob 1 *
result:
ok The player wins!
Test #6:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
3 0 1 0 1 1 * 1
output:
Bob 1 +
result:
ok The player wins!
Test #7:
score: 0
Accepted
time: 1ms
memory: 3844kb
input:
2 1 0 1 1
output:
Alice 1 +
result:
ok The player wins!
Test #8:
score: 0
Accepted
time: 2ms
memory: 3788kb
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 1 * 7 * 1 * 1 * 1 * 3 * 1 * 3 * 3 * 1 * 3 * 1 * 5 * 1 * 1 * 5 * 1 * 1 * 3 * 3 * 1 * 9 * 1 * 1 * 1 * 1 * 5 * 1 * 1 * 5 * 1 * 1 * 7 * 1 * 1 * 1 * 9 * 1 * 1 * 1 * 1 * 7 * 1 * 1 * 1 * 5 * 1 * 1 * 3 * 1 * 3 * 1 * 3 * 1 * 5 * 5 * 5 * 5 * 1 * 1 * 11 * 11 * 1 * 1 * 1 * 1 * 1 * 3 * 1 * 7 * 7 * 1 * 1 * ...
result:
ok The player wins!
Test #9:
score: 0
Accepted
time: 4ms
memory: 3792kb
input:
499 0 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 0 1 0 1 1 1 0 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 1 1 0 1 1 1 0 1 0 1 0 1 1 1 0 1 1 1 0 1 1 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 0 1 ...
output:
Bob 1 + 2 * 2 * 2 * 4 * 6 * 6 * 8 * 10 * 12 * 12 * 14 * 14 * 18 * 18 * 18 * 18 * 18 * 20 * 22 * 24 * 24 * 24 * 26 * 26 * 30 * 32 * 34 * 34 * 34 * 34 * 36 * 38 * 44 * 46 * 48 * 48 * 50 * 50 * 52 * 52 * 54 * 58 * 60 * 60 * 62 * 64 * 64 * 66 * 66 * 70 * 70 * 72 * 74 * 76 * 76 * 78 * 78 * 84 * 86 * 86 *...
result:
ok The player wins!
Test #10:
score: 0
Accepted
time: 2ms
memory: 3848kb
input:
500 0 0 1 1 1 0 1 1 1 1 1 0 1 1 1 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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 0 1 0 1 0 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 1 1 0 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 0 1 1 1 0 1 1 1 1 1 0 ...
output:
Alice 1 + 1 + 1 + 2 * 2 * 2 * 2 * 2 * 4 * 4 * 6 * 12 * 12 * 14 * 14 * 14 * 16 * 16 * 16 * 20 * 22 * 22 * 24 * 24 * 26 * 26 * 26 * 28 * 28 * 28 * 34 * 36 * 36 * 36 * 38 * 38 * 40 * 42 * 42 * 44 * 46 * 46 * 46 * 46 * 50 * 52 * 52 * 58 * 58 * 60 * 62 * 64 * 66 * 72 * 72 * 74 * 74 * 74 * 76 * 78 * 78 * ...
result:
ok The player wins!
Test #14:
score: 0
Accepted
time: 0ms
memory: 3808kb
input:
500 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
Alice 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 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1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 ...
result:
ok The player wins!
Test #23:
score: 0
Accepted
time: 8ms
memory: 3832kb
input:
500 1 1 1 1 0 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 0 1 0 1 1 1 0 1 1 1 1 1 1 1 0 1 1 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 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 0 1 0 1 1 1 1 1 ...
output:
Alice 499 + 1 + 2 * 2 * 4 * 4 * 4 * 4 * 6 * 6 * 6 * 12 * 14 * 14 * 14 * 16 * 16 * 16 * 18 * 20 * 22 * 24 * 24 * 26 * 26 * 26 * 28 * 28 * 28 * 28 * 36 * 36 * 36 * 38 * 38 * 40 * 40 * 42 * 44 * 44 * 46 * 48 * 48 * 48 * 50 * 54 * 54 * 60 * 60 * 62 * 62 * 66 * 66 * 72 * 72 * 74 * 74 * 76 * 78 * 80 * 80 ...
result:
ok The player wins!
Test #24:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
500 0 1 1 1 0 1 0 1 0 1 1 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 1 1 1 1 0 1 1 1 0 1 0 1 0 1 1 1 1 1 0 1 0 1 1 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 1 1 ...
output:
Alice 1 * 3 * 3 * 3 * 1 * 3 * 3 * 1 * 3 * 3 * 3 * 3 * 3 * 3 * 3 * 3 * 3 * 3 * 3 * 1 * 3 * 3 * 3 * 3 * 3 * 3 * 3 * 3 * 1 * 3 * 3 * 1 * 5 * 1 * 1 * 3 * 3 * 3 * 1 * 5 * 5 * 1 * 1 * 3 * 1 * 3 * 3 * 3 * 3 * 3 * 3 * 3 * 3 * 3 * 3 * 1 * 3 * 3 * 1 * 3 * 3 * 3 * 3 * 3 * 1 * 3 * 3 * 3 * 1 * 3 * 3 * 3 * 1 * 3 ...
result:
ok The player wins!
Test #25:
score: 0
Accepted
time: 10ms
memory: 3852kb
input:
500 1 1 0 1 0 1 1 1 0 1 1 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 1 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 1 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 1 1 0 1 1 1 0 1 1 1 ...
output:
Alice 252 * 4 * 6 * 12 * 28 * 38 * 42 * 46 * 54 * 62 * 66 * 68 * 92 * 108 * 110 * 112 * 114 * 116 * 120 * 126 * 134 * 136 * 140 * 156 * 156 * 180 * 186 * 202 * 222 * 236 * 244 * 248 * 270 * 270 * 276 * 278 * 290 * 318 * 328 * 342 * 344 * 348 * 358 * 360 * 370 * 370 * 374 * 382 * 388 * 392 * 392 * 1 ...
result:
ok The player wins!
Test #26:
score: 0
Accepted
time: 2ms
memory: 3864kb
input:
500 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 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1 1 0 1 0 1 0 1 1 1 0 1 1 1 0 1 1 1 0 1 1 1 0 1 0 1 1 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1 0 1 1 1 0 1 1 1 0 1 ...
output:
Alice 324 * 6 * 14 * 16 * 18 * 18 * 22 * 22 * 22 * 22 * 24 * 26 * 26 * 32 * 36 * 38 * 40 * 46 * 48 * 50 * 52 * 56 * 60 * 78 * 78 * 80 * 82 * 82 * 84 * 86 * 94 * 94 * 96 * 100 * 106 * 112 * 112 * 112 * 114 * 120 * 126 * 126 * 130 * 136 * 136 * 136 * 140 * 150 * 154 * 160 * 162 * 162 * 166 * 170 * 170...
result:
ok The player wins!
Test #30:
score: 0
Accepted
time: 2ms
memory: 3776kb
input:
350 0 1 1 1 0 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 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 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 1 1 0 1 1 1 0 1 1 1 1 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 ...
output:
Alice 1 * 3 * 1 * 3 * 1 * 7 * 1 * 1 * 1 * 9 * 1 * 1 * 1 * 1 * 7 * 1 * 1 * 1 * 5 * 1 * 1 * 3 * 1 * 5 * 1 * 1 * 7 * 1 * 1 * 1 * 13 * 1 * 1 * 1 * 1 * 1 * 1 * 11 * 1 * 1 * 1 * 1 * 1 * 9 * 1 * 1 * 1 * 1 * 5 * 1 * 1 * 3 * 1 * 3 * 1 * 5 * 1 * 1 * 3 * 1 * 5 * 5 * 1 * 1 * 11 * 1 * 1 * 1 * 1 * 1 * 11 * 1 * 1 ...
result:
ok The player wins!
Test #31:
score: 0
Accepted
time: 3ms
memory: 3936kb
input:
350 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 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 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
Alice 182 * 1 + 1 + 2 * 2 * 2 * 2 * 2 * 2 * 2 * 4 * 4 * 6 * 6 * 6 * 6 * 8 * 8 * 10 * 10 * 10 * 10 * 12 * 12 * 12 * 12 * 12 * 14 * 14 * 14 * 16 * 16 * 16 * 16 * 18 * 18 * 20 * 20 * 22 * 22 * 24 * 26 * 26 * 28 * 28 * 30 * 32 * 34 * 34 * 36 * 36 * 36 * 36 * 36 * 36 * 36 * 38 * 38 * 38 * 42 * 44 * 46 * ...
result:
ok The player wins!
Test #32:
score: 0
Accepted
time: 2ms
memory: 3968kb
input:
500 0 1 0 1 1 0 1 0 0 0 0 0 1 1 1 0 0 1 0 0 1 1 1 1 1 1 0 1 1 1 1 0 1 0 1 1 1 1 1 0 1 0 1 1 0 0 1 1 0 0 1 0 1 1 1 0 0 0 0 1 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 0 1 1 1 0 0 1 1 1 1 0 0 0 1 1 0 0 1 1 0 1 1 0 1 1 1 1 0 0 1 0 1 0 0 1 0 0 0 1 1 0 0 1 0 0 0 0 0 0 0 0 0 1 0 1 1 1 1 1 1 1 0 0 0 0 0 0 1 1 0 1 0 0 ...
output:
Alice 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 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1 1 1 0 1 0 1 1 1 0 ...
output:
Alice 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 ...
result:
ok The player wins!
Test #41:
score: 0
Accepted
time: 2ms
memory: 3932kb
input:
500 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 1 0 1 1 0 1 0 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 0 1 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 0 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 0 0 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 1 1 1 0 0 1 0 0 1 0 1 1 0 1 1 1 1 ...
output:
Bob 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * ...
result:
ok The player wins!
Test #42:
score: 0
Accepted
time: 0ms
memory: 3920kb
input:
39 0 1 0 1 1 1 0 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 0 1 0 1 1 1 0 1 1 1 0 1 3 + 5 + 5 + 7 + 9 + 9 + 9 + 11 + 15 + 17 + 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1
output:
Bob 2 * 4 * 4 * 6 * 8 * 8 * 8 * 10 * 14 * 16 * 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 +
result:
ok The player wins!
Test #43:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
9 0 1 0 1 1 1 1 1 1 1 3 + 3 + 3 + 1 * 1
output:
Bob 2 * 2 * 2 * 1 +
result:
ok The player wins!
Extra Test:
score: 0
Extra Test Passed