QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#46644#1817. AND PermutationZhangYiDeWA 3ms5848kbC++143.0kb2022-08-30 16:31:052022-08-30 16:31:06

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 5752kb

input:

6
0
1
4
5
2
6

output:

4
6
0
2
5
1

result:

ok OK!

Test #2:

score: -100
Wrong Answer
time: 3ms
memory: 5848kb

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:

196
100
384
224
116
214
208
160
131
48
246
314
114
106
228
208
190
128
129
168
195
81
98
277
5
192
200
64
192
216
192
56
184
122
228
259
240
40
216
216
224
0
224
192
21
126
35
257
182
228
170
144
416
194
192
13
112
302
250
188
224
224
210
202
11
25
154
192
1
149
317
215
164
198
166
49
297
422
200
22...

result:

wrong answer Output value not an unused input value.