QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#823087#1845. PermutebilibilitdascWA 108ms3684kbC++232.0kb2024-12-20 19:06:412024-12-20 19:06:47

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3620kb

input:

3
0 1 0 0 1 0 0 0 0 0
0 2 0 0 0 0 1 0 0 1
0 1000000000 0 0 0 0 0 0 0 0

output:

2
1 1
1 4
4
1 9
1 6
1 1
1 1
-1

result:

ok T=3

Test #2:

score: -100
Wrong Answer
time: 108ms
memory: 3684kb

input:

100000
0 0 0 1 0 1 1 1 0 1
1 1 0 0 1 0 1 0 1 0
1 1 1 1 0 0 0 1 0 1
0 1 1 0 0 1 1 1 1 0
0 0 1 0 1 0 1 0 1 0
0 1 0 0 0 0 0 1 0 0
1 1 0 0 0 0 0 0 1 1
1 0 1 1 1 0 1 0 0 0
0 1 1 0 0 1 0 1 0 1
1 0 0 1 1 0 0 1 0 0
1 1 0 1 0 0 1 0 1 1
0 0 1 0 0 0 0 1 0 0
0 1 1 1 1 1 1 1 0 1
1 0 0 0 0 1 0 0 0 1
0 0 0 0 1 0 1...

output:

5
1 9
1 3
1 7
1 6
1 5
5
1 1
1 6
1 4
1 0
1 8
6
1 0
1 2
1 7
1 3
1 9
1 1
6
1 5
1 1
1 2
1 6
1 8
1 7
4
1 6
1 4
1 8
1 2
-1
4
1 1
1 8
1 9
1 0
5
1 6
1 2
1 0
1 3
1 4
5
1 1
1 2
1 5
1 7
1 9
-1
6
1 1
1 8
1 6
1 0
1 3
1 9
-1
8
1 1
1 7
1 2
1 5
1 3
1 6
1 4
1 9
-1
4
1 8
1 6
1 9
1 4
7
1 2
1 9
1 0
1 7
1 8
1 5
1 6
6
1 ...

result:

wrong answer Jury has the answer but participant has not