QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#233557#1968. Science FictionGuanYunchangWA 0ms3812kbC++201.5kb2023-10-31 19:40:282023-10-31 19:40:28

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
3 2 10 4

output:

2
0 1
2 3

result:

ok nice! 2 moves

Test #2:

score: 0
Accepted
time: 0ms
memory: 3600kb

input:

1
10 100

output:

0

result:

ok nice! 0 moves

Test #3:

score: 0
Accepted
time: 0ms
memory: 3812kb

input:

1
824838 992401

output:

0

result:

ok nice! 0 moves

Test #4:

score: 0
Accepted
time: 0ms
memory: 3608kb

input:

2
208395 17211 250690 874014

output:

1
0 1

result:

ok nice! 1 moves

Test #5:

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

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:

250
0 62
1 10
2 77
3 44
4 69
5 11
6 210
7 54
8 137
9 138
10 171
11 195
12 194
13 117
14 28
15 49
16 94
17 180
18 76
19 255
20 26
21 185
22 175
23 144
25 116
26 152
27 248
28 49
29 228
30 145
31 178
32 57
33 35
34 95
35 109
36 167
37 239
38 160
39 149
40 186
41 216
42 230
43 92
44 203
45 249
46 148
4...

result:

wrong answer invalid swap pair