QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#18691#91. Secret Permutationjolt10 360ms3888kbC++201.1kb2022-01-24 10:34:362022-05-06 02:07:32

詳細信息

Subtask #1:

score: 3
Acceptable Answer

Test #1:

score: 3
Acceptable Answer
time: 1ms
memory: 3840kb

input:

7
5 7 1 3 2 4 6

output:

0 65 1050790

result:

points 0.20 65 steps

Test #2:

score: 15
Accepted
time: 3ms
memory: 3788kb

input:

4
3 4 2 1

output:

0 3 0

result:

points 1.0 3 steps

Test #3:

score: 7.75
Acceptable Answer
time: 1ms
memory: 3808kb

input:

6
3 5 4 2 6 1

output:

0 17 0

result:

points 0.51666666670 17 steps

Test #4:

score: 5.4
Acceptable Answer
time: 1ms
memory: 3820kb

input:

7
5 7 2 6 4 3 1

output:

0 35 0

result:

points 0.360 35 steps

Test #5:

score: 5.22857
Acceptable Answer
time: 3ms
memory: 3832kb

input:

7
7 4 6 2 1 3 5

output:

0 36 9010

result:

points 0.34857142860 36 steps

Test #6:

score: 3
Acceptable Answer
time: 1ms
memory: 3832kb

input:

7
1 2 6 5 4 7 3

output:

0 65 11756225322523

result:

points 0.20 65 steps

Subtask #2:

score: 7
Acceptable Answer

Dependency #1:

20%
Acceptable Answer

Test #7:

score: 7
Acceptable Answer
time: 275ms
memory: 3888kb

input:

50
33 8 50 28 6 40 15 17 22 11 30 32 23 10 27 48 13 16 29 24 43 44 9 45 47 4 5 25 42 41 2 14 21 35 19 12 7 36 1 46 26 3 49 34 18 20 37 31 38 39

output:

0 82503 11685440196884524

result:

points 0.20 82503 steps

Test #8:

score: 7
Acceptable Answer
time: 60ms
memory: 3888kb

input:

50
36 39 40 31 28 48 24 20 35 25 26 19 9 23 34 49 6 33 21 32 10 7 16 37 5 45 3 15 27 17 22 47 30 29 12 38 42 46 8 18 11 50 41 4 1 13 43 44 2 14

output:

0 17401 15214

result:

points 0.20 17401 steps

Test #9:

score: 7
Acceptable Answer
time: 182ms
memory: 3736kb

input:

46
28 27 22 38 31 20 18 16 3 25 8 29 4 34 23 33 36 10 12 24 30 40 7 17 6 13 39 26 9 32 21 19 42 44 41 5 14 15 35 11 37 46 45 1 2 43

output:

0 67715 393

result:

points 0.20 67715 steps

Test #10:

score: 7
Acceptable Answer
time: 179ms
memory: 3680kb

input:

50
16 26 25 42 9 49 18 33 31 12 15 37 3 38 45 10 22 19 14 39 8 32 28 30 1 46 20 5 2 21 41 50 40 11 36 4 29 43 23 17 13 44 47 27 48 24 35 7 34 6

output:

0 52605 6567

result:

points 0.20 52605 steps

Test #11:

score: 7
Acceptable Answer
time: 125ms
memory: 3832kb

input:

42
21 9 33 35 4 32 8 34 20 39 25 10 17 11 41 18 2 29 27 38 22 16 15 13 1 5 26 23 36 42 30 19 24 40 37 6 12 28 31 14 7 3

output:

0 56451 2859113345761375251

result:

points 0.20 56451 steps

Test #12:

score: 7
Acceptable Answer
time: 235ms
memory: 3816kb

input:

49
11 41 33 26 3 31 34 17 1 14 13 39 48 24 12 15 21 29 18 46 20 30 35 28 44 22 45 16 25 8 49 27 10 37 43 5 9 40 6 42 38 36 2 7 23 32 4 47 19

output:

0 76932 25506386

result:

points 0.20 76932 steps

Test #13:

score: 7
Acceptable Answer
time: 240ms
memory: 3692kb

input:

46
40 41 17 10 27 32 14 18 7 8 38 19 12 24 44 28 16 36 29 11 35 45 42 2 4 22 46 31 20 39 26 37 9 1 5 15 23 43 33 30 25 21 34 6 13 3

output:

0 88966 22808398

result:

points 0.20 88966 steps

Test #14:

score: 7
Acceptable Answer
time: 360ms
memory: 3688kb

input:

50
28 26 22 1 50 34 36 45 15 8 37 33 44 27 31 16 47 25 38 21 5 23 29 39 35 3 20 42 41 13 17 49 43 24 40 2 48 14 46 11 18 9 19 32 30 12 4 10 6 7

output:

0 110003 13329558

result:

points 0.20 110003 steps

Test #15:

score: 7
Acceptable Answer
time: 327ms
memory: 3792kb

input:

50
33 41 38 49 34 15 36 44 28 32 20 8 18 45 26 5 21 40 17 23 27 1 46 7 42 9 47 35 13 12 16 29 2 31 22 19 10 30 39 11 43 50 25 37 4 24 3 6 48 14

output:

0 100003 15214

result:

points 0.20 100003 steps

Test #16:

score: 7
Acceptable Answer
time: 232ms
memory: 3824kb

input:

50
30 18 24 4 38 48 41 3 37 17 47 14 9 12 23 50 45 10 21 6 32 36 25 27 49 44 40 46 7 16 35 8 29 11 2 34 33 28 19 42 15 5 26 31 20 22 39 43 1 13

output:

0 70003 7037

result:

points 0.20 70003 steps

Subtask #3:

score: 0
Time Limit Exceeded

Dependency #1:

20%
Acceptable Answer

Dependency #2:

20%
Acceptable Answer

Test #17:

score: 0
Time Limit Exceeded

input:

256
60 184 194 99 230 67 22 54 231 118 124 69 41 248 254 88 66 123 180 152 256 52 56 201 160 21 74 188 165 244 97 10 179 91 176 232 42 61 228 111 83 164 182 197 134 71 100 103 252 211 222 172 240 221 250 65 174 155 26 183 77 140 92 2 154 110 198 39 129 223 234 33 116 102 9 122 53 216 203 105 148 20 ...

output:

Unauthorized output

result: