QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#620927#1093. Bookcase Solidity UnitedcarrotqqTL 3181ms4216kbC++141.4kb2024-10-07 22:23:562024-10-07 22:23:56

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 42ms
memory: 4044kb

input:

3
8 1 2

output:

8 8 8 

result:

ok 3 number(s): "8 8 8"

Test #2:

score: 0
Accepted
time: 83ms
memory: 4216kb

input:

5
10 3 3 8 4

output:

10 10 11 17 17 

result:

ok 5 number(s): "10 10 11 17 17"

Test #3:

score: 0
Accepted
time: 10ms
memory: 4012kb

input:

1
1

output:

1 

result:

ok 1 number(s): "1"

Test #4:

score: 0
Accepted
time: 10ms
memory: 4000kb

input:

1
150

output:

150 

result:

ok 1 number(s): "150"

Test #5:

score: 0
Accepted
time: 24ms
memory: 4212kb

input:

2
80 82

output:

80 122 

result:

ok 2 number(s): "80 122"

Test #6:

score: 0
Accepted
time: 24ms
memory: 4136kb

input:

2
4 76

output:

4 78 

result:

ok 2 number(s): "4 78"

Test #7:

score: 0
Accepted
time: 24ms
memory: 3944kb

input:

2
32 124

output:

32 140 

result:

ok 2 number(s): "32 140"

Test #8:

score: 0
Accepted
time: 25ms
memory: 4144kb

input:

2
2 119

output:

2 120 

result:

ok 2 number(s): "2 120"

Test #9:

score: 0
Accepted
time: 82ms
memory: 4040kb

input:

5
4 82 94 39 20

output:

4 84 137 137 137 

result:

ok 5 number(s): "4 84 137 137 137"

Test #10:

score: 0
Accepted
time: 133ms
memory: 4064kb

input:

7
85 49 150 12 50 94 113

output:

85 92 218 218 230 274 337 

result:

ok 7 numbers

Test #11:

score: 0
Accepted
time: 162ms
memory: 4064kb

input:

8
105 33 66 143 120 43 62 47

output:

105 105 138 246 295 295 327 343 

result:

ok 8 numbers

Test #12:

score: 0
Accepted
time: 199ms
memory: 4104kb

input:

9
43 123 72 93 32 65 43 71 81

output:

43 145 156 213 213 248 259 309 355 

result:

ok 9 numbers

Test #13:

score: 0
Accepted
time: 204ms
memory: 4016kb

input:

9
20 77 41 80 120 75 75 69 120

output:

20 87 90 150 230 245 283 315 401 

result:

ok 9 numbers

Test #14:

score: 0
Accepted
time: 201ms
memory: 4064kb

input:

9
148 134 18 2 12 130 107 12 122

output:

148 208 208 208 208 287 329 329 404 

result:

ok 9 numbers

Test #15:

score: 0
Accepted
time: 201ms
memory: 4040kb

input:

9
117 96 145 139 146 36 140 2 12

output:

117 155 252 319 396 396 481 481 481 

result:

ok 9 numbers

Test #16:

score: 0
Accepted
time: 201ms
memory: 4144kb

input:

9
49 95 10 14 38 45 22 141 109

output:

49 120 120 120 139 157 157 279 318 

result:

ok 9 numbers

Test #17:

score: 0
Accepted
time: 199ms
memory: 4100kb

input:

9
27 57 136 48 126 100 54 131 149

output:

27 71 179 179 261 298 302 406 490 

result:

ok 9 numbers

Test #18:

score: 0
Accepted
time: 203ms
memory: 4152kb

input:

9
108 10 9 81 64 110 86 121 47

output:

108 108 108 145 169 247 278 356 356 

result:

ok 9 numbers

Test #19:

score: 0
Accepted
time: 205ms
memory: 4076kb

input:

9
86 114 128 106 2 15 119 64 40

output:

86 157 228 270 270 270 345 350 358 

result:

ok 9 numbers

Test #20:

score: 0
Accepted
time: 202ms
memory: 4092kb

input:

9
56 76 105 140 90 25 1 54 80

output:

56 104 171 259 279 279 279 305 355 

result:

