QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#58295#3836. So I'll Max Out My Constructive Algorithm SkillsZhaoZiLongWA 5ms3592kbC++111.7kb2022-10-25 19:55:482022-10-25 19:55:50

詳細信息

Test #1:

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

input:

1
2
4 3
2 1

output:

4 3 1 2

result:

ok correct

Test #2:

score: -100
Wrong Answer
time: 5ms
memory: 3592kb

input:

100
9
30 75 35 51 25 19 76 65 62
11 56 63 60 77 48 28 26 74
16 44 46 41 17 8 66 61 42
29 7 43 38 40 31 27 10 39
52 23 58 80 50 20 33 69 47
79 1 5 49 22 37 71 18 70
54 72 4 64 55 34 12 6 15
14 53 45 13 32 59 73 57 81
36 3 78 24 2 68 9 67 21
7
11 28 2 19 9 41 24
17 34 5 10 42 18 47
33 35 22 8 49 1 29
...

output:

21 67 9 68 2 24 78 3 36 14 53 45 13 32 59 73 57 81 15 6 12 34 55 64 4 72 54 79 1 5 49 22 37 71 18 70 47 69 33 20 50 80 58 23 52 29 7 43 38 40 31 27 10 39 42 61 66 8 17 41 46 44 16 11 56 63 60 77 48 28 26 74 62 65 76 19 25 51 35 75 30
4 15 38 40 23 31 21 46 27 16 45 48 32 13 30 43 36 25 6 37 39 14 20...

result:

wrong answer [case 1] Not lazy, up = 43, down = 37