QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#233634#1968. Science FictionZhaoZiLongWA 1ms3516kbC++201.7kb2023-10-31 20:40:302023-10-31 20:40:30

详细

Test #1:

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

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

input:

1
10 100

output:

0

result:

ok nice! 0 moves

Test #3:

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

input:

1
824838 992401

output:

0

result:

ok nice! 0 moves

Test #4:

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

input:

2
208395 17211 250690 874014

output:

1
0 1

result:

ok nice! 1 moves

Test #5:

score: -100
Wrong Answer
time: 1ms
memory: 3516kb

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:

535
0 128
1 129
2 130
3 131
5 133
6 134
7 135
9 137
12 140
14 142
16 144
17 145
18 146
20 148
21 149
22 150
27 155
32 160
39 167
42 170
43 171
46 174
47 175
50 178
51 179
52 180
53 181
57 185
58 186
63 191
64 192
65 193
66 194
67 195
72 200
74 202
75 203
78 206
80 208
82 210
86 214
87 215
88 216
89 ...

result:

wrong answer array is not sorted