QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#219149#6301. Minimum Suffixucup-team1005WA 1ms9900kbC++142.4kb2023-10-19 07:45:132023-10-19 07:45:14

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

6
3
1 1 1
3
1 1 2
3
1 1 3
3
1 2 1
3
1 2 2
3
1 2 3

output:

1 2 2 -1
1 2 1 1 1 2 2 1 2 1 1 1 

result:

ok 16 numbers

Test #2:

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

input:

2
2
1 1
2
1 2

output:

1 2 1 1 

result:

ok 4 number(s): "1 2 1 1"

Test #3:

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

input:

24
4
1 1 1 1
4
1 1 1 2
4
1 1 1 3
4
1 1 1 4
4
1 1 2 1
4
1 1 2 2
4
1 1 2 3
4
1 1 2 4
4
1 1 3 1
4
1 1 3 2
4
1 1 3 3
4
1 1 3 4
4
1 2 1 1
4
1 2 1 2
4
1 2 1 3
4
1 2 1 4
4
1 2 2 1
4
1 2 2 2
4
1 2 2 3
4
1 2 2 4
4
1 2 3 1
4
1 2 3 2
4
1 2 3 3
4
1 2 3 4

output:

1 2 2 2 -1
-1
1 2 2 1 -1
-1
-1
-1
1 2 1 3 -1
1 2 1 2 1 2 1 1 1 1 2 2 -1
-1
1 1 2 1 -1
2 1 2 2 -1
2 1 2 1 1 1 1 2 2 1 1 2 2 2 1 2 1 1 1 1 

result:

ok 63 numbers

Test #4:

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

input:

120
5
1 1 1 1 1
5
1 1 1 1 2
5
1 1 1 1 3
5
1 1 1 1 4
5
1 1 1 1 5
5
1 1 1 2 1
5
1 1 1 2 2
5
1 1 1 2 3
5
1 1 1 2 4
5
1 1 1 2 5
5
1 1 1 3 1
5
1 1 1 3 2
5
1 1 1 3 3
5
1 1 1 3 4
5
1 1 1 3 5
5
1 1 1 4 1
5
1 1 1 4 2
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-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
...

result:

wrong answer 1001st numbers differ - expected: '2', found: '1'