QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#455960 | #91. Secret Permutation | ucup-team3690 | 100 ✓ | 299ms | 4072kb | C++20 | 1.8kb | 2024-06-27 04:45:25 | 2024-06-27 04:45:26 |
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
Subtask #1:
score: 15
Accepted
Test #1:
score: 15
Accepted
time: 1ms
memory: 3740kb
input:
7 5 7 1 3 2 4 6
output:
0 7 1050790
result:
points 1.0 7 steps
Test #2:
score: 15
Accepted
time: 0ms
memory: 3672kb
input:
4 3 4 2 1
output:
0 4 0
result:
points 1.0 4 steps
Test #3:
score: 15
Accepted
time: 0ms
memory: 3852kb
input:
6 3 5 4 2 6 1
output:
0 6 0
result:
points 1.0 6 steps
Test #4:
score: 15
Accepted
time: 0ms
memory: 3772kb
input:
7 5 7 2 6 4 3 1
output:
0 7 0
result:
points 1.0 7 steps
Test #5:
score: 15
Accepted
time: 0ms
memory: 3840kb
input:
7 7 4 6 2 1 3 5
output:
0 7 9010
result:
points 1.0 7 steps
Test #6:
score: 15
Accepted
time: 0ms
memory: 4052kb
input:
7 1 2 6 5 4 7 3
output:
0 7 11756225322523
result:
points 1.0 7 steps
Subtask #2:
score: 35
Accepted
Dependency #1:
100%
Accepted
Test #7:
score: 35
Accepted
time: 0ms
memory: 3672kb
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 50 11685440196884524
result:
points 1.0 50 steps
Test #8:
score: 35
Accepted
time: 1ms
memory: 3768kb
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 50 15214
result:
points 1.0 50 steps
Test #9:
score: 35
Accepted
time: 1ms
memory: 3680kb
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 46 393
result:
points 1.0 46 steps
Test #10:
score: 35
Accepted
time: 0ms
memory: 3788kb
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 50 6567
result:
points 1.0 50 steps
Test #11:
score: 35
Accepted
time: 0ms
memory: 3984kb
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 42 2859113345761375251
result:
points 1.0 42 steps
Test #12:
score: 35
Accepted
time: 0ms
memory: 3772kb
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 49 25506386
result:
points 1.0 49 steps
Test #13:
score: 35
Accepted
time: 0ms
memory: 4052kb
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 46 22808398
result:
points 1.0 46 steps
Test #14:
score: 35
Accepted
time: 0ms
memory: 3996kb
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 50 13329558
result:
points 1.0 50 steps
Test #15:
score: 35
Accepted
time: 0ms
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 50 15214
result:
points 1.0 50 steps
Test #16:
score: 35
Accepted
time: 1ms
memory: 3888kb
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 50 7037
result:
points 1.0 50 steps
Subtask #3:
score: 50
Accepted
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Test #17:
score: 50
Accepted
time: 14ms
memory: 3872kb
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:
0 256 0
result:
points 1.0 256 steps
Test #18:
score: 50
Accepted
time: 17ms
memory: 3696kb
input:
245 81 214 159 82 233 138 128 62 70 72 221 164 126 2 141 13 56 44 49 166 196 112 50 189 40 201 10 218 231 101 229 122 45 212 175 176 154 147 93 241 54 32 236 1 145 15 69 39 202 137 88 239 181 68 90 118 178 114 95 207 102 4 46 139 96 99 190 25 107 48 191 108 71 132 180 183 149 55 121 169 52 19 242 10...
output:
0 245 0
result:
points 1.0 245 steps
Test #19:
score: 50
Accepted
time: 13ms
memory: 4072kb
input:
244 142 45 111 20 44 80 168 13 202 109 224 79 218 220 165 42 99 198 18 35 48 147 68 156 102 151 60 195 106 92 197 229 51 139 242 133 34 3 30 216 91 5 209 12 171 150 132 188 231 39 50 74 67 179 72 145 88 158 98 210 16 141 28 201 167 205 23 22 164 235 204 192 181 222 117 180 200 138 214 206 61 135 149...
output:
0 244 345743
result:
points 1.0 244 steps
Test #20:
score: 50
Accepted
time: 18ms
memory: 4012kb
input:
256 174 156 208 89 4 180 248 17 217 48 211 143 25 223 102 28 230 43 18 119 232 226 86 61 1 204 129 244 130 203 162 81 177 154 6 38 134 215 126 94 194 16 42 62 27 191 219 108 196 198 73 181 14 74 12 67 137 253 117 23 151 9 60 127 206 107 239 112 212 87 235 158 95 26 147 40 46 69 152 234 121 176 52 21...
output:
0 256 63212796440
result:
points 1.0 256 steps
Test #21:
score: 50
Accepted
time: 21ms
memory: 3824kb
input:
249 177 173 130 231 197 42 154 175 187 68 170 240 86 204 235 27 142 61 58 138 56 148 35 135 23 5 213 121 82 216 94 48 159 117 77 53 184 239 110 34 13 21 90 211 126 218 171 10 198 206 98 132 73 96 25 95 136 43 12 248 125 45 190 24 41 166 46 40 47 169 232 99 79 217 219 246 66 71 55 229 185 220 199 164...
output:
0 249 5457
result:
points 1.0 249 steps
Test #22:
score: 50
Accepted
time: 23ms
memory: 3756kb
input:
244 224 22 79 108 46 33 213 232 174 127 227 96 107 106 154 216 217 197 100 48 73 230 76 8 118 139 147 188 152 64 221 97 219 53 72 150 91 195 235 42 44 143 164 218 68 71 74 220 204 10 25 80 37 30 103 149 179 170 142 238 63 211 51 52 225 198 43 6 187 18 120 117 11 132 67 192 5 34 202 87 122 14 104 168...
output:
0 244 1678513702804001492
result:
points 1.0 244 steps
Test #23:
score: 50
Accepted
time: 18ms
memory: 3736kb
input:
248 20 5 141 204 55 134 170 61 243 241 24 196 56 11 99 93 221 223 94 2 158 212 233 64 173 7 184 207 151 143 79 102 177 133 125 200 205 37 110 172 194 131 185 78 197 135 49 81 154 74 46 113 27 76 15 97 215 4 138 174 121 224 188 166 150 140 1 160 195 202 248 117 71 58 111 22 163 66 206 210 3 222 211 1...
output:
0 248 765842267
result:
points 1.0 248 steps
Test #24:
score: 50
Accepted
time: 299ms
memory: 3808kb
input:
256 238 131 133 29 91 110 85 105 220 109 18 66 126 241 118 186 51 35 234 185 250 201 226 178 103 227 72 232 243 124 99 246 116 42 142 189 184 24 113 165 107 76 214 59 115 136 129 138 199 36 210 170 207 148 49 83 14 64 9 84 202 206 195 114 219 12 149 179 30 153 61 38 121 37 111 123 108 48 140 221 225...
output:
0 256 459191
result:
points 1.0 256 steps
Test #25:
score: 50
Accepted
time: 25ms
memory: 3732kb
input:
256 106 104 174 248 4 2 217 214 162 65 26 72 219 27 88 12 53 48 136 200 190 167 125 83 128 95 93 103 117 31 185 166 113 232 66 243 3 58 169 194 23 120 218 251 131 108 141 110 196 89 71 98 207 13 255 164 96 8 137 222 22 154 249 24 74 91 75 173 123 158 148 208 9 245 230 92 82 177 6 175 84 121 51 160 1...
output:
0 256 426979
result:
points 1.0 256 steps
Test #26:
score: 50
Accepted
time: 18ms
memory: 3916kb
input:
256 143 168 256 252 17 199 61 196 241 50 242 62 48 147 181 248 89 246 67 87 193 117 14 232 132 182 227 69 166 15 115 234 96 237 253 54 51 8 133 230 171 243 154 183 165 217 150 223 18 184 159 73 19 176 52 116 13 26 22 66 213 3 197 144 11 75 192 135 99 24 49 84 53 86 215 31 140 60 103 101 12 236 44 23...
output:
0 256 2028
result:
points 1.0 256 steps