QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#59948#1845. PermutewlxhkkWA 86ms3788kbC++142.1kb2022-11-02 10:16:442022-11-02 10:16:46

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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 1
1 1
1 6
1 9
-1

result:

ok T=3

Test #2:

score: -100
Wrong Answer
time: 86ms
memory: 3680kb

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:

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

result:

wrong answer Jury has the answer but participant has not