QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#279346#1817. AND Permutationlmq26052003WA 1ms3444kbC++201.6kb2023-12-08 16:23:472023-12-08 16:23:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 1ms
memory: 3444kb

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
256
129
1
116
214
83
160
43
311
22
314
114
256
15
81
62
40
41
168
195
272
256
284
261
192
72
323
70
64
64
319
184
122
21
288
16
303
64
24
32
283
32
192
277
126
291
256
55
36
170
128
33
194
192
269
112
302
2
188
34
224
210
202
267
281
154
66
257
149
317
215
164
198
47
305
297
39
200
13
192
132
28...

result:

wrong answer Output value not an unused input value.