QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#408187 | #5723. Carny Magician | lmq26052003 | AC ✓ | 63ms | 980320kb | C++17 | 2.5kb | 2024-05-09 19:51:11 | 2024-05-09 19:51:23 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 24ms
memory: 980080kb
input:
3 1 1
output:
1 3 2
result:
ok single line: '1 3 2 '
Test #2:
score: 0
Accepted
time: 51ms
memory: 980144kb
input:
3 2 1
output:
-1
result:
ok single line: '-1'
Test #3:
score: 0
Accepted
time: 55ms
memory: 980032kb
input:
5 3 7
output:
2 1 3 4 5
result:
ok single line: '2 1 3 4 5 '
Test #4:
score: 0
Accepted
time: 52ms
memory: 980084kb
input:
49 2 531768966090517377
output:
1 2 4 3 6 5 8 7 10 9 12 11 14 13 16 15 18 17 20 19 22 21 24 23 26 25 28 27 30 41 37 33 38 31 46 40 32 44 47 42 45 35 36 48 49 29 34 43 39
result:
ok single line: '1 2 4 3 6 5 8 7 10 9 12 11 14 ... 42 45 35 36 48 49 29 34 43 39 '
Test #5:
score: 0
Accepted
time: 39ms
memory: 980320kb
input:
32 9 769470542992117121
output:
1 2 3 4 5 6 7 8 9 11 10 13 29 20 32 19 18 27 31 12 26 30 22 25 17 28 24 16 14 23 15 21
result:
ok single line: '1 2 3 4 5 6 7 8 9 11 10 13 29 ... 22 25 17 28 24 16 14 23 15 21 '
Test #6:
score: 0
Accepted
time: 31ms
memory: 980068kb
input:
49 14 894400542924763905
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 16 15 18 17 20 19 22 21 24 23 26 25 28 27 30 49 29 43 47 44 41 39 36 42 46 31 33 37 38 40 32 35 48 45 34
result:
ok single line: '1 2 3 4 5 6 7 8 9 10 11 12 13 ... 31 33 37 38 40 32 35 48 45 34 '
Test #7:
score: 0
Accepted
time: 36ms
memory: 980116kb
input:
7 6 1
output:
-1
result:
ok single line: '-1'
Test #8:
score: 0
Accepted
time: 63ms
memory: 980316kb
input:
26 22 1
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24 23 26 25
result:
ok single line: '1 2 3 4 5 6 7 8 9 10 11 12 13 ... 17 18 19 20 21 22 24 23 26 25 '
Test #9:
score: 0
Accepted
time: 39ms
memory: 980132kb
input:
41 22 42931473586776961
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 41 28 34 35 40 39 24 37 30 23 36 26 27 33 31 29 25 32 38
result:
ok single line: '1 2 3 4 5 6 7 8 9 10 11 12 13 ... 23 36 26 27 33 31 29 25 32 38 '
Test #10:
score: 0
Accepted
time: 47ms
memory: 980144kb
input:
10 9 1
output:
-1
result:
ok single line: '-1'
Test #11:
score: 0
Accepted
time: 39ms
memory: 980112kb
input:
3 2 1
output:
-1
result:
ok single line: '-1'
Test #12:
score: 0
Accepted
time: 47ms
memory: 980236kb
input:
20 9 26243474
output:
1 2 3 4 5 6 7 8 10 18 16 14 15 17 12 13 19 11 9 20
result:
ok single line: '1 2 3 4 5 6 7 8 10 18 16 14 15 17 12 13 19 11 9 20 '
Test #13:
score: 0
Accepted
time: 44ms
memory: 980072kb
input:
32 27 75
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 28 31 29 32 30 27
result:
ok single line: '1 2 3 4 5 6 7 8 9 10 11 12 13 ... 23 24 25 26 28 31 29 32 30 27 '
Test #14:
score: 0
Accepted
time: 44ms
memory: 980064kb
input:
19 13 515
output:
1 2 3 4 5 6 7 8 9 10 11 12 14 19 17 13 15 18 16
result:
ok single line: '1 2 3 4 5 6 7 8 9 10 11 12 14 19 17 13 15 18 16 '
Test #15:
score: 0
Accepted
time: 15ms
memory: 980124kb
input:
34 3 981736676158966785
output:
1 2 3 5 4 7 6 9 8 11 10 13 12 16 14 32 33 31 21 27 20 19 15 30 17 24 29 26 25 23 28 34 18 22
result:
ok single line: '1 2 3 5 4 7 6 9 8 11 10 13 12 ... 17 24 29 26 25 23 28 34 18 22 '
Test #16:
score: 0
Accepted
time: 31ms
memory: 980044kb
input:
22 1 971652343027876993
output:
1 4 2 16 20 22 3 21 6 14 9 15 18 11 10 17 19 12 8 5 7 13
result:
ok single line: '1 4 2 16 20 22 3 21 6 14 9 15 18 11 10 17 19 12 8 5 7 13 '