ok 9 numbers

Test #21:

score: 0
Accepted
time: 199ms
memory: 4064kb

input:

9
65 48 35 8 83 91 54 39 119

output:

65 81 92 92 162 212 221 233 333 

result:

ok 9 numbers

Test #22:

score: 0
Accepted
time: 202ms
memory: 4080kb

input:

9
8 7 8 96 5 6 63 7 9

output:

8 11 16 108 108 108 129 129 129 

result:

ok 9 numbers

Test #23:

score: 0
Accepted
time: 201ms
memory: 4044kb

input:

9
2 3 1 3 103 96 3 48 55

output:

2 4 4 7 109 154 154 157 188 

result:

ok 9 numbers

Test #24:

score: 0
Accepted
time: 200ms
memory: 4012kb

input:

9
94 8 124 8 111 96 3 149 131

output:

94 94 175 175 228 269 269 372 429 

result:

ok 9 numbers

Test #25:

score: 0
Accepted
time: 202ms
memory: 4196kb

input:

9
95 3 3 6 7 131 9 2 128

output:

95 95 95 95 97 190 190 190 259 

result:

ok 9 numbers

Test #26:

score: 0
Accepted
time: 197ms
memory: 4060kb

input:

9
100 91 102 83 6 7 9 1 148

output:

100 141 198 230 230 230 230 230 350 

result:

ok 9 numbers

Test #27:

score: 0
Accepted
time: 195ms
memory: 4132kb

input:

9
150 1 1 1 1 1 1 1 75

output:

150 150 150 150 150 150 150 150 157 

result:

ok 9 numbers

Test #28:

score: 0
Accepted
time: 345ms
memory: 4096kb

input:

12
83 48 85 145 21 45 141 122 119 6 63 147

output:

83 90 151 254 254 263 357 409 467 467 474 590 

result:

ok 12 numbers

Test #29:

score: 0
Accepted
time: 546ms
memory: 4016kb

input:

16
139 2 82 148 115 121 127 65 115 31 13 18 59 12 22 52

output:

139 139 153 260 301 365 432 434 517 517 517 521 559 559 565 595 

result:

ok 16 numbers

Test #30:

score: 0
Accepted
time: 811ms
memory: 4076kb

input:

20
140 109 38 129 125 11 36 142 129 113 71 24 55 27 99 18 115 30 107 97

output:

140 179 179 273 334 334 339 438 496 545 560 560 592 592 678 678 753 753 818 862 

result:

ok 20 numbers

Test #31:

score: 0
Accepted
time: 805ms
memory: 4072kb

input:

20
131 119 91 93 132 16 80 102 85 53 127 118 100 49 115 46 96 86 129 10

output:

131 185 217 265 351 351 373 435 469 480 581 636 677 677 767 767 829 867 953 953 

result:

ok 20 numbers

Test #32:

score: 0
Accepted
time: 808ms
memory: 4012kb

input:

20
122 137 106 103 35 22 86 107 87 104 78 4 92 109 27 127 12 142 2 132

output:

122 198 236 286 286 286 350 414 448 509 535 535 590 653 653 740 740 825 825 887 

result:

ok 20 numbers

Test #33:

score: 0
Accepted
time: 815ms
memory: 4212kb

input:

20
68 148 17 21 34 27 91 29 90 148 125 144 138 78 35 51 143 94 78 37

output:

68 182 182 182 198 206 250 250 310 413 464 546 612 621 621 653 769 792 823 823 

result:

ok 20 numbers

Test #34:

score: 0
Accepted
time: 814ms
memory: 4196kb

input:

20
59 54 70 136 87 78 89 35 84 50 30 133 137 92 97 87 21 150 55 9

output:

59 84 127 228 247 282 332 332 390 398 403 521 592 616 667 706 706 824 824 824 

result:

ok 20 numbers

Test #35:

score: 0
Accepted
time: 811ms
memory: 4132kb

input:

20
149 61 107 39 4 2 3 2 65 8 6 99 3 5 10 86 2 102 1 33

output:

149 149 213 213 213 213 213 213 258 258 258 325 325 325 325 372 372 432 432 433 

result:

ok 20 numbers

