QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#41615#3836. So I'll Max Out My Constructive Algorithm SkillsZhaoZiLongWA 2ms1772kbC++14654b2022-07-31 13:27:002022-07-31 13:27:02

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
2
4 3
2 1

output:

4 2 1 3

result:

ok correct

Test #2:

score: -100
Wrong Answer
time: 2ms
memory: 1764kb

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

result:

wrong answer Integer 65 violates the range [1, 49]