QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#102958#1968. Science FictionZhangYiDeWA 2ms3532kbC++202.0kb2023-05-03 20:40:412023-05-03 20:40:42

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
3 2 10 4

output:

2
0 1
2 3

result:

ok nice! 2 moves

Test #2:

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

input:

1
10 100

output:

0

result:

ok nice! 0 moves

Test #3:

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

input:

1
824838 992401

output:

0

result:

ok nice! 0 moves

Test #4:

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

input:

2
208395 17211 250690 874014

output:

1
0 1

result:

ok nice! 1 moves

Test #5:

score: -100
Wrong Answer
time: 0ms
memory: 3532kb

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:

259
0 1
2 3
4 6
5 7
8 10
9 11
11 15
12 13
14 15
16 17
16 24
17 19
18 19
18 26
19 23
20 21
20 28
21 23
21 29
22 30
23 31
32 33
32 34
33 35
33 49
34 38
34 50
35 39
35 43
36 37
36 44
37 39
37 45
38 54
39 47
40 41
40 56
41 57
42 43
43 59
45 61
46 62
47 63
48 49
49 51
51 55
51 59
53 55
58 59
58 62
64 65
...

result:

wrong answer array is not sorted