QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#58342#3836. So I'll Max Out My Constructive Algorithm SkillsHuangHanShengWA 13ms3816kbC++111.9kb2022-10-25 21:54:502022-10-25 21:54:53

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
2
4 3
2 1

output:

4 3 1 2

result:

ok correct

Test #2:

score: -100
Wrong Answer
time: 13ms
memory: 3816kb

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:

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

result:

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