QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#46637#1817. AND PermutationGuanYunchangWA 3ms5840kbC++142.9kb2022-08-30 16:25:162022-08-30 16:25:19

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 5828kb

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

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
0
384
0
116
214
211
160
0
55
246
58
114
0
0
209
190
168
0
168
195
81
0
277
5
192
0
67
198
0
192
63
184
122
0
259
240
47
0
0
224
27
0
192
21
126
35
257
182
228
170
0
416
194
192
13
112
46
250
188
226
224
210
202
11
25
154
194
1
149
61
215
164
198
0
49
41
422
200
0
192
0
0
69
200
214
7
180
267
204...

result:

wrong answer Output value not an unused input value.