QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#104023 | #6339. Cookies | BeyondHeaven | 12 | 68ms | 128244kb | C++17 | 2.2kb | 2023-05-08 11:14:21 | 2023-05-08 11:14:23 |
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: 0
Time Limit Exceeded
Test #1:
score: 6
Accepted
time: 2ms
memory: 3372kb
input:
1 1 1 1
output:
1 1 1
result:
ok good!
Test #2:
score: 0
Accepted
time: 2ms
memory: 5412kb
input:
2 1 1 1 1
output:
2 1 1 1 2
result:
ok good!
Test #3:
score: 0
Accepted
time: 2ms
memory: 3360kb
input:
2 1 1 1 2
output:
1 2 2 1
result:
ok good!
Test #4:
score: 0
Accepted
time: 0ms
memory: 3348kb
input:
2 1 1 2 1 2
output:
1 2 2 1
result:
ok good!
Test #5:
score: 0
Accepted
time: 1ms
memory: 3456kb
input:
4 1 1 1 1 2 2 3
output:
2 2 3 1 2 4 2
result:
ok good!
Test #6:
score: 0
Accepted
time: 0ms
memory: 5452kb
input:
8 1 1 1 1 1 1 1 1 3 1 4 5
output:
2 4 7 5 3 1 4 8 6 4 2
result:
ok good!
Test #7:
score: 0
Accepted
time: 68ms
memory: 128168kb
input:
500 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
500 1 329 1 344 1 343 1 342 1 341 1 340 1 339 1 338 1 337 1 336 1 335 1 334 1 333 1 332 1 331 1 330 1 345 1 328 1 327 1 326 1 325 1 324 1 323 1 322 1 321 1 320 1 319 1 318 1 317 1 316 1 315 1 314 1 360 1 375 1 374 1 373 1 372 1 371 1 370 1 369 1 368 1 367 1 ...
result:
ok good!
Test #8:
score: 0
Accepted
time: 65ms
memory: 127884kb
input:
500 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
1 500 158 159 160 161 162 163 164 165 166 167 168 169 170 171 1 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 172 127 128 129 130 131 132 133 134 135 136 137 138 139 140 157 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 141 221 222 223 224 225 226 227 228 229 230 231 232 ...
result:
ok good!
Test #9:
score: -6
Time Limit Exceeded
input:
500 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
result:
Subtask #2:
score: 0
Runtime Error
Test #28:
score: 7
Accepted
time: 2ms
memory: 5572kb
input:
1 15 1 1
output:
15 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
result:
ok good!
Test #29:
score: 0
Accepted
time: 3ms
memory: 128244kb
input:
1 500 1 1
output:
500 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
result:
ok good!
Test #30:
score: -7
Runtime Error
input:
1 3000 1 1
output:
result:
Subtask #3:
score: 12
Accepted
Test #45:
score: 12
Accepted
time: 3ms
memory: 5664kb
input:
2 7 8 2 1 2
output:
8 1 2 2 1 2 2 1 2 2 1 2 2 1 2 2 1 2 2 1 2 2 1 2
result:
ok good!
Test #46:
score: 0
Accepted
time: 2ms
memory: 5616kb
input:
3 5 4 6 2 2 3
output:
6 2 1 3 2 1 3 2 2 3 3 2 1 3 3 2 1 3 3 2 1 3
result:
ok good!
Test #47:
score: 0
Accepted
time: 0ms
memory: 5556kb
input:
3 4 2 9 3 1 2 3
output:
9 1 3 1 3 1 3 2 1 3 2 1 3 2 1 3 2 1 3 2 2 3 2 2 3
result:
ok good!
Test #48:
score: 0
Accepted
time: 1ms
memory: 5520kb
input:
4 3 5 4 3 2 3 4
output:
5 3 1 3 2 3 1 3 2 3 4 3 2 3 4 3 2 3 4 1 2
result:
ok good!
Test #49:
score: 0
Accepted
time: 3ms
memory: 7548kb
input:
4 1 4 5 5 3 1 3 4
output:
5 3 2 4 3 3 2 4 3 3 2 4 3 3 2 4 3 3 1 4 3
result:
ok good!
Test #50:
score: 0
Accepted
time: 2ms
memory: 7520kb
input:
4 3 3 6 3 3 2 3 4
output:
6 2 1 3 2 1 3 2 1 3 3 4 2 3 3 4 2 3 3 4 2 3
result:
ok good!
Test #51:
score: 0
Accepted
time: 1ms
memory: 5528kb
input:
5 4 3 3 3 1 3 2 4 5
output:
4 2 2 1 4 4 3 2 1 4 4 3 2 1 4 5 4 3 1
result:
ok good!
Test #52:
score: 0
Accepted
time: 2ms
memory: 5556kb
input:
5 4 3 3 3 2 3 3 4 5
output:
4 3 3 2 1 4 4 3 2 1 4 5 4 2 1 4 5 4 3 1
result:
ok good!
Test #53:
score: 0
Accepted
time: 0ms
memory: 7600kb
input:
5 4 4 4 2 1 3 2 4 5
output:
5 2 2 1 2 3 1 2 3 2 4 4 3 2 1 5 5 4 3 2 1
result:
ok good!
Test #54:
score: 0
Accepted
time: 1ms
memory: 5632kb
input:
5 3 3 3 3 3 3 1 2 4
output:
5 1 1 2 2 1 4 5 4 3 1 4 5 4 3 2 4 5 4 3 2
result:
ok good!
Test #55:
score: 0
Accepted
time: 3ms
memory: 5560kb
input:
6 3 3 3 2 2 2 3 2 4 6
output:
-1
result:
ok no solution
Test #56:
score: 0
Accepted
time: 3ms
memory: 7612kb
input:
6 3 3 3 2 2 2 3 2 5 6
output:
3 5 5 4 3 2 1 5 6 4 3 2 1 5 6 5 3 2 1
result:
ok good!
Test #57:
score: 0
Accepted
time: 2ms
memory: 5684kb
input:
6 4 4 3 2 1 1 3 1 3 5
output:
5 3 3 2 1 3 4 2 1 3 4 2 1 3 5 3 1 3 6 3 2
result:
ok good!
Test #58:
score: 0
Accepted
time: 3ms
memory: 7644kb
input:
6 7 2 2 2 1 1 5 2 3 4 5 6
output:
7 2 2 1 2 2 1 2 3 1 2 3 1 2 4 1 2 4 1 3 6 5 1
result:
ok good!
Test #59:
score: 0
Accepted
time: 3ms
memory: 7612kb
input:
7 3 3 3 2 2 1 1 3 1 4 6
output:
4 1 1 4 4 3 2 1 4 5 3 2 1 6 7 6 5 4 3 2
result:
ok good!
Test #60:
score: 0
Accepted
time: 2ms
memory: 5536kb
input:
7 4 4 3 1 1 1 1 3 1 4 6
output:
6 1 1 1 1 1 2 4 5 3 2 1 4 6 3 2 1 4 7 4 3 2
result:
ok good!
Test #61:
score: 0
Accepted
time: 1ms
memory: 5552kb
input:
8 2 2 2 2 2 2 2 1 6 1 2 3 4 6 7
output:
3 4 6 4 2 1 4 7 5 3 1 7 8 7 6 5 4 3 2
result:
ok good!
Test #62:
score: 0
Accepted
time: 0ms
memory: 3536kb
input:
8 3 3 3 2 1 1 1 1 4 4 6 7 8
output:
3 4 4 3 2 1 4 4 3 2 1 7 8 7 6 5 3 2 1
result:
ok good!
Test #63:
score: 0
Accepted
time: 2ms
memory: 3636kb
input:
8 4 3 3 1 1 1 1 1 4 1 6 7 8
output:
8 1 1 1 1 1 1 1 2 1 2 1 3 1 3 8 8 7 6 5 4 3 2 1
result:
ok good!
Test #64:
score: 0
Accepted
time: 2ms
memory: 3584kb
input:
9 4 3 2 1 1 1 1 1 1 4 3 4 5 7
output:
4 3 3 2 1 4 7 4 2 1 4 8 5 2 1 4 9 6 3 1
result:
ok good!
Test #65:
score: 0
Accepted
time: 2ms
memory: 3604kb
input:
12 3 2 1 1 1 1 1 1 1 1 1 1 9 1 4 5 6 7 8 9 10 11
output:
3 5 10 7 4 2 1 5 11 8 5 2 1 5 12 9 6 3 1
result:
ok good!
Test #66:
score: 0
Accepted
time: 2ms
memory: 3556kb
input:
14 2 1 1 1 1 1 1 1 1 1 1 1 1 1 14 1 2 3 4 5 6 7 8 9 10 11 12 13 14
output:
2 7 12 10 8 6 4 2 1 8 14 13 11 9 7 5 3 1
result:
ok good!
Test #67:
score: 0
Accepted
time: 2ms
memory: 3456kb
input:
4 2 2 2 1 2 1 4
output:
4 1 1 1 2 1 3 4 4 3 2 1
result:
ok good!
Subtask #4:
score: 0
Skipped
Dependency #1:
0%
Subtask #5:
score: 0
Skipped
Dependency #4:
0%
Subtask #6:
score: 0
Skipped
Dependency #1:
0%