QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#134558 | #6540. Beautiful Sequence | carrotqq | RE | 1ms | 5684kb | C++14 | 786b | 2023-08-03 23:39:47 | 2023-08-03 23:39:57 |
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: 1ms
memory: 3640kb
input:
2 6 1 1 2 3 3 4 5 1 2 2 3 3
output:
4 4
result:
ok 2 number(s): "4 4"
Test #2:
score: 0
Accepted
time: 1ms
memory: 5684kb
input:
2 5 1 2 2 3 3 20 1 1 1 1 1 1 4 5 8 8 8 8 9 9 9 9 10 10 10 10
output:
4 17
result:
ok 2 number(s): "4 17"
Test #3:
score: 0
Accepted
time: 0ms
memory: 3648kb
input:
300 14 1 1 1 2 2 2 3 3 3 4 5 5 6 6 14 1 1 1 2 2 3 3 4 4 5 5 6 7 7 14 1 1 2 2 3 4 4 4 5 5 5 6 6 6 14 1 1 2 2 3 3 3 4 5 5 5 6 6 6 14 1 1 1 1 1 1 2 2 2 2 2 3 3 3 14 1 1 1 1 1 1 1 1 1 1 1 1 1 1 14 1 2 2 3 4 5 5 6 6 6 7 8 8 8 14 1 2 2 2 2 2 3 4 5 6 7 8 9 10 14 1 2 2 3 4 4 4 5 6 6 6 6 6 7 14 1 1 2 2 2 3 3...
output:
10 9 11 11 12 14 10 9 11 11 9 10 10 9 11 11 11 9 9 12 10 9 10 10 11 10 11 11 11 11 10 8 10 10 10 10 11 13 10 12 11 11 9 10 9 11 11 10 10 8 11 10 11 9 10 10 10 10 11 11 12 9 10 10 10 10 9 10 11 11 10 10 10 10 11 10 10 10 10 9 9 10 8 11 9 11 10 11 11 12 9 9 10 9 12 11 10 11 10 10 11 10 10 9 10 9 10 10...
result:
ok 300 numbers
Test #4:
score: 0
Accepted
time: 1ms
memory: 3724kb
input:
300 13 1 1 1 2 3 3 4 4 5 5 6 6 7 13 1 1 2 3 3 3 4 5 5 6 7 8 8 13 1 2 3 4 4 4 5 5 6 7 8 8 9 13 1 2 3 4 5 6 7 8 8 8 9 10 10 13 1 1 1 1 2 3 4 5 5 6 6 7 8 13 1 1 1 2 3 4 5 5 6 6 7 7 7 13 1 2 2 3 3 4 5 5 5 5 5 6 7 13 1 2 3 3 3 4 4 5 6 6 7 8 9 13 1 2 3 3 3 3 3 4 4 5 6 7 7 13 1 2 3 4 5 6 6 6 7 7 7 8 9 13 1...
output:
9 9 9 8 9 9 9 9 10 9 9 8 8 10 9 10 9 9 10 11 9 9 10 9 9 10 10 10 10 9 8 9 9 8 9 10 10 8 10 9 11 9 10 9 9 10 12 12 9 9 9 9 9 10 10 10 9 9 9 8 9 9 9 8 9 10 9 9 8 10 10 9 10 8 9 9 10 9 9 9 9 8 9 9 10 8 10 9 9 10 10 11 8 9 9 11 11 9 10 10 9 11 11 10 9 10 9 9 8 10 9 10 10 9 9 10 9 9 9 10 8 9 10 10 9 10 1...
result:
ok 300 numbers
Test #5:
score: 0
Accepted
time: 1ms
memory: 3640kb
input:
310 14 1 2 2 2 3 4 5 6 6 6 7 8 8 9 14 1 1 1 1 1 2 2 3 3 3 3 3 3 4 14 1 2 2 3 3 3 3 3 3 3 4 4 4 5 14 1 2 2 2 3 4 5 5 5 6 7 8 8 9 14 1 2 2 3 4 5 5 6 7 8 8 9 10 11 14 1 2 2 3 3 3 3 4 5 6 6 7 8 9 14 1 1 2 2 3 3 4 4 4 4 5 6 7 8 14 1 2 3 4 4 5 6 6 7 8 9 9 9 9 14 1 1 2 2 2 3 3 3 3 3 4 5 6 6 14 1 2 3 3 3 4 ...
output:
10 11 11 10 9 9 9 10 11 9 9 8 8 11 9 9 10 8 10 11 11 9 12 9 11 12 11 8 11 11 10 9 8 11 10 10 9 8 12 10 11 10 9 10 10 11 11 11 10 11 9 10 11 11 10 9 9 9 9 9 10 10 9 8 10 9 10 11 9 10 10 10 10 11 9 10 10 9 10 11 11 9 10 11 11 11 11 9 10 9 10 10 9 10 10 9 11 10 10 8 9 12 9 10 10 11 10 10 11 10 9 10 10 ...
result:
ok 310 numbers
Test #6:
score: 0
Accepted
time: 1ms
memory: 3656kb
input:
1000 11 1 2 3 4 5 6 6 6 7 7 7 11 1 1 2 2 2 3 3 3 3 4 5 11 1 1 1 2 3 4 5 6 7 8 9 11 1 2 3 3 3 4 5 6 6 6 7 11 1 1 2 2 2 3 3 4 4 5 5 11 1 2 2 3 4 5 5 5 5 6 6 11 1 1 1 2 3 4 4 4 4 5 6 11 1 1 1 1 2 2 3 3 4 4 5 11 1 1 2 3 3 3 3 4 4 5 6 11 1 2 2 2 2 2 3 3 3 3 4 11 1 1 2 3 3 4 4 5 6 6 7 11 1 2 2 3 3 3 3 4 4...
output:
8 8 6 8 8 8 8 8 8 9 7 8 9 7 10 9 9 8 7 8 8 7 7 8 7 8 9 9 9 7 8 8 7 8 8 8 9 9 7 8 8 7 7 8 7 8 7 7 8 8 7 8 8 9 7 6 7 8 7 8 8 8 8 9 8 8 8 9 7 8 7 6 8 8 7 8 8 8 7 8 7 7 9 9 8 8 8 9 8 9 10 7 7 7 8 8 8 9 8 8 9 8 8 9 7 7 9 9 7 9 8 8 8 8 9 10 7 8 8 8 7 9 7 7 8 7 7 8 7 7 7 7 8 9 8 8 9 8 8 9 7 7 8 8 7 8 8 8 9...
result:
ok 1000 numbers
Test #7:
score: 0
Accepted
time: 1ms
memory: 3648kb
input:
100 15 1 2 3 4 5 6 7 7 7 8 9 10 10 10 10 15 1 2 2 2 2 2 3 3 3 4 5 6 7 8 9 15 1 1 1 1 1 2 2 2 3 4 4 4 4 5 6 15 1 1 1 2 2 2 3 3 4 5 5 5 5 6 7 15 1 1 1 2 2 3 4 4 4 4 4 4 4 5 6 15 1 1 1 1 2 3 4 5 5 6 7 7 7 7 7 15 1 2 2 3 3 3 3 3 4 5 5 5 6 7 8 15 1 2 3 4 4 4 5 6 7 8 8 9 9 9 10 15 1 1 2 2 2 2 3 4 4 4 4 4 ...
output:
10 10 11 11 11 11 11 10 12 11 12 11 10 10 11 10 11 11 12 12 11 12 11 11 11 12 10 12 13 10 10 11 11 11 10 12 11 11 12 12 11 11 10 12 11 11 11 10 10 11 11 11 10 10 11 11 10 9 11 11 11 11 11 10 11 11 11 11 11 11 10 11 10 10 10 11 12 11 10 10 11 11 12 11 11 12 11 11 10 11 11 11 11 12 10 10 10 10 10 11
result:
ok 100 numbers
Test #8:
score: -100
Runtime Error
input:
10 100 1000000000 999999999 999999999 999999998 999999998 999999998 999999997 999999997 999999997 999999997 999999996 999999996 999999995 999999995 999999995 999999995 999999994 999999994 999999994 999999994 999999994 999999994 999999994 999999993 999999993 999999993 999999993 999999993 999999993 99...