QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#81383#1968. Science FictionGuanYunchangWA 2ms3484kbC++201.3kb2023-02-25 14:42:192023-02-25 14:42:20

详细

Test #1:

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

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: 3376kb

input:

1
10 100

output:

0

result:

ok nice! 0 moves

Test #3:

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

input:

1
824838 992401

output:

0

result:

ok nice! 0 moves

Test #4:

score: 0
Accepted
time: 1ms
memory: 3396kb

input:

2
208395 17211 250690 874014

output:

1
0 1

result:

ok nice! 1 moves

Test #5:

score: -100
Wrong Answer
time: 2ms
memory: 3416kb

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:

989
30 62
14 30
6 14
2 6
0 2
2 10
0 2
1 0
13 77
5 13
1 5
3 1
2 3
12 44
4 12
0 4
2 0
3 2
5 69
4 5
3 11
7 3
5 7
82 210
18 82
2 18
6 2
22 54
6 22
7 6
9 137
8 9
10 138
8 10
9 8
43 171
11 43
10 11
67 195
3 67
11 3
66 194
2 66
10 2
14 10
12 14
53 117
21 53
5 21
13 5
12 28
14 12
17 49
1 17
9 1
13 9
15 13
3...

result:

wrong answer array is not sorted