QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#76466 | #5305. Oscar is All You Need | LH | AC ✓ | 8ms | 3456kb | C++23 | 4.9kb | 2023-02-10 02:58:06 | 2023-02-10 02:58:07 |
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: 2ms
memory: 3288kb
input:
2 3 1 3 2 5 4 1 2 3 5
output:
0 4 2 1 3 1 1 1 3 1
result:
ok OK in maximum 4 operations
Test #2:
score: 0
Accepted
time: 4ms
memory: 3212kb
input:
120 3 1 3 2 3 3 2 1 3 2 3 1 5 1 2 3 4 5 12 11 9 2 8 3 10 6 1 4 7 5 12 36 24 9 7 3 31 15 13 1 4 33 11 29 16 23 2 25 35 21 32 14 6 18 17 26 28 8 27 22 20 36 10 19 34 12 30 5 4 4 2 3 1 5 3 5 2 1 4 4 1 2 4 3 10 5 7 4 9 6 8 1 3 10 2 5 3 1 5 2 4 5 3 5 1 2 4 3 3 1 2 13 3 1 2 11 12 13 8 6 5 4 10 9 7 16 12 8...
output:
0 1 1 1 1 1 1 4 1 1 3 1 1 1 3 1 22 2 1 10 1 1 1 9 2 1 2 3 7 2 1 2 9 1 1 6 5 2 3 5 6 2 2 3 8 2 1 7 2 2 2 2 6 4 6 4 4 4 6 2 6 66 1 1 8 27 1 2 25 10 1 1 9 26 2 1 11 24 1 1 21 14 2 1 8 27 1 1 12 23 1 1 32 3 1 1 25 10 1 1 9 26 3 1 33 1 1 2 11 24 2 1 26 7 1 3 27 7 2 1 21 14 2 4 10 24 2 2 34 1 4 2 32 3 3 1...
result:
ok OK in maximum 1 operations
Test #3:
score: 0
Accepted
time: 0ms
memory: 3360kb
input:
120 8 1 4 5 2 6 7 3 8 15 3 8 13 15 6 9 4 11 5 2 10 14 12 7 1 3 2 3 1 8 5 8 3 4 2 1 6 7 4 2 4 3 1 8 2 5 7 4 1 8 6 3 5 3 4 2 1 5 5 1 4 5 3 2 21 8 16 7 18 15 20 17 19 9 11 14 2 3 21 6 10 13 4 12 5 1 8 7 1 8 4 5 3 6 2 3 3 1 2 3 3 2 1 6 4 1 6 3 2 5 7 6 7 5 4 3 2 1 21 4 6 9 10 18 3 19 2 16 13 5 12 21 15 1...
output:
11 1 1 5 2 1 1 5 2 1 1 1 6 2 2 5 2 2 3 1 2 4 1 23 1 2 5 9 1 1 6 8 1 1 7 7 2 1 5 9 2 1 4 10 1 2 8 6 4 1 11 2 2 1 4 10 4 3 11 3 3 2 10 3 3 2 6 5 2 4 1 1 1 9 1 1 6 1 1 2 1 6 2 3 5 2 2 1 3 3 1 5 4 1 2 1 1 1 2 1 2 13 2 1 6 1 3 1 5 2 2 1 3 4 2 2 6 1 1 4 2 4 3 2 2 5 2 3 7 1 1 1 3 1 3 1 1 1 2 1 3 2 1 5 2 1 ...
result:
ok OK in maximum 0 operations
Test #4:
score: 0
Accepted
time: 2ms
memory: 3228kb
input:
6 3 1 3 2 3 3 1 2 3 1 2 3 3 2 3 1 3 2 1 3 3 3 2 1
output:
0 1 1 1 0 1 1 1 0 1 1 1
result:
ok OK in maximum 1 operations
Test #5:
score: 0
Accepted
time: 1ms
memory: 3396kb
input:
24 4 1 2 4 3 4 3 2 4 1 4 4 1 3 2 4 3 1 2 4 4 2 3 4 1 4 3 2 1 4 4 2 4 1 3 4 3 4 1 2 4 4 2 1 3 4 2 1 4 3 4 4 3 2 1 4 2 3 1 4 4 1 2 3 4 4 1 3 2 4 4 3 1 4 2 4 4 1 2 3 4 4 3 1 2 4 1 4 3 2 4 3 4 2 1 4 1 4 2 3 4 4 2 3 1 4 1 3 4 2 4 2 1 3 4 4 2 4 3 1
output:
5 1 1 1 2 1 2 1 1 1 2 4 1 2 1 2 1 1 1 2 4 2 1 1 1 1 2 1 1 2 2 1 1 1 3 1 1 1 2 1 1 3 1 2 1 1 2 1 3 1 2 1 2 1 1 4 1 1 1 2 1 2 1 1 4 2 1 1 1 1 2 1 2 2 1 2 1 2 6 1 1 1 2 1 2 1 1 1 2 1 2 2 1 1 1 2 0 5 1 2 1 2 1 1 1 2 1 2 3 1 1 1 2 1 2 3 1 2 1 1 1 2 1 1 2 3 2 1 1 1 1 2 1 2 1 2 1 1 2 1 1 1 1 2 1 2 1 1 5 1 ...
result:
ok OK in maximum 4 operations
Test #6:
score: 0
Accepted
time: 0ms
memory: 3380kb
input:
120 5 5 2 4 3 1 5 2 4 5 1 3 5 3 2 5 4 1 5 5 1 3 2 4 5 4 5 2 3 1 5 2 4 3 1 5 5 3 1 5 2 4 5 1 4 2 5 3 5 2 5 1 4 3 5 4 1 2 5 3 5 3 1 2 4 5 5 1 3 5 2 4 5 5 4 2 3 1 5 2 3 5 1 4 5 5 4 3 2 1 5 2 1 4 3 5 5 3 5 2 4 1 5 1 5 4 2 3 5 3 1 4 5 2 5 4 2 3 1 5 5 3 4 1 2 5 5 4 5 1 2 3 5 2 4 5 3 1 5 4 5 1 3 2 5 2 3 1 ...
output:
3 1 2 2 2 2 1 6 2 1 3 1 1 2 1 3 2 1 1 3 4 2 2 3 1 1 1 1 2 6 1 1 2 2 1 3 2 1 1 3 1 2 5 1 2 3 1 1 2 1 1 2 1 4 1 1 1 3 2 2 2 1 4 2 1 3 1 1 2 1 1 5 1 1 2 2 1 3 2 1 1 3 6 2 1 3 1 3 1 1 2 2 2 1 3 8 1 1 2 2 1 1 1 3 2 2 1 2 2 2 1 3 6 1 1 3 1 1 1 1 2 1 3 2 1 6 1 1 1 3 2 2 2 1 1 3 1 2 6 1 2 3 1 3 1 1 2 2 2 1 ...
result:
ok OK in maximum 2 operations
Test #7:
score: 0
Accepted
time: 0ms
memory: 3216kb
input:
120 5 3 4 1 5 2 3 2 3 1 7 3 6 5 1 2 7 4 5 1 4 3 2 5 3 3 2 1 6 3 6 2 1 4 5 7 1 7 3 4 2 5 6 7 6 4 7 3 5 1 2 6 6 1 4 5 3 2 4 3 4 1 2 5 4 2 1 5 3 6 3 2 5 1 4 6 5 5 4 1 2 3 4 1 2 4 3 3 2 1 3 3 1 2 3 5 2 3 5 4 1 3 2 3 1 3 2 1 3 6 5 2 4 6 1 3 7 3 4 7 6 2 5 1 5 4 5 2 3 1 6 6 4 5 2 1 3 5 5 1 4 3 2 3 3 2 1 3 ...
output:
6 1 1 2 2 2 1 1 1 1 2 1 3 1 1 1 8 2 1 5 1 3 1 4 2 2 1 4 2 2 3 2 4 5 1 1 1 3 1 3 1 1 3 1 1 1 1 5 1 1 4 1 1 2 1 4 3 2 9 1 1 5 1 3 1 4 2 2 1 4 2 2 3 2 2 3 2 7 1 1 5 1 1 1 3 3 1 4 4 2 2 2 7 1 1 1 4 1 3 3 2 1 2 2 3 2 2 4 1 1 1 2 1 2 1 1 5 1 1 1 3 2 2 2 1 1 3 6 1 1 2 3 2 1 4 1 3 2 2 2 3 1 1 3 1 1 1 5 1 1 ...
result:
ok OK in maximum 6 operations
Test #8:
score: 0
Accepted
time: 5ms
memory: 3248kb
input:
120 3 1 3 2 5 3 2 4 1 5 3 3 2 1 5 3 4 1 5 2 5 1 3 2 5 4 3 2 3 1 3 2 3 1 4 3 4 1 2 6 1 3 2 4 6 5 5 2 5 1 3 4 3 2 1 3 4 4 3 1 2 5 5 3 4 1 2 3 3 1 2 5 3 5 4 2 1 3 3 1 2 6 2 1 4 3 6 5 3 3 1 2 3 2 1 3 3 1 2 3 6 3 5 2 6 4 1 3 1 2 3 7 1 2 6 7 3 5 4 5 4 1 2 3 5 7 2 7 1 5 4 6 3 5 1 2 5 4 3 6 3 4 2 1 5 6 5 2 ...
output:
0 4 1 1 2 2 1 3 2 1 1 1 1 6 1 1 2 2 2 1 1 1 1 2 1 3 5 1 1 1 3 1 3 1 2 1 1 1 1 1 1 1 1 4 1 1 1 2 1 2 1 1 8 1 1 3 2 1 1 1 4 2 3 1 3 1 1 1 3 5 1 1 3 1 1 1 1 2 1 1 0 1 1 2 5 1 1 3 1 1 2 1 1 1 3 1 1 1 8 1 2 1 3 1 2 2 2 1 3 1 1 1 2 1 3 1 1 1 5 1 1 2 3 2 3 4 1 1 2 1 1 1 0 0 8 2 2 4 1 3 1 3 2 2 1 1 3 1 3 2 ...
result:
ok OK in maximum 2 operations
Test #9:
score: 0
Accepted
time: 4ms
memory: 3380kb
input:
120 3 3 2 1 3 2 1 3 5 3 4 2 5 1 6 1 5 3 6 2 4 4 2 4 3 1 3 1 2 3 7 1 4 3 2 7 5 6 3 1 2 3 6 2 1 6 4 3 5 5 4 1 5 2 3 3 2 3 1 4 3 4 2 1 7 3 5 6 4 7 1 2 7 2 4 7 1 6 5 3 5 4 1 3 2 5 5 2 3 4 5 1 5 3 2 1 5 4 5 2 3 1 4 5 6 5 6 1 2 4 3 5 1 5 4 3 2 7 6 5 4 7 3 1 2 6 5 4 2 1 6 3 4 2 1 3 4 5 1 4 5 3 2 6 4 2 3 6 ...
output:
1 1 1 0 5 1 2 2 2 1 1 1 3 2 1 10 1 1 2 3 1 1 3 1 1 1 1 2 1 4 3 1 1 4 1 2 4 1 2 1 1 1 2 1 2 0 7 1 1 5 1 1 1 1 4 2 3 5 1 5 1 0 6 1 1 3 2 1 1 2 2 1 4 3 1 5 1 1 3 1 1 2 1 1 2 1 1 1 1 1 2 1 9 1 1 5 1 1 1 4 2 2 1 5 1 1 2 2 3 2 2 9 2 1 5 1 3 1 4 2 2 1 1 4 1 5 2 1 1 3 5 2 1 3 1 3 1 1 2 2 2 5 1 2 3 1 1 2 1 3...
result:
ok OK in maximum 11 operations
Test #10:
score: 0
Accepted
time: 4ms
memory: 3392kb
input:
120 5 4 1 2 5 3 7 3 5 1 2 7 6 4 6 4 2 1 6 5 3 6 3 6 2 5 4 1 3 1 2 3 5 4 5 1 3 2 3 2 3 1 7 5 4 1 7 2 6 3 6 5 6 2 3 1 4 5 3 1 2 4 5 7 1 4 2 6 5 7 3 6 5 3 4 1 6 2 7 1 5 6 2 4 7 3 5 2 3 1 4 5 4 2 3 1 4 7 1 3 5 7 4 2 6 5 4 2 5 3 1 5 4 1 2 3 5 4 3 4 2 1 3 2 1 3 6 3 5 2 1 6 4 6 3 5 1 6 4 2 4 3 4 2 1 4 3 4 ...
output:
8 1 1 2 2 1 1 1 3 2 2 1 2 2 2 1 3 6 2 1 5 1 3 1 4 2 2 1 1 4 8 1 1 1 4 2 2 4 1 4 1 1 3 3 2 1 3 9 2 2 4 1 1 1 1 3 1 3 3 2 1 4 1 1 1 2 0 4 1 1 2 2 1 1 1 3 1 1 1 9 1 1 4 2 2 1 5 1 1 2 4 1 1 3 1 1 3 1 6 1 1 3 2 2 1 4 1 3 1 1 2 6 1 1 3 1 1 1 1 2 1 3 2 1 9 1 1 2 4 1 1 4 1 4 2 3 3 3 2 1 5 2 1 5 1 1 3 2 1 1 ...
result:
ok OK in maximum 6 operations
Test #11:
score: 0
Accepted
time: 1ms
memory: 3292kb
input:
120 8 2 3 5 4 8 7 6 1 7 2 5 4 7 6 1 3 3 3 2 1 6 3 6 4 2 1 5 4 2 4 3 1 9 5 8 4 2 3 6 7 9 1 6 5 1 6 2 3 4 10 10 1 2 8 5 3 7 9 6 4 4 1 4 2 3 3 3 2 1 7 4 7 1 3 6 2 5 4 4 1 3 2 3 3 2 1 4 4 2 3 1 8 6 1 4 2 3 7 5 8 9 4 1 9 2 6 3 7 5 8 5 5 4 3 1 2 7 4 6 3 7 2 5 1 4 1 4 2 3 8 2 8 7 4 6 5 3 1 7 5 6 3 4 2 1 7 ...
output:
11 1 2 3 4 1 1 3 4 3 1 5 1 1 1 1 4 1 5 1 1 5 1 11 2 1 5 1 3 2 4 2 2 1 1 4 1 5 2 2 1 2 2 4 3 3 1 1 1 7 1 1 2 3 1 1 3 1 1 2 1 4 3 1 4 1 2 1 1 1 2 1 2 14 1 2 2 6 1 3 6 2 2 1 7 1 1 1 7 1 1 4 6 1 1 2 2 2 1 7 5 1 5 1 1 4 1 1 1 3 2 1 4 13 1 1 5 4 1 1 4 4 1 1 7 2 1 3 6 3 2 2 8 1 1 5 4 5 3 5 2 1 1 2 1 1 1 1 ...
result:
ok OK in maximum 9 operations
Test #12:
score: 0
Accepted
time: 5ms
memory: 3248kb
input:
120 5 2 3 5 1 4 9 4 9 7 1 2 3 8 6 5 8 4 8 2 3 1 6 7 5 6 2 5 3 6 1 4 4 4 1 2 3 3 1 2 3 3 2 1 3 9 9 7 2 6 3 4 5 1 8 3 1 3 2 8 3 1 2 7 5 4 8 6 7 2 7 1 6 4 3 5 5 1 2 3 4 5 4 3 2 1 4 8 2 1 3 8 4 7 6 5 10 7 9 8 1 5 3 4 10 6 2 10 8 10 7 5 3 9 1 4 6 2 7 1 4 3 5 7 6 2 7 5 3 2 4 1 6 7 6 1 6 2 5 3 4 5 4 3 5 1 ...
output:
5 1 1 1 3 1 3 1 1 1 2 11 2 1 7 1 1 1 1 6 1 3 5 3 1 1 7 1 1 4 4 3 1 6 10 2 1 6 1 1 1 6 1 1 2 6 1 1 2 2 4 1 5 1 1 5 1 1 2 3 1 1 3 1 1 2 3 1 2 1 1 1 2 0 0 14 1 1 1 7 1 2 2 6 1 3 4 4 1 1 3 5 4 1 1 7 2 6 4 2 2 5 1 4 0 13 1 1 4 3 1 1 3 3 1 1 1 6 1 2 6 1 1 4 3 1 1 6 3 2 1 3 9 1 1 4 2 1 1 2 3 1 1 1 5 1 2 2 ...
result:
ok OK in maximum 1 operations
Test #13:
score: 0
Accepted
time: 0ms
memory: 3268kb
input:
120 8 3 4 8 2 7 1 5 6 9 2 1 4 7 9 3 5 8 6 3 2 1 3 3 1 2 3 10 3 6 1 9 5 2 8 7 4 10 8 1 6 3 2 8 4 7 5 4 1 2 3 4 5 5 3 4 1 2 3 3 1 2 7 1 6 5 4 3 7 2 6 2 3 6 4 5 1 9 7 8 2 4 9 5 6 1 3 4 1 2 4 3 9 4 2 1 7 3 5 8 6 9 5 3 2 5 4 1 5 1 4 2 3 5 9 3 7 2 8 5 4 6 9 1 10 6 7 4 2 3 9 8 10 5 1 4 3 2 1 4 10 8 5 9 3 6...
output:
9 1 1 6 1 1 2 2 4 2 4 6 1 1 1 6 1 1 1 12 1 1 6 2 1 1 1 7 2 2 2 6 2 5 7 1 4 1 5 3 3 1 1 6 0 0 14 1 1 3 6 2 2 8 1 1 2 5 4 1 3 3 6 2 4 8 1 1 1 1 5 1 5 8 1 11 1 1 5 2 2 1 6 1 3 1 5 2 2 1 1 5 2 3 3 4 2 3 0 5 1 1 3 1 1 2 1 1 1 3 1 1 1 10 2 1 5 1 3 1 4 2 4 1 3 2 5 1 1 3 3 3 2 3 9 1 2 4 1 1 1 1 3 1 4 1 2 1 ...
result:
ok OK in maximum 0 operations
Test #14:
score: 0
Accepted
time: 3ms
memory: 3272kb
input:
120 4 4 1 3 2 8 3 8 5 2 6 4 1 7 9 6 4 3 8 2 9 1 5 7 8 4 5 3 2 6 7 8 1 10 2 1 3 8 6 5 9 4 7 10 5 4 1 2 3 5 4 2 1 3 4 6 1 5 6 2 3 4 4 1 3 4 2 8 7 1 6 2 3 5 4 8 7 3 2 5 1 7 4 6 5 1 3 2 4 5 6 5 1 3 2 4 6 8 6 5 2 7 8 1 3 4 5 1 5 3 4 2 8 8 1 5 7 4 2 3 6 7 1 2 5 3 4 7 6 7 1 7 6 3 5 4 2 3 1 3 2 4 4 1 3 2 5 ...
output:
4 2 1 1 1 1 2 1 1 11 1 1 4 3 1 1 1 6 3 3 5 2 2 1 1 5 3 3 3 1 1 5 14 2 1 7 1 3 1 6 2 2 2 5 3 3 1 6 2 2 2 2 5 3 4 4 1 1 6 2 1 9 1 2 6 1 1 1 4 3 1 3 5 1 5 1 3 4 4 2 16 1 1 6 3 2 1 8 1 1 1 1 7 1 3 6 3 2 3 8 1 1 4 8 1 1 4 3 6 5 3 3 6 4 2 1 3 1 1 1 3 1 5 1 2 1 1 1 2 1 2 1 1 9 1 1 4 1 3 1 3 2 2 2 1 2 2 3 2...
result:
ok OK in maximum 0 operations
Test #15:
score: 0
Accepted
time: 4ms
memory: 3304kb
input:
90 15 11 3 14 1 12 6 2 9 5 8 4 10 15 7 13 18 4 3 2 8 13 1 11 12 15 6 16 17 5 10 18 7 9 14 14 4 1 6 10 11 5 13 12 7 9 14 3 2 8 12 3 7 8 5 1 2 9 11 12 4 10 6 12 11 10 12 6 8 3 5 9 2 1 4 7 20 9 13 6 11 18 8 2 12 10 19 4 5 3 20 15 7 14 1 17 16 11 1 6 2 4 11 8 3 9 7 10 5 12 12 3 11 5 1 7 10 6 2 9 8 4 11 ...
output:
25 1 1 4 10 1 2 11 2 1 1 11 3 1 1 2 12 2 1 1 13 3 2 5 9 2 1 13 1 1 1 13 1 1 3 7 6 2 2 6 4 2 1 10 2 6 7 7 4 4 9 31 1 1 4 13 1 1 10 7 1 1 14 3 1 1 15 2 1 1 16 1 3 2 15 2 2 2 1 16 3 4 7 10 1 2 5 11 4 1 14 3 3 2 11 3 9 1 9 6 6 1 5 11 3 4 12 3 3 8 2 3 9 2 23 1 1 8 5 1 1 10 3 1 1 2 11 3 1 11 1 1 2 8 4 1 1...
result:
ok OK in maximum 5 operations
Test #16:
score: 0
Accepted
time: 3ms
memory: 3388kb
input:
84 17 14 13 11 4 1 8 5 7 3 9 10 6 15 16 12 2 17 16 5 10 15 2 12 6 3 11 7 8 4 9 14 16 1 13 15 15 11 3 12 6 9 10 8 2 4 14 7 5 13 1 6 4 1 2 6 5 3 18 5 4 1 3 18 6 7 16 14 17 10 13 8 11 12 15 2 9 19 15 19 8 12 3 13 11 17 2 16 14 1 7 4 18 9 6 5 10 3 1 2 3 14 3 7 13 12 5 11 4 6 2 1 8 9 14 10 19 4 9 11 13 1...
output:
27 1 1 13 3 1 1 2 14 2 1 4 12 1 1 3 13 1 1 2 14 1 1 13 3 2 1 13 2 5 1 12 3 3 1 5 10 2 1 9 5 3 3 11 4 1 2 10 5 4 8 3 9 5 8 25 1 1 4 11 1 1 9 6 1 1 4 11 1 1 8 7 1 1 11 4 1 4 5 10 1 1 8 7 4 2 12 3 3 2 7 8 2 5 8 5 3 1 11 3 3 8 11 3 3 5 24 1 2 4 10 1 1 4 10 1 1 2 12 1 1 2 11 1 1 11 1 1 1 11 3 2 1 12 2 2 ...
result:
ok OK in maximum 23 operations
Test #17:
score: 0
Accepted
time: 3ms
memory: 3280kb
input:
87 5 3 5 4 1 2 9 2 7 8 4 1 3 9 6 5 11 8 5 11 4 7 6 3 10 2 1 9 17 17 9 14 11 2 5 7 13 4 10 15 16 8 3 12 1 6 14 14 1 3 12 4 10 2 7 5 8 13 9 6 11 14 13 11 9 8 10 12 14 2 4 5 1 7 6 3 12 8 9 1 3 4 5 2 12 7 11 10 6 10 9 1 7 6 5 4 2 10 8 3 15 8 1 14 6 12 11 10 5 2 15 9 7 13 3 4 19 11 7 6 3 4 5 12 1 16 2 17...
output:
4 1 1 3 1 1 2 1 3 11 1 1 3 5 1 1 7 1 1 2 4 4 1 2 2 6 1 3 4 2 1 1 16 2 1 9 1 1 2 1 9 2 3 4 6 1 1 3 7 2 1 3 6 1 2 7 1 6 2 5 5 5 3 2 5 30 1 1 5 11 1 1 9 7 1 1 5 11 1 1 3 13 1 4 10 5 2 1 12 4 1 1 9 4 2 1 8 8 2 5 13 3 1 2 14 1 1 1 5 10 6 7 3 10 2 13 13 3 1 14 7 1 1 9 2 8 22 1 1 5 8 1 1 11 2 1 3 10 3 1 1 ...
result:
ok OK in maximum 12 operations
Test #18:
score: 0
Accepted
time: 3ms
memory: 3292kb
input:
90 9 8 9 3 6 7 5 1 2 4 10 6 9 3 7 1 2 5 8 10 4 11 8 9 1 5 7 2 3 4 6 10 11 18 11 18 2 3 7 17 16 12 1 8 9 4 5 15 13 14 6 10 7 3 5 7 6 4 1 2 13 5 2 3 10 11 4 8 13 1 9 12 7 6 12 7 1 11 12 6 4 5 10 8 3 9 2 10 4 2 8 1 5 3 10 9 7 6 20 5 17 13 14 2 12 4 18 8 20 7 10 6 15 1 16 19 11 3 9 5 2 5 4 1 3 6 6 4 3 2...
output:
14 1 1 2 6 1 1 5 3 2 1 6 2 4 1 5 2 2 1 4 4 4 3 3 2 2 5 2 2 16 1 1 2 7 1 1 4 5 1 1 2 6 1 1 6 1 1 1 5 3 1 4 4 5 1 5 5 2 1 8 3 1 14 1 1 9 1 1 1 5 5 1 2 5 5 2 1 8 2 2 1 8 2 2 2 8 2 2 2 2 6 32 1 1 10 7 1 1 12 5 1 1 16 1 3 1 15 2 2 2 8 8 1 1 6 10 6 1 12 2 2 1 9 8 3 2 9 4 1 2 2 13 6 5 5 12 1 12 6 6 1 13 13...
result:
ok OK in maximum 29 operations
Test #19:
score: 0
Accepted
time: 5ms
memory: 3344kb
input:
1 1000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
1995 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 9...
result:
ok OK in maximum 1995 operations
Test #20:
score: 0
Accepted
time: 5ms
memory: 3304kb
input:
1 1000 1000 999 998 997 996 995 994 993 992 991 990 989 988 987 986 985 984 983 982 981 980 979 978 977 976 975 974 973 972 971 970 969 968 967 966 965 964 963 962 961 960 959 958 957 956 955 954 953 952 951 950 949 948 947 946 945 944 943 942 941 940 939 938 937 936 935 934 933 932 931 930 929 928 ...
output:
1993 1 2 1 998 2 3 998 1 1 1 3 995 1 2 995 4 4 1 996 1 1 1 1 995 3 6 6 993 2 7 998 1 1 3 3 994 5 6 994 5 12 1 988 7 7 1 1 993 2 14 998 1 1 1 9 984 1 8 990 9 9 1 991 1 1 1 1 990 9 11 11 988 2 12 998 1 1 9 9 988 10 12 989 10 23 1 977 13 13 1 1 988 2 25 998 1 1 1 15 973 1 14 985 14 14 1 986 1 1 1 1 985...
result:
ok OK in maximum 1993 operations
Test #21:
score: 0
Accepted
time: 6ms
memory: 3340kb
input:
1 1000 2 1 4 3 6 5 8 7 10 9 12 11 14 13 16 15 18 17 20 19 22 21 24 23 26 25 28 27 30 29 32 31 34 33 36 35 38 37 40 39 42 41 44 43 46 45 48 47 50 49 52 51 54 53 56 55 58 57 60 59 62 61 64 63 66 65 68 67 70 69 72 71 74 73 76 75 78 77 80 79 82 81 84 83 86 85 88 87 90 89 92 91 94 93 96 95 98 97 100 99 1...
output:
1996 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 9...
result:
ok OK in maximum 1996 operations
Test #22:
score: 0
Accepted
time: 6ms
memory: 3376kb
input:
1 1000 999 1 998 2 1000 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 9...
output:
1993 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 9...
result:
ok OK in maximum 1993 operations
Test #23:
score: 0
Accepted
time: 3ms
memory: 3264kb
input:
1 999 998 1 997 2 999 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 ...
output:
1992 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 9...
result:
ok OK in maximum 1992 operations
Test #24:
score: 0
Accepted
time: 5ms
memory: 3440kb
input:
1 999 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 10...
output:
1994 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 9...
result:
ok OK in maximum 1994 operations
Test #25:
score: 0
Accepted
time: 5ms
memory: 3284kb
input:
1 999 999 998 997 996 995 994 993 992 991 990 989 988 987 986 985 984 983 982 981 980 979 978 977 976 975 974 973 972 971 970 969 968 967 966 965 964 963 962 961 960 959 958 957 956 955 954 953 952 951 950 949 948 947 946 945 944 943 942 941 940 939 938 937 936 935 934 933 932 931 930 929 928 927 92...
output:
1993 1 2 1 997 2 3 997 1 1 1 3 994 1 2 994 4 4 1 995 1 1 1 1 994 3 6 6 992 2 7 997 1 1 3 3 993 5 6 993 5 12 1 987 7 7 1 1 992 2 14 997 1 1 1 9 983 1 8 989 9 9 1 990 1 1 1 1 989 9 11 11 987 2 12 997 1 1 9 9 987 10 12 988 10 23 1 976 13 13 1 1 987 2 25 997 1 1 1 15 972 1 14 984 14 14 1 985 1 1 1 1 984...
result:
ok OK in maximum 1993 operations
Test #26:
score: 0
Accepted
time: 5ms
memory: 3344kb
input:
1 999 2 1 4 3 6 5 8 7 10 9 12 11 14 13 16 15 18 17 20 19 22 21 24 23 26 25 28 27 30 29 32 31 34 33 36 35 38 37 40 39 42 41 44 43 46 45 48 47 50 49 52 51 54 53 56 55 58 57 60 59 62 61 64 63 66 65 68 67 70 69 72 71 74 73 76 75 78 77 80 79 82 81 84 83 86 85 88 87 90 89 92 91 94 93 96 95 98 97 100 99 10...
output:
1993 1 1 996 2 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 9...
result:
ok OK in maximum 1993 operations
Test #27:
score: 0
Accepted
time: 5ms
memory: 3412kb
input:
1 998 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 10...
output:
1990 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 9...
result:
ok OK in maximum 1990 operations
Test #28:
score: 0
Accepted
time: 3ms
memory: 3308kb
input:
1 998 998 997 996 995 994 993 992 991 990 989 988 987 986 985 984 983 982 981 980 979 978 977 976 975 974 973 972 971 970 969 968 967 966 965 964 963 962 961 960 959 958 957 956 955 954 953 952 951 950 949 948 947 946 945 944 943 942 941 940 939 938 937 936 935 934 933 932 931 930 929 928 927 926 92...
output:
1990 1 2 1 996 2 3 996 1 1 1 3 993 1 2 993 4 4 1 994 1 1 1 1 993 3 6 6 991 2 7 996 1 1 3 3 992 5 6 992 5 12 1 986 7 7 1 1 991 2 14 996 1 1 1 9 982 1 8 988 9 9 1 989 1 1 1 1 988 9 11 11 986 2 12 996 1 1 9 9 986 10 12 987 10 23 1 975 13 13 1 1 986 2 25 996 1 1 1 15 971 1 14 983 14 14 1 984 1 1 1 1 983...
result:
ok OK in maximum 1990 operations
Test #29:
score: 0
Accepted
time: 5ms
memory: 3348kb
input:
1 998 2 1 4 3 6 5 8 7 10 9 12 11 14 13 16 15 18 17 20 19 22 21 24 23 26 25 28 27 30 29 32 31 34 33 36 35 38 37 40 39 42 41 44 43 46 45 48 47 50 49 52 51 54 53 56 55 58 57 60 59 62 61 64 63 66 65 68 67 70 69 72 71 74 73 76 75 78 77 80 79 82 81 84 83 86 85 88 87 90 89 92 91 94 93 96 95 98 97 100 99 10...
output:
1992 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 9...
result:
ok OK in maximum 1992 operations
Test #30:
score: 0
Accepted
time: 5ms
memory: 3456kb
input:
1 997 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 10...
output:
1989 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 9...
result:
ok OK in maximum 1989 operations
Test #31:
score: 0
Accepted
time: 3ms
memory: 3284kb
input:
1 997 997 996 995 994 993 992 991 990 989 988 987 986 985 984 983 982 981 980 979 978 977 976 975 974 973 972 971 970 969 968 967 966 965 964 963 962 961 960 959 958 957 956 955 954 953 952 951 950 949 948 947 946 945 944 943 942 941 940 939 938 937 936 935 934 933 932 931 930 929 928 927 926 925 92...
output:
1988 1 2 1 995 2 3 995 1 1 1 3 992 1 2 992 4 4 1 993 1 1 1 1 992 3 6 6 990 2 7 995 1 1 3 3 991 5 6 991 5 12 1 985 7 7 1 1 990 2 14 995 1 1 1 9 981 1 8 987 9 9 1 988 1 1 1 1 987 9 11 11 985 2 12 995 1 1 9 9 985 10 12 986 10 23 1 974 13 13 1 1 985 2 25 995 1 1 1 15 970 1 14 982 14 14 1 983 1 1 1 1 982...
result:
ok OK in maximum 1988 operations
Test #32:
score: 0
Accepted
time: 0ms
memory: 3348kb
input:
1 997 2 1 4 3 6 5 8 7 10 9 12 11 14 13 16 15 18 17 20 19 22 21 24 23 26 25 28 27 30 29 32 31 34 33 36 35 38 37 40 39 42 41 44 43 46 45 48 47 50 49 52 51 54 53 56 55 58 57 60 59 62 61 64 63 66 65 68 67 70 69 72 71 74 73 76 75 78 77 80 79 82 81 84 83 86 85 88 87 90 89 92 91 94 93 96 95 98 97 100 99 10...
output:
1990 1 1 994 2 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 9...
result:
ok OK in maximum 1990 operations
Test #33:
score: 0
Accepted
time: 6ms
memory: 3332kb
input:
1 1000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 392 97 98 99 100 ...
output:
1993 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 9...
result:
ok OK in maximum 1993 operations
Test #34:
score: 0
Accepted
time: 3ms
memory: 3340kb
input:
1 1000 1000 999 998 997 996 995 994 993 992 991 990 989 988 987 986 985 984 983 982 981 980 979 978 977 976 975 974 973 972 971 970 969 968 967 966 965 964 963 962 961 960 959 958 957 956 955 954 953 952 951 950 949 948 947 946 945 944 943 942 941 940 939 938 937 936 935 934 933 932 931 930 929 928 ...
output:
1995 1 2 1 998 2 3 998 1 1 1 3 995 1 2 995 4 4 1 996 1 1 1 1 995 3 6 6 993 2 7 998 1 1 3 3 994 5 6 994 5 12 1 988 7 7 1 1 993 2 14 998 1 1 1 9 984 1 8 990 9 9 1 991 1 1 1 1 990 9 11 11 988 2 12 998 1 1 9 9 988 10 12 989 10 23 1 977 13 13 1 1 988 2 25 998 1 1 1 15 973 1 14 985 14 14 1 986 1 1 1 1 985...
result:
ok OK in maximum 1995 operations
Test #35:
score: 0
Accepted
time: 8ms
memory: 3392kb
input:
1 1000 2 1 4 3 6 5 8 7 10 9 12 11 14 13 16 15 18 17 20 19 22 21 24 23 26 25 28 27 30 29 32 31 34 33 36 35 38 37 40 39 42 41 44 43 46 45 48 47 50 49 52 51 54 53 56 55 58 57 60 59 62 61 64 63 66 65 68 67 70 69 72 71 74 73 76 75 78 77 80 79 473 81 84 83 86 85 88 87 90 89 92 91 94 93 96 95 98 97 100 99 ...
output:
1995 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 778 221 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1 996 3 1 1...
result:
ok OK in maximum 1995 operations
Test #36:
score: 0
Accepted
time: 2ms
memory: 3368kb
input:
1 1000 999 1 998 2 1000 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 673 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 ...
output:
1993 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 9...
result:
ok OK in maximum 1993 operations
Test #37:
score: 0
Accepted
time: 6ms
memory: 3292kb
input:
1 1000 999 1 998 2 1000 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 9...
output:
1992 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 981 18 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 998 1 1 1 ...
result:
ok OK in maximum 1992 operations
Test #38:
score: 0
Accepted
time: 2ms
memory: 3340kb
input:
1 999 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 10...
output:
1991 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 997 1 1 1 9...
result:
ok OK in maximum 1991 operations
Test #39:
score: 0
Accepted
time: 6ms
memory: 3332kb
input:
1 999 999 998 997 996 995 994 993 992 991 990 989 988 987 986 985 984 983 982 981 980 979 978 977 976 975 974 973 972 971 970 969 968 967 966 965 964 963 962 961 960 959 958 957 956 955 954 953 952 951 950 949 948 947 946 945 944 943 942 941 940 939 938 937 936 935 934 933 932 931 930 929 928 927 92...
output:
1994 1 2 1 997 2 3 997 1 1 1 3 994 1 2 994 4 4 1 995 1 1 1 1 994 3 6 6 992 2 7 997 1 1 3 3 993 5 6 993 5 12 1 987 7 7 1 1 992 2 14 997 1 1 1 9 983 1 8 989 9 9 1 990 1 1 1 1 989 9 11 11 987 2 12 997 1 1 9 9 987 10 12 988 10 23 1 976 13 13 1 1 987 2 25 997 1 1 1 15 972 1 14 984 14 14 1 985 1 1 1 1 984...
result:
ok OK in maximum 1994 operations
Test #40:
score: 0
Accepted
time: 7ms
memory: 3292kb
input:
1 999 2 1 4 3 6 5 8 7 10 9 12 11 14 13 16 15 18 17 20 19 22 21 24 23 26 25 28 27 30 29 32 31 34 33 36 35 38 37 40 39 42 41 44 43 46 45 48 47 50 49 52 51 54 53 56 55 58 57 60 59 62 61 64 63 66 65 68 67 70 69 72 71 74 73 76 75 78 77 80 79 82 81 84 83 86 85 88 87 90 89 92 91 94 93 96 95 98 97 100 99 10...
output:
1995 1 1 996 2 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 995 3 1 1 9...
result:
ok OK in maximum 1995 operations
Test #41:
score: 0
Accepted
time: 6ms
memory: 3368kb
input:
1 998 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 426 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
1989 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 996 1 1 1 9...
result:
ok OK in maximum 1989 operations
Test #42:
score: 0
Accepted
time: 5ms
memory: 3396kb
input:
1 998 998 997 996 995 994 993 992 991 990 989 988 987 986 985 984 983 982 981 980 979 978 977 976 975 974 973 972 971 970 969 968 967 966 965 964 963 962 961 960 959 958 957 956 955 954 953 952 951 950 949 948 947 946 945 944 943 942 941 940 939 938 937 936 935 934 933 932 931 930 929 928 927 926 92...
output:
1992 1 2 1 996 2 3 996 1 1 1 3 993 1 2 993 4 4 1 994 1 1 1 1 993 3 6 6 991 2 7 996 1 1 3 3 992 5 6 992 5 12 1 986 7 7 1 1 991 2 14 996 1 1 1 9 982 1 8 988 9 9 1 989 1 1 1 1 988 9 11 11 986 2 12 996 1 1 9 9 986 10 12 987 10 23 1 975 13 13 1 1 986 2 25 996 1 1 1 15 971 1 14 983 14 14 1 984 1 1 1 1 983...
result:
ok OK in maximum 1992 operations
Test #43:
score: 0
Accepted
time: 5ms
memory: 3332kb
input:
1 998 2 1 4 3 6 5 8 7 10 9 12 11 14 13 16 15 18 17 20 19 22 21 24 23 26 25 28 27 30 29 32 31 34 33 36 35 38 37 40 39 42 41 44 43 46 45 48 47 50 49 52 51 54 53 56 55 58 57 60 59 62 61 64 63 66 65 68 67 70 69 72 71 74 73 76 75 78 77 80 79 82 81 84 83 86 85 88 87 90 89 92 91 94 93 96 95 98 97 100 99 95...
output:
1989 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 140 857 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1 994 3 1 1...
result:
ok OK in maximum 1989 operations
Test #44:
score: 0
Accepted
time: 6ms
memory: 3356kb
input:
1 997 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 10...
output:
1987 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 9...
result:
ok OK in maximum 1987 operations
Test #45:
score: 0
Accepted
time: 4ms
memory: 3412kb
input:
1 997 997 996 995 994 993 992 991 990 989 988 987 986 176 984 983 982 981 980 979 978 977 976 975 974 973 756 971 970 969 968 967 966 965 964 963 962 961 960 959 958 957 956 955 954 953 952 951 950 949 948 947 946 945 944 943 942 941 940 939 938 937 936 935 934 933 932 931 930 929 928 927 926 925 92...
output:
1990 1 2 1 995 2 3 995 1 1 1 3 992 1 2 992 4 4 1 993 1 1 1 1 992 3 6 6 990 2 7 995 1 1 3 3 991 5 6 991 5 12 1 985 7 7 1 1 990 2 14 995 1 1 1 9 981 1 8 987 9 9 1 988 1 1 1 1 987 9 11 11 985 2 12 995 1 1 9 9 985 10 12 820 176 1 1 165 831 23 1 974 13 13 1 1 985 2 25 995 1 1 1 15 970 1 14 982 14 14 1 98...
result:
ok OK in maximum 1990 operations
Test #46:
score: 0
Accepted
time: 3ms
memory: 3280kb
input:
1 997 2 1 4 3 6 5 8 7 10 9 12 11 14 13 16 15 18 17 20 19 22 21 24 23 26 25 28 27 30 29 32 31 34 33 36 35 38 37 40 39 42 41 44 43 46 45 48 47 50 49 52 51 54 53 56 55 58 57 60 59 62 61 64 63 66 65 68 67 70 69 72 71 74 73 76 75 78 77 80 79 82 81 84 83 86 85 88 87 90 89 92 91 94 93 96 95 98 97 100 99 10...
output:
1987 1 1 994 2 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 993 3 1 1 9...
result:
ok OK in maximum 1987 operations
Test #47:
score: 0
Accepted
time: 2ms
memory: 3268kb
input:
1 786 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 188 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 316 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ...
output:
1568 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1 269 516 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1 784 1 1 1...
result:
ok OK in maximum 1568 operations
Test #48:
score: 0
Accepted
time: 2ms
memory: 3372kb
input:
1 979 979 978 977 976 975 974 973 972 971 970 969 968 967 966 965 964 963 962 961 960 959 958 957 956 955 954 953 952 951 81 949 948 947 946 945 944 943 942 941 940 939 938 937 936 935 934 900 932 931 930 929 928 927 926 925 924 923 509 921 920 919 918 917 916 915 914 913 912 911 910 909 908 907 906...
output:
1951 1 2 1 977 2 3 977 1 1 1 3 974 1 2 974 4 4 1 975 1 1 1 1 974 3 6 6 972 2 7 977 1 1 3 3 973 5 6 973 5 12 1 967 7 7 1 1 972 2 14 977 1 1 1 9 963 1 8 969 9 9 1 970 1 1 1 1 969 9 11 11 967 2 12 977 1 1 9 9 967 10 12 968 10 23 1 956 13 13 1 1 967 2 25 977 1 1 1 15 952 1 14 964 14 14 1 965 1 1 1 1 964...
result:
ok OK in maximum 1951 operations
Test #49:
score: 0
Accepted
time: 4ms
memory: 3368kb
input:
1 798 2 1 4 3 6 5 8 7 10 9 12 11 14 13 16 15 18 17 20 19 22 21 24 23 26 25 28 27 30 29 32 31 34 33 36 35 38 37 40 39 42 41 44 43 46 45 48 47 50 49 52 51 54 53 56 55 58 57 60 59 62 61 64 63 66 65 68 67 70 69 72 71 74 73 76 75 78 77 349 79 82 81 84 83 86 85 88 87 90 89 92 91 94 93 96 95 98 97 100 99 1...
output:
1591 1 1 794 3 1 1 506 291 1 1 794 3 1 1 794 3 1 1 794 3 1 1 794 3 1 1 794 3 1 1 794 3 1 1 794 3 1 1 794 3 1 1 794 3 1 1 794 3 1 1 794 3 1 1 794 3 1 1 794 3 1 1 794 3 1 1 794 3 1 1 794 3 1 1 612 185 1 1 794 3 1 1 794 3 1 1 794 3 1 1 794 3 1 1 794 3 1 1 794 3 1 1 794 3 1 1 794 3 1 1 794 3 1 1 794 3 1...
result:
ok OK in maximum 1591 operations
Test #50:
score: 0
Accepted
time: 5ms
memory: 3288kb
input:
1 997 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 10...
output:
1991 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 995 1 1 1 461 535 1 1 995 1 1 1 995 1 1 1 995 1 1 1...
result:
ok OK in maximum 1991 operations
Test #51:
score: 0
Accepted
time: 5ms
memory: 3324kb
input:
1 876 876 875 874 873 872 871 870 402 868 867 866 865 864 863 862 861 860 859 858 857 856 855 854 853 852 851 850 849 848 847 846 845 844 843 842 841 840 839 838 837 836 835 834 833 832 831 830 829 828 827 826 825 824 823 822 821 820 819 818 817 816 815 814 813 812 811 810 809 808 807 806 805 804 80...
output:
1746 1 2 1 874 2 3 874 1 1 1 3 871 1 2 871 4 4 1 872 1 1 1 1 871 3 6 6 869 2 7 874 1 1 3 3 870 5 6 870 5 12 1 864 7 7 1 1 869 1 14 480 395 1 1 394 481 8 1 1 868 2 16 874 1 1 1 10 858 1 9 865 10 10 1 866 1 1 1 1 865 10 12 12 863 2 13 874 1 1 10 10 863 11 13 864 11 25 1 851 14 14 1 1 863 2 27 874 1 1 ...
result:
ok OK in maximum 1746 operations
Test #52:
score: 0
Accepted
time: 6ms
memory: 3436kb
input:
1 991 2 1 4 3 6 5 8 7 10 9 12 11 14 13 16 15 18 17 20 19 22 21 24 23 26 25 28 27 30 29 32 31 34 33 36 35 38 37 40 39 42 41 44 43 46 45 48 47 50 49 52 51 54 53 56 55 58 57 60 59 62 61 64 63 66 65 353 67 70 69 72 71 74 73 76 75 78 77 80 79 82 81 84 83 86 85 88 87 90 89 92 91 94 93 96 95 98 97 100 99 1...
output:
1979 1 1 988 2 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 987 3 1 1 270 720 1 1...
result:
ok OK in maximum 1979 operations
Test #53:
score: 0
Accepted
time: 5ms
memory: 3332kb
input:
1 994 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 10...
output:
1984 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1 269 724 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1 992 1 1 1...
result:
ok OK in maximum 1984 operations
Test #54:
score: 0
Accepted
time: 2ms
memory: 3332kb
input:
1 989 989 988 987 986 985 984 983 982 981 980 979 978 977 976 975 974 973 972 971 970 969 968 967 966 965 964 963 962 961 960 959 958 957 956 955 954 953 952 951 950 949 948 947 946 945 944 943 942 941 940 939 938 937 936 935 934 933 932 931 930 929 928 927 926 925 924 923 922 921 920 919 918 917 91...
output:
1972 1 2 1 987 2 3 987 1 1 1 3 984 1 2 984 4 4 1 985 1 1 1 1 984 3 6 6 982 2 7 987 1 1 3 3 983 5 6 983 5 12 1 977 7 7 1 1 982 2 14 987 1 1 1 9 973 1 8 979 9 9 1 980 1 1 1 1 979 9 11 11 977 2 12 987 1 1 9 9 977 10 12 978 10 23 1 966 13 13 1 1 977 2 25 987 1 1 1 15 962 1 14 974 14 14 1 975 1 1 1 1 974...
result:
ok OK in maximum 1972 operations
Test #55:
score: 0
Accepted
time: 6ms
memory: 3348kb
input:
1 995 2 1 4 3 6 5 8 7 10 9 12 11 14 13 16 15 18 17 20 19 22 21 24 23 26 25 28 27 30 29 32 31 34 33 36 35 38 37 40 39 42 41 44 43 46 45 48 47 50 49 52 51 54 53 56 55 58 57 60 59 62 61 64 63 66 65 68 67 70 69 72 71 74 73 76 75 78 77 80 79 82 81 84 83 86 85 88 87 90 89 92 91 94 93 96 95 98 97 100 99 10...
output:
1988 1 1 992 2 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 991 3 1 1 9...
result:
ok OK in maximum 1988 operations
Test #56:
score: 0
Accepted
time: 4ms
memory: 3324kb
input:
1 779 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 10...
output:
1553 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 753 25 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 777 1 1 1 ...
result:
ok OK in maximum 1553 operations
Test #57:
score: 0
Accepted
time: 5ms
memory: 3284kb
input:
1 797 797 796 795 794 793 792 791 790 789 788 787 786 785 784 783 782 781 780 779 778 777 776 775 774 773 772 771 770 769 768 767 766 765 764 763 762 761 760 759 758 757 756 755 754 753 752 751 750 749 748 747 746 745 744 743 742 741 740 739 738 737 736 735 734 733 732 731 730 729 180 727 726 725 72...
output:
1586 1 2 1 795 2 3 795 1 1 1 3 792 1 2 792 4 4 1 793 1 1 1 1 792 3 6 6 790 2 7 795 1 1 3 3 791 5 6 791 5 12 1 785 7 7 1 1 790 2 14 795 1 1 1 9 781 1 8 787 9 9 1 788 1 1 1 1 787 9 11 11 785 2 12 795 1 1 9 9 785 10 12 786 10 23 1 774 13 13 1 1 785 2 25 795 1 1 1 15 770 1 14 782 14 14 1 783 1 1 1 1 782...
result:
ok OK in maximum 1586 operations
Test #58:
score: 0
Accepted
time: 2ms
memory: 3428kb
input:
1 666 2 1 4 3 6 5 8 7 10 9 12 11 14 13 16 15 18 17 20 19 22 21 24 23 26 25 28 27 594 29 32 31 34 33 36 35 38 37 40 39 42 41 44 43 46 45 48 47 50 49 52 51 54 53 56 55 58 57 60 59 62 61 64 63 66 65 68 67 70 69 72 71 74 73 76 75 78 77 80 79 82 81 84 83 86 85 88 87 90 89 92 91 94 93 96 95 98 97 100 99 1...
output:
1328 1 1 662 3 1 1 662 3 1 1 662 3 1 1 662 3 1 1 662 3 1 1 662 3 1 1 662 3 1 1 662 3 1 1 662 3 1 1 610 55 1 1 662 3 1 1 662 3 1 1 662 3 1 1 662 3 1 1 662 3 1 1 662 3 1 1 662 3 1 1 662 3 1 1 662 3 1 1 662 3 1 1 662 3 1 1 662 3 1 1 662 3 1 1 662 3 1 1 662 3 1 1 656 9 1 1 662 3 1 1 662 3 1 1 662 3 1 1 ...
result:
ok OK in maximum 1328 operations
Test #59:
score: 0
Accepted
time: 6ms
memory: 3368kb
input:
1 1000 578 309 830 993 658 748 234 814 841 592 32 353 750 217 807 478 970 442 676 274 850 638 367 776 63 165 649 945 475 773 528 491 986 918 68 966 448 992 879 503 364 564 290 675 47 586 891 954 5 982 305 628 34 881 593 130 409 431 824 757 931 948 751 188 434 69 19 190 825 855 253 732 663 65 133 835...
output:
1996 1 1 319 680 1 1 457 542 1 1 124 875 1 1 52 947 1 1 419 580 1 1 612 387 1 1 181 818 1 1 688 311 1 1 107 892 1 1 993 6 1 1 392 607 1 1 369 630 1 1 300 699 1 1 173 826 1 1 518 481 1 1 478 521 1 1 364 635 1 1 80 919 1 1 778 221 1 1 815 184 1 1 575 424 1 1 949 50 1 1 736 263 1 1 919 80 1 1 890 109 1...
result:
ok OK in maximum 1996 operations
Test #60:
score: 0
Accepted
time: 3ms
memory: 3440kb
input:
1 999 587 632 199 969 304 657 430 733 692 680 378 704 506 884 832 959 150 898 242 641 968 818 77 584 806 529 74 29 338 205 555 410 72 82 964 487 774 111 765 625 835 580 992 437 65 602 958 517 800 637 795 128 350 626 450 694 262 812 287 289 468 603 432 561 942 827 714 101 54 996 656 874 681 932 718 2...
output:
1995 1 1 235 763 1 1 626 372 1 1 350 648 1 1 590 408 1 1 680 318 1 1 103 895 1 1 350 648 1 1 638 360 1 1 281 717 2 1 80 918 1 1 689 309 1 1 256 742 1 1 350 648 1 1 950 48 1 1 467 531 1 1 832 166 1 1 808 190 1 1 252 746 1 1 895 103 1 1 274 724 1 1 90 908 1 1 821 177 1 1 177 820 1 1 450 548 1 1 827 17...
result:
ok OK in maximum 1995 operations
Test #61:
score: 0
Accepted
time: 6ms
memory: 3456kb
input:
1 1000 942 663 980 943 478 437 896 721 40 616 613 423 487 344 424 269 639 813 335 35 359 2 115 701 366 940 495 545 879 42 296 826 370 859 599 861 996 530 459 724 412 622 136 548 918 171 160 343 547 14 658 807 681 636 448 928 132 893 982 227 388 757 543 814 985 585 742 301 815 897 831 298 950 925 758...
output:
1996 1 1 508 491 1 1 966 33 1 1 408 591 1 1 897 102 1 1 634 365 1 1 492 507 1 1 594 405 1 1 941 58 1 1 182 817 1 1 845 154 1 1 236 763 1 1 40 959 1 1 590 409 1 1 702 297 1 1 554 445 1 1 83 916 1 1 728 271 1 1 517 482 1 1 596 403 1 1 827 172 1 1 969 30 1 1 428 571 1 1 786 213 1 1 805 194 2 1 172 827 ...
result:
ok OK in maximum 1996 operations
Test #62:
score: 0
Accepted
time: 6ms
memory: 3432kb
input:
1 999 113 438 987 12 663 156 157 317 757 698 170 134 491 495 80 899 426 750 437 979 938 121 199 210 399 96 76 286 855 47 242 416 728 352 271 562 203 755 116 981 643 161 816 840 49 385 681 331 306 179 50 213 695 929 628 807 952 884 349 34 43 92 326 639 850 474 104 806 963 737 898 45 409 629 809 20 95...
output:
1994 1 1 422 576 1 1 549 449 1 1 881 117 1 1 272 726 1 1 105 893 1 1 851 147 1 1 779 219 1 1 466 532 1 1 646 352 1 1 184 814 1 1 790 208 1 1 792 206 1 1 880 118 1 1 114 884 1 1 149 849 1 1 756 242 1 1 61 937 1 1 826 172 1 1 858 140 1 1 282 716 1 1 454 544 1 1 546 452 1 2 224 774 1 1 174 824 1 1 801 ...
result:
ok OK in maximum 1994 operations
Test #63:
score: 0
Accepted
time: 2ms
memory: 3396kb
input:
1 1000 546 417 781 732 488 684 86 603 677 529 678 253 756 307 819 476 757 899 838 976 755 246 418 55 904 512 727 440 960 642 969 294 163 434 873 317 87 91 329 840 243 459 522 959 694 689 278 620 472 591 766 54 425 147 128 213 315 95 267 365 825 295 533 900 380 502 291 862 788 872 938 800 21 419 995 ...
output:
1994 1 1 296 703 1 1 268 731 1 1 759 240 1 1 100 899 1 1 397 602 1 1 844 155 1 1 444 555 1 1 966 33 1 1 774 225 1 1 928 71 1 1 282 717 1 1 969 30 1 1 606 393 1 1 292 707 1 1 843 156 1 1 52 947 1 1 333 666 1 1 110 889 1 1 871 128 1 1 716 283 1 1 458 541 1 1 902 97 1 1 393 606 1 1 154 845 1 1 862 137 ...
result:
ok OK in maximum 1994 operations
Test #64:
score: 0
Accepted
time: 7ms
memory: 3440kb
input:
1 999 774 166 908 231 496 472 465 16 102 978 49 570 597 411 168 299 378 561 429 668 676 250 362 784 840 650 326 370 377 548 134 845 183 793 809 934 928 980 619 404 331 173 256 644 382 901 426 232 200 144 780 617 743 609 431 17 520 24 425 794 334 450 786 135 280 490 245 236 215 25 380 719 155 126 471...
output:
1996 1 1 192 806 1 1 399 599 1 1 343 655 1 1 160 838 1 1 936 62 1 1 793 205 1 1 972 26 1 1 853 145 1 1 824 174 1 1 941 57 1 1 671 327 1 1 642 356 1 1 815 183 1 1 196 802 1 1 73 925 1 1 869 129 1 1 850 148 1 1 873 125 1 1 861 137 1 1 115 883 1 1 447 551 1 1 107 891 1 1 878 120 1 1 39 959 1 1 392 606 ...
result:
ok OK in maximum 1996 operations
Test #65:
score: 0
Accepted
time: 6ms
memory: 3332kb
input:
1 1000 766 935 587 770 502 232 760 629 561 481 89 664 571 241 87 326 708 605 79 721 871 752 669 555 123 990 269 400 583 290 594 346 933 719 859 830 181 510 61 658 706 399 911 411 778 948 306 707 781 47 740 434 645 18 944 847 668 336 886 811 548 155 599 404 461 278 211 589 884 672 785 989 941 17 260 ...
output:
1996 1 1 134 865 1 1 188 811 1 1 240 759 1 1 292 707 1 1 568 431 1 1 43 956 1 1 330 669 1 1 586 413 1 1 677 322 1 1 189 810 1 1 969 30 1 1 705 294 1 1 927 72 1 1 730 269 1 1 867 132 1 1 270 729 1 1 514 485 1 1 265 734 1 1 581 418 1 1 253 746 1 1 674 325 1 1 622 377 1 1 233 766 1 1 436 563 1 1 773 22...
result:
ok OK in maximum 1996 operations
Test #66:
score: 0
Accepted
time: 6ms
memory: 3360kb
input:
1 999 543 320 106 886 488 688 182 305 911 670 598 134 828 201 627 69 124 132 811 768 65 423 281 189 801 599 312 567 999 487 762 764 405 778 898 365 957 743 990 951 516 28 388 477 261 296 464 619 984 227 504 329 391 507 317 612 560 1 557 649 20 376 945 744 881 926 260 322 831 271 781 950 144 262 789 ...
output:
1991 1 1 196 802 1 1 862 136 1 1 231 767 1 1 564 434 1 1 790 208 1 1 600 398 1 1 827 171 1 1 522 476 1 1 141 857 1 1 542 456 1 1 222 776 1 1 328 670 1 1 402 596 1 1 259 739 1 1 361 637 1 1 947 51 1 1 15 983 1 1 219 779 1 1 20 978 1 1 612 386 1 1 504 494 1 1 814 183 1 1 882 116 1 1 572 426 1 1 309 68...
result:
ok OK in maximum 1991 operations
Test #67:
score: 0
Accepted
time: 6ms
memory: 3332kb
input:
1 1000 608 358 52 308 498 40 688 621 736 287 525 969 537 769 681 653 309 330 490 385 232 585 472 379 406 704 522 667 291 593 260 206 72 162 443 399 801 230 127 718 421 721 415 471 968 159 110 38 838 587 880 172 281 900 335 144 987 568 119 196 62 299 145 545 864 922 211 635 649 822 793 134 403 640 11...
output:
1995 1 1 770 229 1 1 737 262 1 1 453 546 1 1 683 316 1 1 991 8 1 1 899 100 1 1 256 743 1 1 841 158 1 1 891 108 1 1 69 930 1 1 481 518 1 1 420 579 1 1 753 246 1 1 591 408 1 1 210 789 1 1 293 706 1 1 895 104 1 1 973 26 1 1 684 315 1 1 565 434 1 1 94 905 1 1 277 722 1 1 105 894 1 1 490 509 1 1 192 807 ...
result:
ok OK in maximum 1995 operations
Test #68:
score: 0
Accepted
time: 6ms
memory: 3328kb
input:
1 999 911 432 290 796 764 61 990 509 200 218 304 386 312 204 690 672 655 883 532 365 667 675 457 840 900 842 437 536 766 925 637 287 346 232 523 721 190 770 483 481 908 740 952 954 514 213 700 51 216 16 297 586 593 55 502 240 889 746 472 858 831 423 138 689 89 739 407 972 613 201 914 490 518 340 961...
output:
1990 1 1 528 470 1 1 789 209 1 1 652 346 1 1 37 961 1 1 484 514 1 1 759 239 1 1 989 9 1 1 420 578 1 1 87 911 1 1 431 567 1 1 68 929 1 1 320 678 1 1 929 69 1 1 85 913 1 1 610 388 1 1 192 806 1 1 847 151 2 1 719 279 1 1 449 549 1 1 595 403 1 2 616 382 1 1 779 219 1 1 193 805 1 1 762 236 1 1 102 896 1 ...
result:
ok OK in maximum 1990 operations
Test #69:
score: 0
Accepted
time: 6ms
memory: 3372kb
input:
1 1000 553 48 915 421 206 713 491 894 864 951 261 512 602 976 136 283 132 380 824 617 955 681 51 514 158 601 900 945 9 534 995 268 33 473 825 54 476 26 999 981 399 223 649 263 167 948 253 679 120 13 734 949 917 609 575 838 646 359 369 312 478 485 802 246 931 680 774 632 286 201 961 723 763 585 724 7...
output:
1995 1 1 485 514 1 1 464 535 1 1 328 671 1 1 661 338 1 1 850 149 1 1 953 46 1 1 174 825 1 1 415 584 1 1 203 796 1 1 861 138 1 1 504 495 1 1 454 545 1 1 445 554 1 1 265 734 1 1 612 387 1 1 694 305 1 1 396 603 1 1 822 177 1 1 507 492 1 1 996 3 1 1 490 509 1 1 408 591 1 1 652 347 1 1 326 673 1 1 207 79...
result:
ok OK in maximum 1995 operations
Test #70:
score: 0
Accepted
time: 3ms
memory: 3348kb
input:
1 999 801 440 924 519 4 420 320 244 674 455 838 164 783 603 676 967 352 407 973 727 29 929 875 970 792 138 152 552 312 978 807 489 61 648 177 717 424 691 186 825 123 454 684 206 944 240 491 873 709 314 582 216 613 479 960 872 214 98 921 209 39 818 403 380 841 327 854 704 548 42 365 371 135 387 640 1...
output:
1993 1 1 890 108 1 1 665 333 1 1 948 50 1 1 391 607 1 1 706 292 1 1 334 664 1 1 276 722 1 1 578 420 1 1 948 50 1 1 747 251 1 1 594 404 1 1 472 526 1 1 224 774 1 1 248 750 1 1 517 481 1 1 686 312 1 1 273 725 1 1 746 252 1 1 3 995 1 1 592 406 1 1 534 464 1 1 397 601 1 1 803 195 1 1 22 976 1 1 227 771 ...
result:
ok OK in maximum 1993 operations
Test #71:
score: 0
Accepted
time: 6ms
memory: 3368kb
input:
1 1000 671 474 830 79 544 973 560 315 103 804 954 850 756 890 450 395 773 792 256 407 928 983 682 621 388 378 67 718 243 640 812 4 788 511 230 503 456 150 246 496 454 738 217 411 204 876 305 9 940 290 280 498 849 980 986 327 85 110 285 647 80 552 691 586 479 786 190 293 976 151 188 581 783 311 639 3...
output:
1992 1 1 282 717 1 1 330 669 1 1 945 54 1 1 478 521 1 1 237 762 1 1 574 425 1 1 783 216 1 1 893 106 1 1 320 679 1 1 380 619 1 1 248 751 1 1 268 731 1 1 122 877 1 1 966 33 1 1 373 626 1 1 139 860 1 1 155 844 1 1 199 800 1 1 957 42 1 1 466 533 1 1 813 186 1 1 311 688 1 1 358 641 1 1 821 178 1 1 253 74...
result:
ok OK in maximum 1992 operations
Test #72:
score: 0
Accepted
time: 6ms
memory: 3356kb
input:
1 999 673 776 646 216 614 126 24 515 606 840 979 826 527 349 524 512 679 735 355 972 152 105 772 844 850 784 672 857 775 136 155 761 174 71 798 977 851 628 62 153 892 23 953 97 717 786 237 315 800 869 60 142 802 446 351 299 55 861 852 251 505 900 880 936 482 101 376 236 338 952 653 661 310 503 803 2...
output:
1993 1 1 852 146 1 1 594 404 1 1 787 211 1 1 726 272 1 1 309 689 1 1 90 908 1 1 166 832 1 1 953 45 1 1 206 792 1 1 97 901 1 1 138 860 1 1 41 957 1 1 471 527 1 1 685 313 1 1 71 927 1 1 672 326 1 1 488 510 2 1 794 204 1 1 688 310 1 1 781 217 1 1 543 455 1 1 429 569 1 1 943 55 1 1 438 560 1 1 955 43 1 ...
result:
ok OK in maximum 1993 operations