QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#49839#1968. Science FictionMaMengQiWA 4ms11136kbC++171.8kb2022-09-23 15:39:062022-09-23 15:39:08

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
3 2 10 4

output:

2
1 0
3 2

result:

ok nice! 2 moves

Test #2:

score: 0
Accepted
time: 2ms
memory: 10940kb

input:

1
10 100

output:

0

result:

ok nice! 0 moves

Test #3:

score: 0
Accepted
time: 2ms
memory: 10952kb

input:

1
824838 992401

output:

0

result:

ok nice! 0 moves

Test #4:

score: 0
Accepted
time: 2ms
memory: 10812kb

input:

2
208395 17211 250690 874014

output:

1
1 0

result:

ok nice! 1 moves

Test #5:

score: -100
Wrong Answer
time: 4ms
memory: 11136kb

input:

8
991318 655714 983340 496226 752852 888298 572661 729100 426124 437775 8096 28612 303846 295897 970760 179029 702449 407420 945406 352294 960516 484993 724888 495235 156841 451864 95506 869159 61631 296168 279240 260130 901551 726353 298872 221580 982372 394731 720187 656498 595457 381795 759187 36...

output:

1165
2 0
6 2
14 6
30 14
62 30
14 30
6 14
2 6
0 2
0 1
2 0
10 2
0 2
1 0
3 2
1 3
5 1
13 5
77 13
5 13
1 5
3 1
2 3
2 3
0 2
4 0
12 4
44 12
4 12
0 4
2 0
3 2
5 4
69 5
4 5
7 5
3 7
11 3
7 3
5 7
2 6
18 2
82 18
210 82
18 82
2 18
6 2
6 7
22 6
54 22
6 22
7 6
9 8
137 9
8 9
8 9
10 8
138 10
8 10
9 8
14 12
10 14
2 10...

result:

wrong answer array is not sorted