QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#76393#5466. Permutation CompressionguowenzzWA 3ms5624kbC++174.2kb2023-02-09 19:24:152023-02-09 19:24:17

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 5580kb

input:

3
5 2 3
5 1 3 2 4
5 2
1 2 4
5 5 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
3 2 2
3 1 2
3 2
2 3

output:

YES
YES
NO

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 3ms
memory: 5624kb

input:

100
2 1 2
2 1
2
1 1
2 1 2
1 2
1
2 2
2 1 1
1 2
1
2
6 1 5
3 4 2 5 6 1
3
5 2 1 1 1
6 1 6
2 1 3 6 4 5
1
4 1 2 2 1 4
3 3 2
2 1 3
2 1 3
2 2
1 1 1
1
1
1
1 1 1
1
1
1
2 1 2
2 1
2
1 2
4 4 3
2 1 3 4
2 1 3 4
4 3 1
1 1 1
1
1
1
6 5 1
6 2 5 4 3 1
6 2 4 3 1
4
1 1 1
1
1
1
6 5 3
3 6 1 4 5 2
3 6 1 4 2
3 3 4
4 3 4
3 4 ...

output:

YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
NO
YES
YES
YES
YES
6 2 6
2 3 5 6 1 4 
2 1 
5 5 6 6 3 6 
YES
1 1 1
1 
1 
1 
YES
5 4 3
1 4 2 5 3 
1 4 2 3 
3 5 4 
YES
4 3 2
3 1 4 2 
1 4 2 
1 1 
YES
1 1 1
1 
1 
1 
YES
6 6 1
2 1 6 5 4 3 
2 1 6 5 4 3 
3 
YES
6 2 6
2...

result:

wrong answer 28th lines differ - expected: 'NO', found: '6 2 6'