QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#279160#1817. AND Permutationlmq26052003WA 1ms3488kbC++201.0kb2023-12-08 12:31:512023-12-08 12:31:52

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

6
0
1
4
5
2
6

output:

6
4
2
0
5
1

result:

ok OK!

Test #2:

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

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:

0
100
128
392
52
214
275
236
299
55
388
58
50
122
398
273
318
136
160
174
0
81
114
92
4
132
267
3
262
283
256
63
190
82
337
67
320
47
281
339
288
27
289
140
21
126
35
96
311
292
38
145
129
0
206
13
0
46
394
180
290
195
146
0
10
25
242
258
0
228
61
215
200
6
303
49
41
166
130
301
222
149
88
5
264
278...

result:

wrong answer Output value not an unused input value.