QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#398250 | #4630. New Equipments III | InfiniteStarlight | AC ✓ | 2717ms | 26912kb | C++23 | 2.7kb | 2024-04-25 09:35:39 | 2024-04-25 09:35:40 |
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
Test #1:
score: 100
Accepted
time: 2ms
memory: 12076kb
input:
2 3 1 1 4 1 2 2 2 1 3
output:
4 5
result:
ok 2 lines
Test #2:
score: 0
Accepted
time: 3ms
memory: 12052kb
input:
2 3 1 1 5 1 2 2 2 1 2
output:
5 5
result:
ok 2 lines
Test #3:
score: 0
Accepted
time: 0ms
memory: 12188kb
input:
50 10 45 37 1 30 37 1 31 29 1 2 48 1 5 17 1 40 32 1 37 36 1 17 21 1 12 32 1 47 43 1
output:
1 2 3 4 5 6 7 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
result:
ok 50 lines
Test #4:
score: 0
Accepted
time: 3ms
memory: 12356kb
input:
50 100 5 1 1 45 43 2 34 33 2 21 23 2 32 24 2 46 28 1 18 9 2 40 8 1 19 49 2 48 35 1 42 6 2 40 45 2 50 42 1 18 17 2 6 39 1 8 3 2 41 40 1 41 11 1 28 31 1 8 7 2 12 48 1 4 16 2 38 6 1 38 23 1 29 26 2 7 21 2 2 44 2 16 26 2 28 22 1 34 5 2 40 23 1 41 26 2 24 44 1 27 43 1 12 25 1 2 8 1 26 16 2 8 11 1 9 39 1 ...
output:
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 45 46 47 48 49 50 51 52 53 54 55 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56
result:
ok 50 lines
Test #5:
score: 0
Accepted
time: 0ms
memory: 12064kb
input:
50 300 46 27 1 12 32 3 42 50 3 17 33 1 32 11 2 14 46 2 16 41 3 46 26 3 42 10 3 2 4 1 50 36 3 21 5 3 38 10 2 46 7 3 41 22 2 5 14 1 30 45 1 31 41 1 19 20 3 19 3 3 35 5 1 38 18 1 5 43 3 10 27 1 13 10 1 9 30 1 6 42 1 34 7 1 9 20 3 35 19 2 28 26 3 7 4 3 36 6 2 17 26 1 14 20 2 22 22 3 34 33 2 48 35 2 42 3...
output:
3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 51 54 57 60 63 66 69 72 75 78 81 84 87 90 93 96 99 102 105 108 111 114 117 120 123 125 127 129 131 132 133 133 133 133
result:
ok 50 lines
Test #6:
score: 0
Accepted
time: 3ms
memory: 12096kb
input:
50 1000 43 18 2 18 17 4 4 8 1 7 50 4 36 49 1 17 26 1 9 38 4 47 24 2 18 14 1 26 38 4 39 47 4 31 35 3 35 49 2 48 26 4 21 14 4 21 46 4 12 39 1 8 5 3 23 24 1 47 28 1 35 20 3 43 37 3 31 40 2 48 17 2 39 4 4 31 8 4 4 7 1 1 13 2 13 10 2 17 14 4 28 9 1 31 12 4 12 18 4 32 4 2 47 30 3 40 50 4 26 43 2 50 8 4 17...
output:
4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100 104 108 112 116 120 124 128 132 136 140 144 148 152 156 160 164 168 172 176 180 184 188 192 195 198
result:
ok 50 lines
Test #7:
score: 0
Accepted
time: 0ms
memory: 12088kb
input:
200 100 100 174 4 136 7 5 153 162 5 141 112 5 24 28 3 66 181 2 119 62 1 77 131 4 163 112 2 106 147 2 186 159 4 197 24 5 8 144 5 30 101 3 20 86 3 22 30 2 12 50 4 33 46 4 38 147 4 29 97 4 161 94 1 18 58 1 123 55 4 170 31 4 27 120 5 163 139 5 89 145 5 170 68 4 20 160 5 65 22 2 13 107 3 164 79 3 194 99 ...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 79 83 87 91 95 99 103 107 111 115 119 123 127 131 135 139 143 147 151 155 158 161 164 167 170 173 176 179 182 185 188 190 192 194 196 198 200 202 204 206 208 209 210 211 212 213 214 215 216 217 218 219 220 221 221 221 221 221 221 221 221 221 221 221 221 22...
result:
ok 200 lines
Test #8:
score: 0
Accepted
time: 4ms
memory: 12156kb
input:
200 500 139 47 4 91 74 2 110 31 3 65 57 2 132 131 1 67 172 2 175 44 1 28 146 3 82 10 3 91 141 3 56 75 2 178 27 1 133 138 3 81 80 3 4 51 5 152 18 3 153 141 1 13 140 3 23 145 4 107 199 2 84 82 4 19 29 2 35 37 4 22 56 5 178 42 2 164 138 4 157 123 3 151 78 1 11 85 5 107 167 1 175 69 2 97 191 3 185 93 2 ...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 369 373 377 381 385 389 393 ...
result:
ok 200 lines
Test #9:
score: 0
Accepted
time: 5ms
memory: 12352kb
input:
200 2000 164 181 5 89 4 2 74 115 5 1 160 4 102 128 5 64 144 5 22 57 4 102 145 5 129 62 2 122 54 2 31 96 4 81 173 3 7 118 2 54 18 2 89 132 2 187 43 1 173 166 2 151 54 4 52 163 2 81 24 4 62 36 2 107 78 4 52 134 3 26 177 5 150 14 1 116 61 3 134 69 1 170 35 2 158 164 1 33 120 2 24 194 2 147 181 1 29 83 ...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 200 lines
Test #10:
score: 0
Accepted
time: 19ms
memory: 14640kb
input:
1000 5000 351 132 5 515 681 5 1 495 2 366 285 4 816 625 3 579 158 1 616 114 5 290 300 5 101 178 4 640 630 2 197 685 4 221 288 4 56 955 2 270 473 5 607 616 5 111 337 5 721 607 4 140 874 5 988 221 1 200 788 2 171 524 5 686 870 4 188 293 2 520 450 5 700 451 2 253 89 3 206 69 4 143 656 4 816 26 4 284 42...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 1000 lines
Test #11:
score: 0
Accepted
time: 98ms
memory: 13068kb
input:
2000 20000 1193 133 1 637 898 2 710 1200 4 1073 662 5 971 77 3 520 197 1 1922 1093 5 248 868 1 1798 538 4 900 1903 3 1264 1286 2 906 1159 5 61 1299 2 478 844 4 34 1148 3 534 939 3 1490 340 1 1192 1259 3 1950 453 4 1504 1237 5 1358 219 5 230 610 3 1824 1122 4 1712 457 2 158 493 4 915 473 4 948 169 1 ...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 2000 lines
Test #12:
score: 0
Accepted
time: 410ms
memory: 15892kb
input:
5000 50000 2218 3809 2 1141 1926 4 2051 4128 4 573 868 1 629 1841 3 325 384 5 2648 4277 4 2052 1872 3 4976 654 2 2224 1797 1 3972 3352 4 3964 4997 3 48 2483 2 849 2695 5 1071 4928 4 3112 1381 5 4057 4313 3 591 2812 3 4202 3429 4 2537 87 1 2478 1708 4 3443 3517 5 3599 1464 5 212 567 2 3321 3644 3 244...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 5000 lines
Test #13:
score: 0
Accepted
time: 32ms
memory: 21976kb
input:
50000 10000 7992 11366 1 16307 18003 1 21359 12517 1 26806 41708 1 3387 23988 1 43950 33227 1 5279 9853 1 8166 1269 1 34116 15534 1 30016 18151 1 14877 38517 1 10897 25894 1 8374 7465 1 1822 31141 1 25299 29739 1 38789 40070 1 36279 27774 1 48622 6966 1 30163 32180 1 4706 21123 1 31328 9242 1 3163 3...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #14:
score: 0
Accepted
time: 47ms
memory: 22596kb
input:
50000 10000 24120 10210 2 28489 43064 2 43343 46505 1 30988 2148 2 20773 26229 1 41867 13654 2 3297 32606 2 5944 8778 1 47973 41150 2 4877 32464 1 8295 48787 2 30138 19491 1 10400 37540 2 41932 21434 2 23784 46898 1 49873 36882 2 2705 6241 1 34970 4251 2 16163 9414 1 34031 26978 1 10839 17155 1 4044...
output:
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 1...
result:
ok 50000 lines
Test #15:
score: 0
Accepted
time: 59ms
memory: 22224kb
input:
50000 10000 7544 26351 3 7967 25022 2 39518 13197 2 35170 12587 2 20863 19959 3 39784 35568 3 34020 46847 1 3721 33584 2 44534 27167 3 12442 22584 2 44817 34866 3 23570 4303 3 27834 34911 1 25147 37534 3 48077 31352 3 10956 989 3 10619 8900 2 36725 1536 3 26355 36648 3 30652 39729 3 14543 31964 3 27...
output:
3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 51 54 57 60 63 66 69 72 75 78 81 84 87 90 93 96 99 102 105 108 111 114 117 120 123 126 129 132 135 138 141 144 147 150 153 156 159 162 165 168 171 174 177 180 183 186 189 192 195 198 201 204 207 210 213 216 219 222 225 228 231 234 237 240 243 246 249 252 ...
result:
ok 50000 lines
Test #16:
score: 0
Accepted
time: 69ms
memory: 22580kb
input:
50000 10000 40968 25195 3 20148 24275 4 44205 14481 2 39352 5731 2 3657 4904 3 11893 15995 4 32038 43791 3 1499 16901 1 32583 37375 4 28791 36897 2 46747 12432 4 17002 39116 1 12563 14986 3 32554 27827 3 31154 48511 1 4744 30505 4 1237 4662 3 29969 24629 1 1955 46587 2 44569 12880 1 44054 22581 1 14...
output:
4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100 104 108 112 116 120 124 128 132 136 140 144 148 152 156 160 164 168 172 176 180 184 188 192 196 200 204 208 212 216 220 224 228 232 236 240 244 248 252 256 260 264 268 272 276 280 284 288 292 296 300 304 308 312 316 320 324 32...
result:
ok 50000 lines
Test #17:
score: 0
Accepted
time: 79ms
memory: 20468kb
input:
50000 10000 24392 41336 2 23818 16633 5 33484 31173 1 43535 41978 4 29556 48633 3 42514 13717 5 30056 33840 1 25085 24410 3 29144 30287 1 3652 1209 5 40165 31214 3 43139 41225 4 47293 45061 1 39960 43928 3 29639 7157 5 7315 44613 5 41855 40025 3 49021 21914 1 12147 23821 2 15382 42927 1 30461 4686 4...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #18:
score: 0
Accepted
time: 123ms
memory: 20488kb
input:
50000 50000 465 25720 1 14982 36573 1 19429 27375 1 32855 46520 1 32385 28827 1 20236 33936 1 7358 46719 1 7477 15171 1 49910 40004 1 14618 30909 1 26297 1800 1 35996 41812 1 33664 19319 1 23600 38610 1 5264 13735 1 7784 2098 1 34082 21241 1 28612 47294 1 28064 23710 1 25304 38951 1 21108 45383 1 44...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #19:
score: 0
Accepted
time: 189ms
memory: 20916kb
input:
50000 50000 16593 41860 1 44460 3123 1 15604 28659 1 19741 24256 1 32476 31068 2 857 5850 1 38080 10959 1 31062 22680 2 46471 212 2 13671 21030 2 12819 12070 1 12133 26625 2 18394 49393 1 31007 22007 2 21045 5086 2 43060 48910 2 41996 49708 1 30368 44579 1 20960 33648 2 21925 36294 2 7515 27488 2 22...
output:
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 1...
result:
ok 50000 lines
Test #20:
score: 0
Accepted
time: 226ms
memory: 22412kb
input:
50000 50000 17313 23408 2 23937 2377 3 37587 12647 2 41219 34695 1 32566 24797 3 22966 3573 1 36098 7904 1 28840 30190 2 10328 10420 1 38532 35342 1 32045 5045 2 5565 28734 2 3123 12172 1 46925 12300 3 19530 39540 3 4144 13017 3 32614 19663 2 40907 17672 3 13857 10883 3 18546 42149 1 37026 18105 3 3...
output:
3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 51 54 57 60 63 66 69 72 75 78 81 84 87 90 93 96 99 102 105 108 111 114 117 120 123 126 129 132 135 138 141 144 147 150 153 156 159 162 165 168 171 174 177 180 183 186 189 192 195 198 201 204 207 210 213 216 219 222 225 228 231 234 237 240 243 246 249 252 ...
result:
ok 50000 lines
Test #21:
score: 0
Accepted
time: 305ms
memory: 21552kb
input:
50000 50000 33441 39549 2 10311 27438 1 42275 29339 2 45401 27839 2 8464 27038 4 20883 8191 4 16820 47953 3 26618 13507 1 24185 20629 2 13393 25463 4 25463 8419 1 31701 30843 2 20557 9543 2 4332 11105 2 35311 23995 3 47931 42533 4 40528 30833 3 42663 47662 1 24049 38117 4 22063 30708 4 40730 32914 2...
output:
4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100 104 108 112 116 120 124 128 132 136 140 144 148 152 156 160 164 168 172 176 180 184 188 192 196 200 204 208 212 216 220 224 228 232 236 240 244 248 252 256 260 264 268 272 276 280 284 288 292 296 300 304 308 312 316 320 324 32...
result:
ok 50000 lines
Test #22:
score: 0
Accepted
time: 374ms
memory: 21696kb
input:
50000 50000 16865 38393 2 39789 26692 1 5746 30623 5 49584 38279 2 41258 20768 1 18800 38618 2 14838 44898 4 204 21016 5 20746 39349 4 45149 7071 2 27393 18689 4 25134 39848 4 22583 39618 3 11739 1397 2 9604 41153 3 9015 6641 5 24250 788 3 11715 38051 2 16945 48056 5 18684 28051 4 20241 23532 5 1205...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #23:
score: 0
Accepted
time: 346ms
memory: 21872kb
input:
50000 100000 26454 32195 1 35288 6237 1 39286 13136 1 2190 34063 1 5970 18004 1 28200 2535 1 38192 5389 1 45939 47754 1 44080 35468 1 16535 452 1 7869 42697 1 8274 10511 1 18370 43382 1 11812 20499 1 5312 23472 1 35147 47071 1 44910 39917 1 40882 21191 1 9953 30242 1 29878 21502 1 33727 8404 1 42632...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #24:
score: 0
Accepted
time: 507ms
memory: 22416kb
input:
50000 100000 42582 6848 1 47470 5490 1 11269 47124 2 39077 27207 2 6061 20245 1 8821 15665 2 36210 10845 2 43717 5263 1 7937 28381 2 41396 32060 2 1287 11479 2 1706 36812 2 3100 23457 2 1922 36600 1 38388 40631 2 28935 43883 2 2824 18384 2 9933 11580 2 2849 15989 2 690 27357 1 13238 5917 1 29910 382...
output:
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 1...
result:
ok 50000 lines
Test #25:
score: 0
Accepted
time: 644ms
memory: 22592kb
input:
50000 100000 26006 22988 2 44243 4744 3 7444 31112 3 10555 37646 2 6151 13975 3 6738 37580 1 16932 25086 1 17303 12773 3 4498 21293 3 40449 22181 1 20513 39046 2 45138 21625 1 37830 45020 3 35137 26893 1 12681 25085 1 40019 40694 1 43442 21043 3 11689 41569 3 38849 43223 2 47311 7404 2 16941 13831 3...
output:
3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 51 54 57 60 63 66 69 72 75 78 81 84 87 90 93 96 99 102 105 108 111 114 117 120 123 126 129 132 135 138 141 144 147 150 153 156 159 162 165 168 171 174 177 180 183 186 189 192 195 198 201 204 207 210 213 216 219 222 225 228 231 234 237 240 243 246 249 252 ...
result:
ok 50000 lines
Test #26:
score: 0
Accepted
time: 757ms
memory: 22548kb
input:
50000 100000 9430 4536 2 30617 47102 2 29428 15100 3 14737 48086 3 38945 48920 1 4655 35302 2 47654 22031 1 15080 13386 3 18355 7309 1 15310 36493 1 7035 25124 4 38571 6438 4 5264 7798 1 25248 42994 4 11166 9540 1 33806 37506 2 1356 49509 4 22229 31958 1 31745 20457 2 26636 30555 1 29157 4448 1 1297...
output:
4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100 104 108 112 116 120 124 128 132 136 140 144 148 152 156 160 164 168 172 176 180 184 188 192 196 200 204 208 212 216 220 224 228 232 236 240 244 248 252 256 260 264 268 272 276 280 284 288 292 296 300 304 308 312 316 320 324 32...
result:
ok 50000 lines
Test #27:
score: 0
Accepted
time: 800ms
memory: 22532kb
input:
50000 100000 42854 3381 2 10094 46355 5 8307 49088 1 1623 41229 1 39035 42649 1 2572 7217 3 28377 12080 2 12858 20895 2 14916 17517 4 40171 806 4 453 35395 5 14707 8547 5 39993 5169 3 49950 33286 4 26947 890 3 19082 34317 4 41974 2168 3 23985 11948 2 41937 30396 3 23257 19114 2 32860 19257 4 17552 7...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #28:
score: 0
Accepted
time: 1063ms
memory: 23144kb
input:
50000 150000 32145 8717 1 5251 39554 1 16197 22791 1 41204 49574 1 28371 24052 1 27342 17240 1 21770 7518 1 5786 45776 1 3855 35144 1 36647 11296 1 18696 30757 1 9919 32470 1 15014 15498 1 17886 12164 1 35063 6135 1 41664 8254 1 13516 32627 1 14521 47477 1 48278 36343 1 13465 36083 1 35511 22909 1 1...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #29:
score: 0
Accepted
time: 930ms
memory: 23684kb
input:
50000 150000 48273 7562 1 41625 14616 2 12372 24075 1 28090 10014 1 28461 26294 1 25259 14963 2 2492 21759 1 3563 29093 2 17712 45352 1 44212 34120 2 37922 8323 1 36056 17282 1 6640 45573 2 25293 2457 2 844 23294 1 35451 37770 2 4134 17990 1 33573 3274 1 41175 13577 1 42790 41938 1 39215 5014 2 4865...
output:
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 1...
result:
ok 50000 lines
Test #30:
score: 0
Accepted
time: 957ms
memory: 23820kb
input:
50000 150000 31697 32214 1 38399 31166 1 17059 40767 1 32272 20453 3 4359 2727 3 47368 19581 2 510 44512 2 44445 36602 1 31569 5560 1 19073 15728 3 31340 44402 3 29488 43583 1 8666 25648 2 41212 18557 2 16625 31940 1 20727 1877 1 37856 13752 3 2625 560 1 34071 23516 1 39411 39281 2 25622 45631 1 186...
output:
3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 51 54 57 60 63 66 69 72 75 78 81 84 87 90 93 96 99 102 105 108 111 114 117 120 123 126 129 132 135 138 141 144 147 150 153 156 159 162 165 168 171 174 177 180 183 186 189 192 195 198 201 204 207 210 213 216 219 222 225 228 231 234 237 240 243 246 249 252 ...
result:
ok 50000 lines
Test #31:
score: 0
Accepted
time: 1257ms
memory: 23800kb
input:
50000 150000 47825 31058 2 580 30419 3 30530 24755 2 3750 6701 4 4449 22264 3 45286 17304 4 31232 8753 4 42223 44111 4 28130 6984 1 18126 30041 1 566 4672 3 5624 45692 1 26100 23019 4 15914 8850 1 15110 49099 2 14514 31393 4 28474 49115 1 28573 47845 4 44263 750 2 36032 45136 3 5133 10440 2 23210 33...
output:
4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100 104 108 112 116 120 124 128 132 136 140 144 148 152 156 160 164 168 172 176 180 184 188 192 196 200 204 208 212 216 220 224 228 232 236 240 244 248 252 256 260 264 268 272 276 280 284 288 292 296 300 304 308 312 316 320 324 32...
result:
ok 50000 lines
Test #32:
score: 0
Accepted
time: 1539ms
memory: 23708kb
input:
50000 150000 48545 29903 1 30058 5481 1 35218 8743 5 40637 17141 3 4540 48697 3 25907 39218 2 11954 38401 1 40001 34325 4 48883 17193 3 42987 2865 5 37088 40750 4 49057 30505 1 10829 3094 4 6025 7655 1 6699 16257 3 25598 45500 2 19092 44878 1 14920 20938 2 37159 27985 1 32653 7887 3 8837 1057 3 4319...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #33:
score: 0
Accepted
time: 700ms
memory: 24168kb
input:
50000 200000 38635 7257 1 7271 40225 1 10764 23576 1 2281 10496 1 10783 48431 1 8922 32184 1 35970 45602 1 42500 7962 1 18941 49781 1 35761 28018 1 34005 27510 1 10299 40586 1 1585 33674 1 10297 4954 1 33691 20284 1 25765 49730 1 5450 13010 1 33778 41529 1 39278 36097 1 33581 12119 1 46813 3139 1 23...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #34:
score: 0
Accepted
time: 1448ms
memory: 24700kb
input:
50000 200000 22059 6101 2 10941 6774 2 15451 7564 2 39167 3640 1 3978 42160 1 6839 29906 2 33988 18355 1 7574 15472 2 15502 42693 1 34814 18139 1 20527 37780 2 36436 49591 2 36315 13749 1 43511 45246 1 32176 4738 2 36849 46541 2 21876 15669 1 2829 21518 1 49470 46036 2 30202 9462 2 33220 17949 2 276...
output:
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 1...
result:
ok 50000 lines
Test #35:
score: 0
Accepted
time: 1688ms
memory: 24900kb
input:
50000 200000 5483 22242 3 23123 6028 1 11627 41552 2 43349 39888 1 4068 27105 2 4756 27628 1 47414 32595 2 5352 48789 2 29359 28709 2 26971 32451 3 13945 23859 1 29868 1700 2 27941 43824 3 33622 44051 1 30661 39193 2 30637 19161 2 29790 44136 1 21881 18803 2 9662 23270 3 9527 48021 3 12731 8566 1 47...
output:
3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 51 54 57 60 63 66 69 72 75 78 81 84 87 90 93 96 99 102 105 108 111 114 117 120 123 126 129 132 135 138 141 144 147 150 153 156 159 162 165 168 171 174 177 180 183 186 189 192 195 198 201 204 207 210 213 216 219 222 225 228 231 234 237 240 243 246 249 252 ...
result:
ok 50000 lines
Test #36:
score: 0
Accepted
time: 1838ms
memory: 24900kb
input:
50000 200000 21611 3790 3 2600 13794 2 33610 25540 3 14827 17623 2 36862 20834 4 2673 49543 3 45432 22644 4 28937 6298 4 17408 38918 3 34536 46764 4 33171 34129 4 6004 3809 2 12670 23899 4 8325 1640 4 39546 6351 1 41720 15972 4 20408 46794 4 47829 41897 4 28366 9016 2 6148 3876 4 16434 40671 2 2251 ...
output:
4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100 104 108 112 116 120 124 128 132 136 140 144 148 152 156 160 164 168 172 176 180 184 188 192 196 200 204 208 212 216 220 224 228 232 236 240 244 248 252 256 260 264 268 272 276 280 284 288 292 296 300 304 308 312 316 320 324 32...
result:
ok 50000 lines
Test #37:
score: 0
Accepted
time: 2296ms
memory: 24956kb
input:
50000 200000 5035 28442 1 14782 13047 1 29785 42232 4 1714 10767 1 36952 23076 1 591 29969 5 43450 19589 1 9419 31104 4 13969 31830 5 33589 36884 5 26590 20207 1 49437 30109 4 47400 21270 2 24243 17741 3 38031 23510 2 35508 12784 3 11026 42557 1 34177 39182 3 21262 36251 2 2769 33923 1 45946 13992 2...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #38:
score: 0
Accepted
time: 2493ms
memory: 24896kb
input:
50000 200000 16570 37696 5 18886 24189 1 2314 32202 4 2965 20241 5 21372 37061 4 10174 20371 1 1322 32745 1 30892 7939 4 42592 27353 1 16857 47994 4 32602 42048 4 16091 45672 3 29483 17918 5 34368 24528 2 30895 37987 1 49035 16353 4 4948 46299 2 27455 29240 4 15380 26138 4 6235 8309 3 49462 27178 3 ...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #39:
score: 0
Accepted
time: 2368ms
memory: 24876kb
input:
50000 200000 49994 3836 1 48364 23443 4 48489 16190 4 39851 6489 3 21462 39302 5 32283 24990 1 32044 5498 4 28670 15448 3 6449 37561 4 41718 38114 2 1828 10831 1 9523 21973 2 14213 15289 2 287 23332 2 13972 12042 5 42823 13165 3 12862 31662 5 46507 2333 1 8276 36077 2 2856 14164 1 11677 35091 2 2507...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #40:
score: 0
Accepted
time: 2406ms
memory: 24968kb
input:
50000 200000 33418 28489 3 27842 48504 3 20472 32882 4 11329 49632 1 4256 33032 2 30200 22712 3 12766 2443 4 2256 22957 1 20306 47770 1 40771 19722 2 21054 21101 3 35660 6785 1 48943 45364 4 24989 13625 5 38265 46496 4 21202 9976 2 3480 27424 3 22455 49619 3 1172 39119 3 32181 11507 5 15380 49900 3 ...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #41:
score: 0
Accepted
time: 2717ms
memory: 25104kb
input:
50000 200000 16842 27333 4 7319 47758 1 16648 34166 5 15511 27368 4 30154 35273 3 10821 44627 2 43488 49388 2 17329 30467 3 16867 49194 2 15632 42547 2 14472 24475 2 29092 8894 1 16376 8143 1 15100 47022 4 36750 30950 5 14990 6788 3 11394 30083 3 8802 46904 4 37172 49057 5 28802 17362 3 27596 40517 ...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #42:
score: 0
Accepted
time: 33ms
memory: 20732kb
input:
50000 99999 1 2 2 2 3 2 3 4 2 4 5 2 5 6 2 6 7 2 7 8 2 8 9 2 9 10 2 10 11 2 11 12 2 12 13 2 13 14 2 14 15 2 15 16 2 16 17 2 17 18 2 18 19 2 19 20 2 20 21 2 21 22 2 22 23 2 23 24 2 24 25 2 25 26 2 26 27 2 27 28 2 28 29 2 29 30 2 30 31 2 31 32 2 32 33 2 33 34 2 34 35 2 35 36 2 36 37 2 37 38 2 38 39 2 3...
output:
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 1...
result:
ok 50000 lines
Test #43:
score: 0
Accepted
time: 33ms
memory: 20816kb
input:
50000 99999 1 2 5 2 3 5 3 4 5 4 5 5 5 6 5 6 7 5 7 8 5 8 9 5 9 10 5 10 11 5 11 12 5 12 13 5 13 14 5 14 15 5 15 16 5 16 17 5 17 18 5 18 19 5 19 20 5 20 21 5 21 22 5 22 23 5 23 24 5 24 25 5 25 26 5 26 27 5 27 28 5 28 29 5 29 30 5 30 31 5 31 32 5 32 33 5 33 34 5 34 35 5 35 36 5 36 37 5 37 38 5 38 39 5 3...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #44:
score: 0
Accepted
time: 1255ms
memory: 22656kb
input:
50000 150000 11506 12704 1 27393 35169 1 44769 10259 1 47598 8743 1 11741 4071 1 5816 43786 1 10539 36095 1 21015 39829 1 46909 48653 1 7060 4138 1 23819 21150 1 35497 21513 1 14117 21991 1 11434 12754 1 12780 21856 1 44099 10588 1 46702 29073 1 21154 47445 1 48802 41595 1 41463 13563 1 42580 49017 ...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #45:
score: 0
Accepted
time: 1007ms
memory: 23636kb
input:
50000 150000 27917 4890 2 13753 33562 1 43835 41803 2 908 15554 2 48248 22069 1 39729 36038 2 24536 9985 2 36279 5441 1 6836 25159 2 40777 184 1 37312 24868 1 44865 31206 1 44349 38618 1 14801 15177 1 46975 21054 1 25470 20746 2 28561 22702 2 35805 32706 1 17464 30017 2 14818 3355 1 22037 35492 2 30...
output:
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 1...
result:
ok 50000 lines
Test #46:
score: 0
Accepted
time: 1193ms
memory: 22632kb
input:
50000 150000 44930 28844 1 39575 10231 1 16752 44247 1 1780 44990 1 11831 47801 1 3733 15700 1 8557 33040 1 18792 30043 1 10766 8861 1 14625 11554 1 43045 39932 1 11633 23622 1 31551 19362 1 18840 11559 1 4369 6311 1 37886 7399 1 13128 31731 1 40206 12026 1 8994 18829 1 38084 26314 1 28987 31122 1 2...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #47:
score: 0
Accepted
time: 931ms
memory: 23880kb
input:
50000 150000 44045 3734 2 43231 8623 1 15819 49983 1 22386 25993 2 48338 24310 2 37647 7952 2 22555 24226 2 27161 6055 2 3397 35367 1 39830 47201 1 6538 10946 2 21002 33315 1 29078 18693 2 4912 5469 1 45460 5509 2 19257 262 2 44987 1169 2 22153 38503 1 27656 7252 1 11439 26506 1 25740 26109 2 34900 ...
output:
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 1...
result:
ok 50000 lines
Test #48:
score: 0
Accepted
time: 931ms
memory: 22912kb
input:
50000 150000 28355 27688 1 43244 26780 1 6031 28235 1 5962 5430 1 20434 42 1 1650 46127 1 39280 47281 1 25082 37552 1 7327 19069 1 30974 25867 1 36463 203 1 22361 8435 1 40472 49437 1 34759 1851 1 20150 47661 1 16266 4211 1 21042 10198 1 41962 17823 1 27698 28768 1 34705 32169 1 8498 4443 1 41926 20...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #49:
score: 0
Accepted
time: 1075ms
memory: 23716kb
input:
50000 150000 27469 2578 1 5413 7877 2 11994 33971 1 9272 36433 2 48429 18039 1 35564 5675 2 3277 21171 1 7642 13564 1 17254 45575 2 47395 37321 1 49956 21216 1 14434 18128 1 13808 48768 2 12318 21570 2 11241 14155 1 47637 14370 2 2901 3827 1 48101 3084 2 20552 17190 1 40764 15065 2 5252 16726 1 4882...
output:
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 1...
result:
ok 50000 lines
Test #50:
score: 0
Accepted
time: 1110ms
memory: 22668kb
input:
50000 150000 44483 9237 1 5426 8738 1 34910 12223 1 10144 48573 1 20524 26475 1 6463 18041 1 20002 20034 1 40156 45061 1 21184 37790 1 38539 33283 1 5689 27769 1 48498 34735 1 25202 21000 1 42166 17952 1 18635 32116 1 1541 18318 1 11660 30153 1 2502 15109 1 20594 6002 1 31326 5321 1 12202 12356 1 29...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #51:
score: 0
Accepted
time: 844ms
memory: 23652kb
input:
50000 150000 43597 18719 1 34890 24426 1 33977 17959 2 13455 29576 1 31223 20280 2 7673 42997 1 33999 11220 1 5420 21073 2 13815 31592 1 22256 18929 1 19183 7295 1 40570 20237 2 48538 46139 2 28237 11863 2 27022 31313 1 41424 11181 2 43519 32294 1 17153 8881 2 30744 44424 2 37385 45112 2 8955 31535 ...
output:
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 1...
result:
ok 50000 lines
Test #52:
score: 0
Accepted
time: 920ms
memory: 22960kb
input:
50000 150000 27907 25377 1 34903 33799 1 6894 13507 1 14327 9013 1 20614 2908 1 4380 15763 1 724 34274 1 37934 28379 1 35041 30702 1 13399 30299 1 42211 13848 1 41930 36844 1 9932 33779 1 8084 8245 1 17120 16570 1 45329 47834 1 19574 41324 1 4258 12394 1 13490 9045 1 10651 35368 1 41713 27165 1 1648...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #53:
score: 0
Accepted
time: 851ms
memory: 23824kb
input:
50000 150000 44317 17563 1 47072 49488 2 30152 19243 2 17637 15824 1 7121 14010 1 5590 40720 1 32017 8164 2 29006 28582 2 27672 7208 2 21309 41754 2 5705 17565 2 1299 29242 2 33268 26214 1 2940 2156 1 1315 15768 2 26700 7993 2 1433 34953 1 36204 6167 2 23640 21659 1 34006 967 2 45362 39448 1 29437 1...
output:
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 1...
result:
ok 50000 lines
Test #54:
score: 0
Accepted
time: 680ms
memory: 25008kb
input:
50000 200000 10879 13213 1 18159 46772 1 20271 6360 1 25141 1469 1 49173 26623 1 7418 46744 1 35299 22945 1 46249 30974 1 7937 11122 1 26038 22184 1 33322 39211 1 26672 46278 1 20323 30118 1 49700 79 1 31837 4853 1 29763 22011 1 26494 26292 1 14936 8479 1 32156 46831 1 35380 13977 1 43338 23637 1 31...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #55:
score: 0
Accepted
time: 1453ms
memory: 24720kb
input:
50000 200000 9993 5398 1 4520 12461 1 26234 5200 2 45748 32472 1 2976 11917 2 41332 38996 1 42400 46835 2 11513 6986 2 9353 37627 1 33948 33638 2 14111 42929 1 11848 5971 2 43659 46745 1 35771 43990 2 16033 4051 2 11134 32170 2 8353 28433 2 14179 26444 2 25010 42149 2 41438 46872 2 40091 35920 1 204...
output:
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 1...
result:
ok 50000 lines
Test #56:
score: 0
Accepted
time: 633ms
memory: 24164kb
input:
50000 200000 27007 12057 1 4533 13322 1 16447 7644 1 46620 44613 1 49263 20353 1 5336 1362 1 33317 45697 1 19835 38483 1 21794 21330 1 7795 29600 1 19844 49482 1 2808 31091 1 5053 10193 1 39811 16180 1 40722 39308 1 23551 18823 1 42920 4758 1 33988 38468 1 25052 6770 1 32001 19832 1 22849 14254 1 16...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #57:
score: 0
Accepted
time: 1315ms
memory: 24972kb
input:
50000 200000 26122 4243 2 33997 44419 1 15513 13380 1 49930 1424 2 3066 31454 1 39249 43614 1 23122 19587 2 35099 14495 1 5914 47836 2 8809 15246 2 33337 20495 2 5281 40784 2 11092 26820 2 43178 10091 1 31813 38506 1 4922 28982 2 24779 31091 1 15935 49537 1 17906 19384 1 20763 20023 1 19602 33433 2 ...
output:
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 1...
result:
ok 50000 lines
Test #58:
score: 0
Accepted
time: 671ms
memory: 24740kb
input:
50000 200000 27727 28197 1 34010 38383 1 21134 41632 1 802 5053 1 25162 39890 1 27445 49085 1 14039 9938 1 17613 45992 1 9843 40050 1 49952 26616 1 13262 2856 1 46240 15903 1 39782 14460 1 23025 6473 1 39207 23762 1 34635 15635 1 834 7417 1 35744 3050 1 35244 34004 1 28622 25687 1 26553 29063 1 3203...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #59:
score: 0
Accepted
time: 1518ms
memory: 24716kb
input:
50000 200000 26842 3087 2 46179 36776 2 44393 47368 1 4112 11864 2 35861 7887 2 11358 41337 1 21140 16532 1 173 22004 2 2475 16556 1 16374 38071 1 26755 6574 1 31417 42893 2 13118 6895 2 33289 33088 1 30298 47152 2 16006 25793 2 32693 9558 1 9179 29527 1 3906 22426 2 17384 32774 1 6010 41346 1 27699...
output:
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 1...
result:
ok 50000 lines
Test #60:
score: 0
Accepted
time: 747ms
memory: 24236kb
input:
50000 200000 43855 9746 1 13488 37637 1 34605 8324 1 37688 48196 1 7956 16323 1 8066 46807 1 44761 6883 1 48094 46606 1 6404 258 1 7517 16737 1 32488 45831 1 48185 9500 1 7216 11831 1 13136 29470 1 37692 15113 1 19910 12446 1 41452 35884 1 46284 8847 1 10844 43942 1 7947 23030 1 38768 36977 1 2021 4...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #61:
score: 0
Accepted
time: 1421ms
memory: 24940kb
input:
50000 200000 42970 1932 2 49848 36030 1 16376 14060 2 8294 22303 2 3247 27424 1 9275 13251 2 1862 30773 1 30655 5322 1 16332 26764 2 15427 2383 1 45982 16844 2 24849 1898 2 4744 36970 2 16503 49189 2 21887 14310 2 33985 22605 2 23311 29513 1 28230 44108 1 46802 32364 1 14005 38629 1 35521 6155 2 149...
output:
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 1...
result:
ok 50000 lines
Test #62:
score: 0
Accepted
time: 674ms
memory: 24204kb
input:
50000 200000 27279 1694 1 25670 36891 1 39293 9608 1 41870 8636 1 25342 10052 1 5983 18722 1 42779 46932 1 38976 4115 1 20261 10467 1 6570 48345 1 1714 31909 1 8913 44313 1 41946 41906 1 46351 45570 1 29281 49567 1 13698 35066 1 49366 38542 1 48039 23428 1 21036 21177 1 4568 28885 1 42471 34490 1 39...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #63:
score: 0
Accepted
time: 1436ms
memory: 24904kb
input:
50000 200000 26394 18072 1 12030 35283 2 38359 15344 2 12477 15447 1 29145 36562 2 7192 43678 2 32585 3526 2 4240 12831 2 12893 36972 1 7584 9799 1 15208 2923 2 986 4006 2 39474 17045 1 23910 6777 2 37668 48765 1 45069 19416 2 31225 40684 1 47282 49905 2 39698 9599 1 27922 44484 1 39224 46773 1 3495...
output:
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 1...
result:
ok 50000 lines
Test #64:
score: 0
Accepted
time: 659ms
memory: 24712kb
input:
50000 200000 39280 31885 1 31324 40111 1 47217 6538 1 21518 45463 1 23617 34040 1 18384 4249 1 25598 13044 1 12868 22128 1 124 10302 1 48151 15827 1 7292 34681 1 25063 16639 1 22925 44742 1 20150 33669 1 7283 41068 1 31108 26134 1 38246 36891 1 45849 48557 1 24526 18323 1 29105 41676 1 41324 6879 1 ...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #65:
score: 0
Accepted
time: 743ms
memory: 24172kb
input:
50000 200000 27771 35550 1 47727 33688 1 38610 24618 1 23716 7871 1 15682 20904 1 45235 8349 1 22763 40349 1 48183 33749 1 3795 42955 1 6642 3732 1 20255 2624 1 38399 37697 1 47518 45102 1 15015 38166 1 18540 4203 1 40312 30463 1 11125 4074 1 338 23954 1 23399 20378 1 9365 29567 1 3614 24109 1 40119...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #66:
score: 0
Accepted
time: 739ms
memory: 24172kb
input:
50000 200000 42745 46567 1 27005 39342 1 30743 48639 1 17409 44935 1 10990 35184 1 13873 23524 1 23894 14274 1 21885 40909 1 36816 30456 1 19923 18968 1 18591 30205 1 31951 44954 1 43148 37120 1 34802 44579 1 23561 17949 1 7776 228 1 3877 8333 1 10895 6355 1 33649 43903 1 34094 418 1 19984 49112 1 3...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #67:
score: 0
Accepted
time: 823ms
memory: 24344kb
input:
50000 200000 40623 17620 1 159 17838 1 32127 26252 1 15661 2832 1 4333 18751 1 32195 18325 1 36517 8909 1 23283 27742 1 13404 25840 1 17227 42636 1 10698 14357 1 31443 13433 1 12086 29884 1 47177 16169 1 26291 3747 1 26924 46834 1 11163 28526 1 4823 41529 1 32954 17418 1 43600 14735 1 33740 21267 1 ...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #68:
score: 0
Accepted
time: 719ms
memory: 24348kb
input:
50000 200000 24356 25036 1 43534 12651 1 23601 24919 1 4434 11652 1 1402 13340 1 15318 14559 1 10095 44311 1 24424 19741 1 13598 41087 1 38053 20014 1 17128 35107 1 49415 13460 1 45540 46406 1 28578 5111 1 5249 36653 1 33019 47451 1 15346 10296 1 31674 16750 1 41381 10846 1 44610 32598 1 46804 26558...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #69:
score: 0
Accepted
time: 710ms
memory: 24256kb
input:
50000 200000 19672 22022 1 30939 19221 1 9892 46395 1 19405 16428 1 32721 41246 1 31230 20810 1 23590 37371 1 21945 42829 1 43591 43399 1 8499 20014 1 9144 13007 1 41548 43193 1 1986 20752 1 41293 34488 1 8948 27352 1 43679 48389 1 48654 7645 1 33016 23951 1 47497 11357 1 21851 34060 1 34795 29926 1...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #70:
score: 0
Accepted
time: 787ms
memory: 24208kb
input:
50000 200000 44162 13191 1 20483 45429 1 44547 35530 1 11241 29224 1 37467 43966 1 29514 1781 1 48222 2361 1 31371 9569 1 1387 30644 1 7371 17430 1 16748 4859 1 34751 41870 1 22348 32297 1 19421 47518 1 42842 29219 1 23468 26694 1 34397 12324 1 31116 33288 1 36376 43386 1 35138 27319 1 20975 32431 1...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #71:
score: 0
Accepted
time: 765ms
memory: 24160kb
input:
50000 200000 35675 45402 1 34716 29298 1 44989 12288 1 13896 7369 1 25327 15796 1 5106 49134 1 44401 25200 1 46437 32369 1 41175 22405 1 40985 1300 1 32827 49579 1 15118 47716 1 40981 34426 1 28267 23908 1 16345 47625 1 40616 9276 1 24721 22150 1 19914 19457 1 6923 30469 1 41038 1125 1 46932 23069 1...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #72:
score: 0
Accepted
time: 630ms
memory: 24168kb
input:
50000 200000 12902 23446 1 43505 1670 1 48507 25607 1 130 18981 1 46400 43041 1 37740 920 1 45224 30448 1 22863 7804 1 15509 41023 1 10301 49777 1 14132 868 1 10681 11066 1 7475 26622 1 42337 35032 1 22964 30028 1 19881 36771 1 11207 44561 1 37688 873 1 31940 6678 1 26903 7962 1 33880 47375 1 13288 ...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #73:
score: 0
Accepted
time: 654ms
memory: 24168kb
input:
50000 200000 47390 37133 1 12158 46348 1 34672 9898 1 10255 40999 1 21634 30354 1 12989 11939 1 23481 42244 1 32457 32841 1 13633 47881 1 39873 26142 1 35753 35613 1 47403 9879 1 24751 42401 1 38453 188 1 31117 38718 1 29243 27994 1 5139 38219 1 105 18447 1 46821 35490 1 47587 21296 1 10935 42398 1 ...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 50000 lines
Test #74:
score: 0
Accepted
time: 1272ms
memory: 23940kb
input:
50000 150000 31854 49599 2 11040 3678 2 36389 10757 2 40545 45265 5 29712 31651 4 45351 33852 5 17774 35485 5 27339 35143 4 24548 32327 2 16678 11618 3 5938 26522 5 10589 20244 3 23509 46085 2 41838 35366 5 27999 18392 4 32506 36753 4 3316 43949 5 26323 28437 2 13286 9511 3 28504 26795 3 48275 26047...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #75:
score: 0
Accepted
time: 1311ms
memory: 23916kb
input:
50000 150000 15278 48443 4 23222 20228 3 25668 27449 2 44727 31513 4 29802 8084 3 17460 38471 4 15792 32430 2 25116 9949 3 38405 42535 3 8835 25930 5 25164 45304 4 36725 22353 3 8239 43456 4 25053 18763 3 19588 35550 5 17782 860 4 43934 39711 2 45375 43018 2 23478 36746 5 49317 49946 3 1978 40856 3 ...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #76:
score: 0
Accepted
time: 1294ms
memory: 24056kb
input:
50000 150000 48702 47288 2 19995 45289 4 4548 11437 5 31613 24656 4 12596 27621 2 15377 36193 2 46514 22479 3 48702 17458 2 2262 2743 5 16400 40243 3 44390 22871 3 30158 31358 4 25673 23531 5 15163 9056 2 18073 20005 2 11569 30376 4 1848 42370 4 14427 48815 3 16374 46684 4 45938 29993 3 31489 31474 ...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #77:
score: 0
Accepted
time: 1319ms
memory: 23912kb
input:
50000 150000 14830 21940 3 23665 44543 5 26531 12721 5 35796 35096 4 12686 4055 5 13294 8108 4 44532 19424 3 46480 775 5 48823 21464 2 15453 30363 2 5105 8949 2 6294 33466 4 27699 36310 3 39866 32053 4 33854 4459 2 22653 44483 4 42466 20837 2 7671 46100 3 9270 23918 3 25263 18552 4 35193 46283 5 195...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #78:
score: 0
Accepted
time: 1356ms
memory: 24020kb
input:
50000 150000 30958 20784 5 35847 43796 5 15810 29413 4 7274 28239 3 30073 6296 4 11211 5830 2 7958 9472 4 44258 8284 4 12680 31672 3 23017 11971 4 24331 19220 5 49726 35575 4 45132 33681 4 5785 48153 3 49635 4322 3 33736 41295 4 8892 23495 4 26723 36490 3 19462 33857 2 21884 48599 4 47408 4196 4 679...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #79:
score: 0
Accepted
time: 1067ms
memory: 25988kb
input:
50000 200000 8714 40603 2 47226 41886 4 45507 2425 5 40544 17554 5 5487 19853 4 45181 31253 4 48474 20178 3 33036 7832 5 1595 44138 2 14341 11484 3 23659 15579 3 29481 24301 3 290 16206 2 34397 47680 3 1107 31882 2 48075 30396 2 31738 18829 4 36165 11542 5 43523 12348 4 40588 38992 3 38077 46060 2 2...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #80:
score: 0
Accepted
time: 930ms
memory: 26240kb
input:
50000 200000 24842 6744 4 26703 41139 5 17491 3709 4 12022 27994 5 5577 46287 3 43098 28976 2 46492 17123 3 30814 15341 5 5052 4346 3 30690 8500 5 25589 43145 3 5617 602 3 35020 46281 4 316 13781 5 16888 16336 2 41862 3015 2 22356 38784 2 12113 41531 2 3715 22286 3 37209 19039 3 17589 19381 5 40527 ...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #81:
score: 0
Accepted
time: 835ms
memory: 26100kb
input:
50000 200000 40970 38292 2 38885 16201 2 13666 20401 4 48908 21138 4 31475 15824 2 41015 890 4 44510 31364 4 11296 48659 4 18909 23066 5 38255 40109 3 36303 29224 2 49049 2711 3 2453 43652 5 7723 4074 4 41181 33495 3 2946 49827 2 30270 49954 4 48461 6112 2 46611 49520 2 33830 7598 3 3996 1486 4 2090...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #82:
score: 0
Accepted
time: 864ms
memory: 26168kb
input:
50000 200000 41690 12945 3 18362 15454 3 35649 4389 3 3091 31577 4 14269 42257 5 38933 48613 3 7936 21413 4 34882 6168 3 32766 15978 2 13116 30229 2 5529 39494 5 25186 37524 4 4479 23727 3 47833 44367 2 6962 17949 4 14029 46638 2 46696 19909 2 217 11909 2 6803 35267 5 30451 13453 3 33507 42103 4 408...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #83:
score: 0
Accepted
time: 855ms
memory: 26160kb
input:
50000 200000 7818 29085 5 4736 32004 3 7633 5673 3 7273 24721 4 14360 11794 4 11042 29039 5 5954 1061 5 32659 13677 2 46623 26187 3 12169 27245 4 24756 42868 4 18618 13824 4 21913 21098 4 31048 10467 5 22743 2404 5 7817 43450 2 4610 48376 3 43461 9194 3 25508 12501 4 33968 10796 4 37211 32720 3 2816...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #84:
score: 0
Accepted
time: 1685ms
memory: 26160kb
input:
50000 200000 20682 13744 4 28541 22287 4 48752 16774 3 48027 48969 3 13595 6072 3 18904 37636 4 38042 15625 4 7001 11921 3 10957 36883 4 39675 19960 2 40772 40636 3 23931 30709 5 18132 18439 3 24473 39080 5 12202 32333 5 27085 19949 5 10117 13116 4 9432 44104 4 20030 31183 5 47567 20531 2 27465 4899...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #85:
score: 0
Accepted
time: 1497ms
memory: 25944kb
input:
50000 200000 4106 12589 2 8019 38837 5 27631 33466 3 34913 9408 3 13685 32505 2 41013 35359 2 18764 45274 4 37483 19431 2 7518 29795 5 14536 16976 4 1486 907 2 17364 7010 5 2862 48514 4 40391 5181 4 10687 16788 5 5464 16760 5 43839 33071 5 28484 41389 4 30222 8418 4 44188 33282 2 13873 31096 5 6386 ...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #86:
score: 0
Accepted
time: 1807ms
memory: 26036kb
input:
50000 200000 37531 11433 3 20200 13899 2 49615 34750 2 39095 19848 3 13775 34746 5 21634 7273 5 16782 9515 5 35261 26940 5 21375 15812 2 39397 24393 2 20712 4281 2 43500 41823 5 37591 45885 2 15094 28178 2 34980 33946 2 49252 13572 5 34457 44241 3 30240 31778 5 5822 35652 3 40809 6433 3 17576 21714 ...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #87:
score: 0
Accepted
time: 1317ms
memory: 26912kb
input:
50000 200000 3659 27573 5 16974 45856 2 21598 18738 2 10573 6095 2 13865 11180 4 19551 4996 3 47504 32268 5 8847 27553 4 17936 8724 3 38450 38705 5 39938 47255 5 36932 43932 5 29217 8664 4 5205 44279 5 761 1105 3 10335 27679 5 42371 14196 5 40779 11767 5 41822 45591 5 37430 12288 3 47087 12331 4 136...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #88:
score: 0
Accepted
time: 1543ms
memory: 26000kb
input:
50000 200000 37083 26418 3 3347 20918 3 17773 2726 5 47460 49239 2 46660 30717 3 17468 9614 5 45522 46509 2 6624 35063 3 5985 18932 4 46015 28825 3 16060 7526 4 30365 20233 5 13947 6035 5 38419 1868 3 16542 9751 3 45611 7195 5 32989 25367 3 42535 9053 5 2014 22825 4 16755 42336 3 791 27140 3 18219 4...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #89:
score: 0
Accepted
time: 1884ms
memory: 25984kb
input:
50000 200000 29908 44142 5 20988 24940 4 27333 33578 5 27189 1562 4 9949 180 5 1748 3665 2 9005 3666 2 23557 38131 2 35107 39811 5 10098 41381 2 37824 43965 5 4932 678 5 12086 4907 4 26278 16097 5 39877 14549 2 19883 45669 5 43894 593 3 12658 30899 3 14760 7785 2 32871 28521 5 21994 36413 5 28205 31...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #90:
score: 0
Accepted
time: 1617ms
memory: 25964kb
input:
50000 200000 13332 42986 3 33170 1 5 49317 270 5 31371 44706 4 10039 43910 4 32369 34091 5 39727 611 2 4038 45641 5 48964 19 2 9151 38397 4 7050 12748 4 48364 26979 5 14112 34982 5 9493 14902 3 5658 49004 3 30966 9777 5 1808 29059 4 49006 21288 3 7656 35019 4 29492 17080 5 8401 1222 4 32779 26461 3 ...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #91:
score: 0
Accepted
time: 1879ms
memory: 26036kb
input:
50000 200000 29460 41831 5 12647 49255 2 45492 1554 4 35554 5145 4 10129 46151 3 30286 31814 3 37746 40660 3 1816 3150 4 12821 42932 3 34012 28517 3 468 40314 4 24500 11791 2 31545 47761 3 49603 5194 2 4143 16162 3 42050 39292 5 18234 49014 2 762 1278 4 17848 12254 3 8817 22935 5 12104 41840 3 2761 ...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #92:
score: 0
Accepted
time: 1584ms
memory: 25900kb
input:
50000 200000 29951 32715 4 41070 1699 4 713 14356 4 20314 38731 5 10079 27904 5 16911 26480 4 30534 3100 2 10847 29155 3 48510 15306 2 32054 24381 2 30614 38547 5 7949 2585 2 49809 17278 5 34397 37598 5 47987 9824 2 18609 35279 5 26752 6693 5 30449 21606 3 6423 2285 2 8252 26606 2 7818 6506 4 246 31...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #93:
score: 0
Accepted
time: 1274ms
memory: 25944kb
input:
50000 200000 13375 24664 2 27443 9465 5 22697 48344 3 24497 49170 4 10170 30145 4 14829 24202 2 11256 43149 3 8625 19368 2 12367 8219 3 13811 31798 4 17137 24626 4 34085 46182 2 17243 47353 2 24508 27891 4 46472 26983 3 36589 7899 5 34666 42056 3 32205 1595 4 16615 29520 4 4873 15165 2 11521 4019 3 ...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #94:
score: 0
Accepted
time: 1329ms
memory: 26036kb
input:
50000 200000 29503 23508 4 6921 8718 2 44680 32332 3 28679 9610 4 27556 23874 3 12746 28821 5 9274 7389 3 49506 19982 5 26224 1131 4 38672 46110 2 10555 2192 3 27518 30994 2 19268 27428 4 7722 11287 2 12253 44141 3 47672 4710 5 25284 37818 5 42745 16177 4 9511 6754 3 34198 45212 2 15224 11932 2 7505...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #95:
score: 0
Accepted
time: 1430ms
memory: 26104kb
input:
50000 200000 12927 22352 5 36398 7972 3 23559 16320 2 32861 2754 4 36158 308 2 34855 26543 3 7292 4334 4 47284 27491 4 14273 11339 5 13533 36230 4 29781 20974 2 3654 15807 2 36702 24799 5 47833 34284 5 28034 2788 4 8756 1522 5 9006 40477 3 44501 21974 4 19703 16692 2 30819 18363 3 27440 26741 5 2059...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #96:
score: 0
Accepted
time: 1536ms
memory: 25944kb
input:
50000 200000 10426 39671 2 47567 35284 5 33468 23440 2 33136 15745 5 48497 12192 2 38945 10549 4 14761 13762 3 22595 41131 5 4558 1233 4 29977 2365 2 15484 26360 3 8987 28161 3 767 4972 4 25967 5173 4 15521 40871 2 42596 31084 3 16404 16168 4 15553 18937 4 46669 11146 2 42253 16858 4 19330 45810 2 2...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #97:
score: 0
Accepted
time: 1506ms
memory: 25980kb
input:
50000 200000 39372 28971 4 45905 3298 2 30960 13274 3 33464 38172 5 39435 16662 4 45901 34950 4 341 25629 2 149 10085 3 32035 49497 2 42241 18806 4 43432 21603 5 41294 31591 2 15242 26649 2 29656 244 4 4195 7985 4 28864 2741 3 1897 27614 3 25456 3701 2 19680 131 5 8283 30229 2 15261 18277 4 42826 60...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines
Test #98:
score: 0
Accepted
time: 1668ms
memory: 26032kb
input:
50000 200000 5500 3623 5 25383 19847 2 2943 14558 3 20351 31316 5 39525 18903 3 18010 15376 3 13767 39870 3 47926 17595 3 20084 9705 3 49806 8927 2 12659 7682 4 17430 7892 2 17268 6724 4 12871 40537 3 28488 25144 5 22651 49552 3 9811 38785 5 27211 26794 2 29872 27365 4 37608 10276 2 44773 41598 3 30...
output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310 315 320 325 330 335 340 345 350 355 360 365 370 375 380 385 390 395 400 ...
result:
ok 50000 lines