Test #36:

score: 0
Accepted
time: 814ms
memory: 4016kb

input:

20
113 135 3 2 48 2 1 3 98 3 3 17 2 2 2 69 100 2 3 6

output:

113 192 192 192 196 196 196 196 254 254 254 257 257 257 257 290 356 356 356 356 

result:

ok 20 numbers

Test #37:

score: 0
Accepted
time: 810ms
memory: 4096kb

input:

20
149 128 1 120 7 139 2 9 1 3 149 110 10 121 103 147 79 1 92 149

output:

149 203 203 260 260 343 343 343 343 343 432 468 468 539 582 678 684 684 738 841 

result:

ok 20 numbers

Test #38:

score: 0
Accepted
time: 813ms
memory: 4080kb

input:

20
82 5 3 3 7 9 8 7 9 4 10 10 111 7 6 3 8 9 6 111

output:

82 82 82 82 84 87 90 92 98 98 106 111 193 193 193 193 195 198 199 270 

result:

ok 20 numbers

Test #39:

score: 0
Accepted
time: 814ms
memory: 4072kb

input:

20
118 100 2 7 1 10 9 4 5 118 1 72 3 10 1 136 2 4 5 137

output:

118 159 159 159 159 160 162 162 164 248 248 262 262 262 262 370 370 370 370 445 

result:

ok 20 numbers

Test #40:

score: 0
Accepted
time: 815ms
memory: 4080kb

input:

20
4 7 8 10 2 3 108 5 8 10 7 105 1 8 73 7 6 10 79 128

output:

4 9 14 20 20 21 126 126 126 126 127 193 193 193 219 219 219 220 274 363 

result:

ok 20 numbers

Test #41:

score: 0
Accepted
time: 812ms
memory: 4112kb

input:

20
1 5 2 8 126 125 8 10 134 138 7 86 6 1 7 3 135 9 8 9

output:

1 6 6 13 135 197 197 197 278 349 349 370 370 370 370 370 472 472 472 472 

result:

ok 20 numbers

Test #42:

score: 0
Accepted
time: 812ms
memory: 4152kb

input:

20
7 8 9 1 2 148 104 3 111 4 99 10 9 5 9 5 150 135 9 127

output:

7 12 17 17 17 163 193 193 254 254 300 300 300 300 303 304 422 482 482 547 

result:

ok 20 numbers

Test #43:

score: 0
Accepted
time: 798ms
memory: 4156kb

input:

20
150 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 75

output:

150 150 150 150 150 150 150 150 151 152 153 154 155 156 157 158 159 160 161 168 

result:

ok 20 numbers

Test #44:

score: 0
Accepted
time: 2377ms
memory: 4144kb

input:

38
53 105 81 84 4 132 24 122 130 95 17 124 94 27 78 113 34 46 13 14 106 128 114 69 5 46 16 134 98 117 14 94 73 131 117 105 112 20

output:

53 132 161 205 205 297 297 365 434 464 464 550 582 582 627 701 701 719 719 722 805 880 930 942 942 957 957 1076 1107 1175 1175 1218 1244 1339 1391 1438 1498 1498 

result:

ok 38 numbers

Test #45:

score: 0
Accepted
time: 3181ms
memory: 4016kb

input:

45
77 104 127 141 83 10 87 27 58 58 1 121 82 26 55 39 147 116 54 31 88 89 75 138 74 32 89 5 106 13 95 114 51 147 123 82 81 17 137 98 103 109 142 89 60

output:

77 143 218 296 309 309 360 360 389 418 418 511 533 533 560 572 700 743 743 745 816 861 892 993 998 998 1066 1066 1131 1131 1180 1247 1247 1363 1413 1434 1474 1474 1580 1610 1664 1722 1810 1828 1844 

result:

ok 45 numbers

Test #46:

score: -100
Time Limit Exceeded

input:

59
135 108 86 112 147 34 150 114 36 70 117 10 33 93 124 45 96 34 37 124 33 48 99 83 85 44 39 136 7 20 71 122 38 34 1 20 86 78 92 116 9 110 45 11 94 81 72 44 30 144 11 50 81 34 58 40 107 47 18

output:


result: