QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#604333 | #222. Poddrzewo [A] | 114514114514 | 6 | 185ms | 7624kb | C++20 | 331b | 2024-10-02 09:48:18 | 2024-10-02 09:48:20 |
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
Subtask #1:
score: 1
Accepted
Test #1:
score: 1
Accepted
time: 7ms
memory: 7604kb
input:
2 1 1
output:
0 2 1 2
result:
ok good solution
Test #2:
score: 1
Accepted
time: 3ms
memory: 7604kb
input:
3 1 1 2
output:
0 2 1 2
result:
ok good solution
Subtask #2:
score: 1
Accepted
Test #3:
score: 1
Accepted
time: 7ms
memory: 7556kb
input:
6 2 2 2 1 1 2
output:
0 2 1 2
result:
ok good solution
Test #4:
score: 1
Accepted
time: 3ms
memory: 7544kb
input:
6 1 1 1 2 2 3
output:
0 2 1 2
result:
ok good solution
Test #5:
score: 1
Accepted
time: 3ms
memory: 7528kb
input:
6 2 1 2 3 1 1
output:
0 2 1 2
result:
ok good solution
Test #6:
score: 1
Accepted
time: 3ms
memory: 7556kb
input:
6 1 1 3 2 2 1
output:
0 2 1 2
result:
ok good solution
Test #7:
score: 1
Accepted
time: 3ms
memory: 7492kb
input:
6 2 2 1 3 1 1
output:
0 2 1 2
result:
ok good solution
Test #8:
score: 1
Accepted
time: 7ms
memory: 7560kb
input:
6 1 1 3 1 2 2
output:
0 2 1 2
result:
ok good solution
Subtask #3:
score: 1
Accepted
Test #9:
score: 1
Accepted
time: 7ms
memory: 7476kb
input:
1000 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2...
output:
0 2 1 2
result:
ok good solution
Test #10:
score: 1
Accepted
time: 7ms
memory: 7488kb
input:
989 2 1 3 2 1 1 1 2 2 1 3 2 2 3 2 3 2 3 2 2 2 2 2 1 2 3 3 2 3 1 2 2 2 1 3 2 2 3 3 2 2 1 2 1 2 2 2 2 1 3 2 1 3 2 2 2 1 2 3 1 3 2 2 3 1 3 2 3 2 2 2 1 3 1 2 3 3 2 3 3 2 3 1 1 2 1 2 3 3 2 2 2 3 2 2 1 1 2 2 2 2 2 2 1 2 3 3 2 1 3 2 2 2 2 3 2 2 2 1 2 1 3 3 3 2 1 2 2 2 2 1 3 2 2 3 2 2 3 2 3 3 1 3 2 2 3 2 2 ...
output:
0 2 1 2
result:
ok good solution
Test #11:
score: 1
Accepted
time: 7ms
memory: 7480kb
input:
997 1 3 1 3 3 2 2 2 1 1 1 2 3 3 1 2 1 2 2 1 2 3 2 3 2 1 3 2 1 2 1 2 2 1 1 2 1 3 1 1 2 3 1 2 2 2 3 1 1 2 2 1 2 2 2 2 2 1 3 3 1 3 2 1 2 2 2 2 2 1 1 2 2 3 3 2 3 1 2 1 3 1 3 3 3 1 2 2 3 2 2 1 3 3 3 1 1 3 2 3 2 3 2 2 1 1 2 2 1 1 2 1 2 3 2 2 1 2 1 2 1 2 2 2 3 2 3 3 2 2 2 3 2 1 3 2 3 2 2 1 2 2 3 3 3 2 2 2 ...
output:
0 2 1 2
result:
ok good solution
Test #12:
score: 1
Accepted
time: 3ms
memory: 7536kb
input:
874 1 1 2 3 2 3 2 1 1 1 2 2 2 1 1 1 1 2 1 1 4 2 2 2 2 2 1 3 2 2 2 3 2 1 1 1 1 2 1 1 3 2 1 2 2 3 2 1 3 2 2 2 3 1 2 3 2 2 1 3 2 2 1 2 1 2 2 3 3 3 2 3 1 3 2 2 3 1 3 3 1 2 2 3 2 2 3 1 2 2 2 1 2 1 3 2 2 3 1 2 1 3 1 1 3 2 3 2 2 2 2 3 3 2 3 3 2 1 2 1 3 2 3 1 1 2 1 3 1 2 2 3 1 3 2 2 1 3 4 2 1 2 3 2 2 2 2 1 ...
output:
0 2 1 2
result:
ok good solution
Test #13:
score: 1
Accepted
time: 7ms
memory: 7484kb
input:
999 3 3 1 2 3 3 3 3 1 3 2 2 4 1 1 2 1 4 1 2 2 1 2 2 1 1 1 3 1 2 1 1 2 2 1 2 1 2 1 1 2 1 3 1 2 2 1 1 1 1 1 3 4 2 1 2 3 3 1 3 3 5 4 1 2 2 1 2 2 2 3 2 1 2 1 3 1 2 2 2 1 1 2 1 2 2 1 4 1 1 1 1 1 3 2 1 3 1 3 4 1 4 2 3 1 1 4 1 1 3 2 2 2 1 2 3 1 5 1 2 5 4 1 3 2 2 2 1 2 1 4 1 2 2 3 1 1 2 1 4 2 3 3 3 1 1 2 1 ...
output:
0 2 1 2
result:
ok good solution
Test #14:
score: 1
Accepted
time: 3ms
memory: 7544kb
input:
987 1 1 1 3 3 3 3 2 2 2 1 1 1 1 3 3 2 4 2 1 3 3 2 2 2 2 2 3 3 2 3 1 4 4 3 2 4 1 1 1 2 2 3 2 2 3 2 2 2 3 2 1 4 4 3 2 2 2 2 3 1 2 3 3 2 1 1 1 2 2 3 1 3 2 2 1 1 2 2 2 1 2 3 2 2 2 2 4 3 1 2 2 4 2 5 2 2 4 1 2 3 3 2 2 1 2 2 1 1 1 3 2 2 2 1 2 1 1 2 2 1 2 3 2 3 2 2 2 3 2 2 1 1 2 2 3 2 1 2 1 3 1 1 2 2 2 1 3 ...
output:
0 2 1 2
result:
ok good solution
Test #15:
score: 1
Accepted
time: 7ms
memory: 7612kb
input:
1000 1 1 1 1 1 1 3 1 1 1 1 1 1 1 2 1 3 4 1 2 2 1 1 1 2 1 2 1 1 2 3 1 2 1 1 1 3 1 1 1 2 2 1 1 1 5 1 2 1 1 1 1 1 3 1 1 6 1 1 2 2 1 5 2 5 1 1 1 2 2 2 2 5 2 1 1 1 3 1 2 1 1 4 4 4 1 1 3 1 1 1 1 3 7 2 2 3 1 1 3 8 2 1 1 1 2 2 1 3 2 6 3 1 1 1 6 1 2 1 1 3 1 2 1 3 1 2 3 2 6 1 1 1 1 3 3 3 3 1 1 2 2 1 4 4 2 1 2...
output:
0 2 1 2
result:
ok good solution
Test #16:
score: 1
Accepted
time: 3ms
memory: 7604kb
input:
1000 1 7 2 2 2 1 1 3 1 1 4 2 6 6 5 4 2 2 1 3 3 6 2 1 1 3 2 2 3 2 1 1 4 4 1 1 4 1 3 1 1 2 4 1 1 3 4 2 1 1 1 1 4 1 2 2 3 1 2 8 5 2 8 1 1 5 1 5 1 1 1 1 5 1 1 1 2 1 1 1 1 1 1 1 2 1 1 2 1 5 3 4 1 2 1 1 2 1 1 4 1 2 2 1 1 2 2 1 2 4 2 2 3 1 6 2 2 3 1 2 4 2 5 1 3 1 2 1 10 1 6 4 1 1 1 2 1 2 2 1 4 1 2 3 3 2 1 ...
output:
0 2 1 2
result:
ok good solution
Test #17:
score: 1
Accepted
time: 7ms
memory: 7540kb
input:
993 4 2 4 2 2 1 2 2 1 7 1 2 2 1 1 5 1 1 1 1 1 7 1 2 1 1 1 2 3 1 1 2 1 1 5 1 1 1 1 5 3 1 6 5 5 3 3 1 1 2 1 2 2 1 1 2 1 1 4 1 5 1 1 1 1 1 2 2 2 1 1 1 1 1 2 4 1 2 1 2 1 3 4 3 2 3 3 1 5 1 1 3 4 2 1 2 2 4 1 3 3 1 2 2 1 1 1 3 1 1 1 1 1 1 2 2 1 1 1 2 2 3 5 3 5 1 1 7 1 1 2 3 2 3 1 2 9 1 1 1 2 2 4 1 2 2 6 1 ...
output:
0 2 1 2
result:
ok good solution
Subtask #4:
score: 1
Accepted
Test #18:
score: 1
Accepted
time: 27ms
memory: 7552kb
input:
297000 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2...
output:
0 2 1 2
result:
ok good solution
Test #19:
score: 1
Accepted
time: 23ms
memory: 7624kb
input:
245784 1 2 2 3 2 2 3 2 3 2 2 2 3 2 3 3 2 3 1 2 2 2 1 3 2 2 2 3 2 2 2 3 2 1 2 2 2 2 2 2 2 2 3 2 2 1 2 2 1 1 1 2 2 2 2 1 1 1 1 2 3 3 2 2 1 2 2 1 1 3 2 2 2 1 2 2 1 2 2 3 3 2 2 2 3 3 2 1 2 3 2 1 1 3 1 1 2 1 1 2 3 2 2 1 2 2 2 2 1 2 1 1 3 2 2 1 3 2 3 1 1 2 1 3 1 2 1 3 3 2 2 1 2 1 3 3 1 2 2 2 3 3 3 2 2 3 2...
output:
0 2 1 2
result:
ok good solution
Test #20:
score: 1
Accepted
time: 26ms
memory: 7544kb
input:
293472 1 2 2 3 1 1 2 1 2 2 2 3 1 2 3 3 2 2 1 3 3 1 1 1 1 2 1 3 1 2 2 1 2 3 1 1 1 1 3 2 2 2 1 2 1 2 1 1 3 1 2 2 3 2 2 2 1 2 3 3 2 1 1 2 1 3 2 2 2 3 2 2 3 1 2 1 3 3 3 2 1 2 3 2 1 2 2 2 3 3 3 3 2 3 3 2 1 1 2 2 2 2 3 3 2 3 3 2 2 2 3 1 2 1 2 2 2 3 2 3 2 2 2 2 3 1 2 2 2 3 2 3 3 2 1 3 3 2 3 2 3 2 3 1 1 3 3...
output:
0 2 1 2
result:
ok good solution
Test #21:
score: 1
Accepted
time: 27ms
memory: 7540kb
input:
300000 4 1 1 1 1 1 2 2 1 1 1 1 2 3 2 1 3 2 1 2 1 3 2 2 2 1 2 3 2 3 2 3 3 4 2 2 1 2 1 1 1 2 2 1 1 2 2 2 3 2 2 3 4 1 2 2 1 3 1 2 1 2 2 2 1 2 2 2 2 3 2 2 1 1 4 1 1 1 2 3 2 3 1 2 3 1 3 3 3 2 1 2 3 4 2 1 2 3 1 2 3 2 2 2 3 1 2 1 2 1 2 3 2 3 2 2 2 1 2 1 3 1 1 2 2 3 1 2 3 3 2 1 1 2 1 3 3 2 3 2 3 3 3 3 2 2 2...
output:
0 2 1 2
result:
ok good solution
Test #22:
score: 1
Accepted
time: 30ms
memory: 7492kb
input:
284430 4 2 1 2 2 2 2 2 2 1 2 4 2 2 1 2 2 2 2 2 2 3 1 3 1 1 3 2 1 2 2 2 3 2 2 3 1 2 3 1 3 1 3 1 1 2 1 1 1 4 3 4 1 5 1 2 2 1 1 1 2 1 2 3 3 1 1 2 3 2 2 2 3 1 2 3 2 2 1 1 2 1 2 1 2 1 3 1 1 3 1 2 3 2 4 2 1 3 3 1 1 5 2 2 1 1 1 2 2 4 3 1 3 1 5 3 4 1 2 3 2 1 2 1 2 3 1 1 2 1 1 1 3 2 4 2 1 1 3 3 2 1 1 1 4 1 5...
output:
0 2 1 2
result:
ok good solution
Test #23:
score: 1
Accepted
time: 29ms
memory: 7544kb
input:
276474 1 4 1 4 2 1 3 3 3 4 3 1 1 2 1 1 1 2 3 2 2 3 4 1 1 2 4 2 1 1 3 2 2 4 3 1 2 2 1 1 2 3 3 2 1 1 2 1 3 2 2 2 1 3 2 2 3 3 3 1 1 3 7 1 1 3 4 4 2 2 1 1 3 1 1 1 1 2 3 3 1 2 2 1 3 1 1 3 2 2 2 1 2 3 2 2 1 3 2 1 2 1 1 2 2 3 3 2 1 4 2 1 3 2 2 1 1 2 1 1 2 2 3 3 2 1 1 3 3 1 2 2 1 3 2 1 1 1 2 1 4 1 1 2 3 1 2...
output:
0 2 1 2
result:
ok good solution
Test #24:
score: 1
Accepted
time: 31ms
memory: 7612kb
input:
300000 7 4 2 3 1 2 1 1 1 2 1 2 4 3 2 2 1 1 1 2 1 1 4 1 2 1 3 3 1 1 2 1 4 1 1 6 1 3 3 2 2 1 2 5 1 4 3 2 1 8 1 2 1 2 1 1 1 1 2 5 1 1 2 1 1 4 1 1 1 8 2 6 3 2 1 1 2 1 1 1 2 1 1 1 2 3 2 1 1 1 3 1 1 5 9 3 1 1 2 1 3 2 5 1 3 6 2 1 1 2 1 3 4 2 2 1 1 2 1 1 1 1 1 2 1 1 1 1 2 5 1 1 1 7 2 1 2 1 1 1 4 3 2 3 3 2 3...
output:
0 2 1 2
result:
ok good solution
Test #25:
score: 1
Accepted
time: 23ms
memory: 7548kb
input:
300000 1 1 1 2 3 1 1 1 2 1 1 1 2 3 1 1 2 1 1 1 1 1 3 2 1 1 3 1 1 1 1 2 3 1 2 1 3 2 1 1 1 1 3 2 2 3 2 2 1 3 3 6 1 1 6 1 1 4 2 1 3 2 1 2 4 2 1 1 1 2 2 1 1 2 2 1 1 1 1 1 2 2 2 3 3 1 3 1 1 2 6 2 2 1 4 2 1 1 2 1 2 2 6 4 1 1 1 4 1 1 2 3 1 2 2 1 1 1 1 1 2 1 4 1 8 3 5 2 2 1 5 1 1 4 4 1 2 1 2 1 1 2 6 1 2 4 1...
output:
0 2 1 2
result:
ok good solution
Subtask #5:
score: 1
Accepted
Test #26:
score: 1
Accepted
time: 83ms
memory: 7608kb
input:
970000 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2...
output:
0 2 1 2
result:
ok good solution
Test #27:
score: 1
Accepted
time: 75ms
memory: 7544kb
input:
919280 1 2 1 2 2 3 3 2 3 2 1 2 2 3 2 2 3 2 3 2 1 3 1 1 3 1 2 3 2 2 3 3 2 3 1 2 1 3 2 1 2 2 3 2 3 2 3 3 1 2 1 2 3 2 3 2 3 2 3 3 1 2 2 2 1 1 1 2 3 2 1 2 2 3 1 2 1 2 1 1 2 3 2 2 2 2 2 2 3 3 3 1 3 1 2 2 2 2 2 1 3 3 3 3 3 2 3 3 1 2 1 2 3 1 3 1 2 1 1 2 2 1 3 1 3 1 3 2 1 3 2 3 3 3 1 2 2 3 2 2 2 1 2 2 3 1 3...
output:
0 2 1 2
result:
ok good solution
Test #28:
score: 1
Accepted
time: 80ms
memory: 7544kb
input:
978240 2 2 1 1 2 2 3 2 2 3 2 2 2 1 2 1 1 1 2 2 2 1 3 2 3 1 2 2 1 2 3 1 2 2 2 2 1 2 2 1 2 2 2 1 3 1 2 1 3 2 2 2 2 2 1 1 2 1 3 2 3 2 2 2 3 2 3 2 1 3 2 2 3 2 3 3 3 1 1 2 2 2 2 1 1 1 2 1 2 2 2 1 1 2 3 2 3 3 2 2 3 1 2 2 1 2 2 3 3 2 2 2 1 1 2 3 2 1 1 3 1 3 2 2 2 1 2 3 1 2 2 3 2 1 1 1 1 2 2 2 3 1 2 3 1 1 1...
output:
0 2 1 2
result:
ok good solution
Test #29:
score: 1
Accepted
time: 85ms
memory: 7540kb
input:
1000000 1 1 2 2 1 2 2 2 2 2 3 2 2 1 1 2 2 2 2 1 1 2 2 1 3 3 3 3 4 2 3 1 2 2 2 1 2 1 1 2 3 2 2 2 2 2 3 3 1 3 2 1 3 3 2 4 1 3 2 1 1 3 2 2 2 3 4 1 1 2 4 3 1 3 2 1 2 2 3 3 1 1 2 2 1 1 2 3 2 3 3 3 3 2 3 2 3 2 3 2 3 3 2 2 2 1 2 4 2 2 2 3 2 1 2 2 1 1 1 1 3 3 2 3 2 3 1 3 2 3 1 3 2 2 3 1 1 2 3 1 3 1 1 1 2 1 ...
output:
0 2 1 2
result:
ok good solution
Test #30:
score: 1
Accepted
time: 76ms
memory: 7492kb
input:
938100 2 1 2 3 4 1 2 2 1 1 2 4 3 1 2 1 1 1 1 1 2 3 3 1 1 2 4 2 1 2 3 4 1 1 2 2 3 3 2 3 1 2 1 2 2 2 2 2 3 1 2 3 4 3 3 2 2 3 4 5 3 1 1 1 1 2 3 2 1 3 3 2 3 2 1 2 3 2 2 1 2 3 1 1 2 2 2 2 2 1 1 1 2 4 1 5 1 2 2 2 2 1 2 1 3 3 1 2 1 3 4 2 2 2 2 2 3 1 3 1 3 2 2 2 3 1 1 2 3 1 1 4 1 2 2 2 1 5 3 3 2 2 2 3 4 2 2...
output:
0 2 1 2
result:
ok good solution
Test #31:
score: 1
Accepted
time: 74ms
memory: 7528kb
input:
911580 2 2 2 2 4 4 1 1 2 1 4 1 2 2 2 1 1 3 4 2 2 2 5 4 5 3 2 1 1 3 2 2 2 1 2 1 1 2 1 3 1 2 2 3 3 2 2 1 1 3 1 1 1 1 2 3 3 1 3 1 1 3 3 2 3 3 3 3 2 3 1 2 3 6 1 3 2 2 2 1 3 1 3 3 1 2 1 3 2 1 4 2 2 1 1 3 1 1 2 3 1 1 2 3 2 2 4 2 1 2 2 2 2 1 2 1 2 1 1 2 1 3 1 2 3 3 2 3 2 1 2 1 3 5 2 1 2 1 3 2 1 1 1 2 1 1 2...
output:
0 2 1 2
result:
ok good solution
Test #32:
score: 1
Accepted
time: 81ms
memory: 7544kb
input:
1000000 1 1 2 1 1 1 2 1 2 2 1 8 2 2 1 1 1 1 1 2 2 1 1 1 1 1 2 2 3 1 2 1 3 3 9 1 4 1 3 1 1 1 2 1 1 1 2 4 1 1 2 1 5 1 1 2 1 3 2 3 1 1 1 1 1 1 4 1 1 1 3 1 2 4 1 3 1 1 1 4 2 2 1 1 2 1 2 5 1 7 2 1 1 1 1 1 1 8 1 2 2 1 1 3 1 3 1 2 2 2 1 3 1 2 4 4 2 1 1 1 2 1 2 1 2 1 4 2 1 3 2 1 1 1 1 1 1 1 1 1 1 1 3 1 1 2 ...
output:
0 2 1 2
result:
ok good solution
Test #33:
score: 1
Accepted
time: 85ms
memory: 7616kb
input:
1000000 1 1 3 1 2 1 1 1 2 2 2 2 2 2 1 1 1 2 1 1 1 1 5 4 1 1 1 1 2 2 2 1 4 1 1 1 4 2 1 1 2 1 5 1 1 3 1 2 1 2 3 2 1 2 2 4 2 2 1 1 2 2 1 1 1 1 1 6 1 2 8 2 1 1 2 2 1 1 2 2 3 1 1 1 4 2 1 1 1 1 6 1 1 2 1 1 5 1 1 1 5 1 1 1 2 1 3 1 3 5 1 1 3 3 3 2 1 4 1 1 1 1 3 3 1 2 2 2 2 2 5 1 1 1 1 1 1 2 3 1 4 2 7 1 1 4 ...
output:
0 2 1 2
result:
ok good solution
Subtask #6:
score: 1
Accepted
Test #34:
score: 1
Accepted
time: 10ms
memory: 7460kb
input:
6 5 3 3 4 5 2
output:
2 2 1 2
result:
ok good solution
Test #35:
score: 1
Accepted
time: 2ms
memory: 7552kb
input:
6 4 5 5 2 5 4
output:
2 2 1 2
result:
ok good solution
Test #36:
score: 1
Accepted
time: 7ms
memory: 7492kb
input:
6 2 4 1 4 4 2
output:
1 2 1 2
result:
ok good solution
Test #37:
score: 1
Accepted
time: 4ms
memory: 7608kb
input:
6 1 2 4 5 2 4
output:
1 2 1 2
result:
ok good solution
Test #38:
score: 1
Accepted
time: 3ms
memory: 7540kb
input:
6 3 2 4 4 1 1
output:
0 2 1 2
result:
ok good solution
Test #39:
score: 1
Accepted
time: 3ms
memory: 7548kb
input:
6 3 1 1 1 1 1
output:
0 2 1 2
result:
ok good solution
Test #40:
score: 1
Accepted
time: 7ms
memory: 7544kb
input:
6 1 1 1 1 1 1
output:
0 2 1 2
result:
ok good solution
Subtask #7:
score: 0
Wrong Answer
Test #41:
score: 1
Accepted
time: 4ms
memory: 7528kb
input:
3 1 2 1
output:
0 2 1 2
result:
ok good solution
Test #42:
score: 1
Accepted
time: 7ms
memory: 7488kb
input:
3 1 1 1
output:
0 2 1 2
result:
ok good solution
Test #43:
score: 0
Wrong Answer
time: 8ms
memory: 7540kb
input:
948 669 120 160 145 510 313 359 94 718 795 127 940 457 310 367 817 937 275 661 247 125 335 529 606 106 853 615 694 635 239 945 190 55 663 104 199 96 341 450 625 201 379 327 585 557 747 743 821 411 214 394 162 221 302 332 410 69 295 650 372 629 749 844 182 192 819 612 775 239 49 776 279 685 114 224 2...
output:
0 2 1 2
result:
wrong answer Read x = 0 but expected x = 2
Subtask #8:
score: 0
Wrong Answer
Test #50:
score: 0
Wrong Answer
time: 185ms
memory: 7624kb
input:
1000000 444984 954524 29814 106831 613809 658368 214083 137881 396161 604451 522063 353518 189856 918313 586494 61263 40492 1626 341905 418550 244738 269576 654537 294182 237133 986063 595207 489159 176715 890087 701956 661153 3005 438438 241405 545006 569239 214939 33721 243157 613975 366472 320842...
output:
0 2 1 2
result:
wrong answer Read x = 0 but expected x = 1
Subtask #9:
score: 0
Wrong Answer
Test #57:
score: 0
Wrong Answer
time: 184ms
memory: 7480kb
input:
1000000 123570 738435 882132 480671 482803 318356 806924 589849 364060 707311 516301 143541 110066 895541 694271 125652 460039 223394 89110 347519 304794 8340 818028 709656 852921 866254 821811 903862 700227 663840 894345 613855 761499 137228 23495 344595 514268 826835 637257 160367 586854 439094 31...
output:
0 2 1 2
result:
wrong answer Read x = 0 but expected x = 2
Subtask #10:
score: 0
Wrong Answer
Test #64:
score: 0
Wrong Answer
time: 182ms
memory: 7528kb
input:
970000 261624 772127 537087 68467 733436 920801 502376 729701 106971 139501 964123 865449 510354 693085 218184 270614 10102 660633 393884 174109 170476 215163 274592 348268 132215 708992 685907 887893 45318 325711 828961 475995 962683 69565 868795 118403 256710 37511 909385 329214 741204 952161 7843...
output:
0 2 1 2
result:
wrong answer Read x = 0 but expected x = 1