QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#415022#1817. AND PermutationPrinceton_TigersWA 1ms10152kbC++141.3kb2024-05-20 08:15:232024-05-20 08:15:23

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

6
0
1
4
5
2
6

output:

6
4
1
2
5
0

result:

ok OK!

Test #2:

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

input:

272
315
138
126
6
394
297
44
273
84
200
9
197
396
133
16
46
65
87
86
336
316
174
140
162
250
306
52
188
57
36
63
192
320
388
10
156
15
208
38
32
31
228
30
305
234
384
220
142
72
27
337
110
94
317
304
242
398
209
5
323
29
284
301
309
244
230
261
61
254
266
194
296
275
313
80
206
214
88
308
18
288
106...

output:

132
277
257
416
36
86
211
142
299
55
246
58
34
312
230
209
318
296
297
162
129
0
275
336
0
68
0
0
198
394
192
63
154
33
180
323
240
47
392
398
224
27
0
78
21
37
0
273
311
228
166
272
289
130
131
13
32
46
282
156
386
35
82
74
11
16
122
194
0
149
61
87
140
134
303
49
41
295
67
172
71
276
337
0
200
214...

result:

wrong answer Output value not an unused input value.