QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#454729 | #370. City | ucup-team3690 | 100 ✓ | 126ms | 16380kb | C++17 | 1.4kb | 2024-06-25 11:52:10 | 2024-06-25 11:52:11 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Subtask #1:
score: 8
Accepted
Test #1:
score: 8
Accepted
time: 4ms
memory: 14076kb
input:
10 45 0 5 0 2 4 3 6 4 0 6 2 8 6 9 2 1 5 7 5 0 0 2 8 0 0 7 0 6 1 0 4 0 0 3 0 9 5 2 5 8 7 5 5 6 1 5 4 5 5 3 9 5 8 2 7 2 2 6 2 1 2 4 3 2 2 9 7 8 6 8 8 1 8 4 3 8 9 8 6 7 1 7 4 7 3 7 9 7 1 6 6 4 6 3 6 9 4 1 1 3 9 1 3 4 9 4 9 3
output:
9 1280 770 2048 1793 257 1539 512 1024 2304
input:
Interaction has been finished!
output:
0 1 0 1 1 0 0 1 1 2 2 0 2 2 2 2 2 0 2 2 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 1 2 2 2 0 2 2 2304
result:
ok
Test #2:
score: 8
Accepted
time: 4ms
memory: 14044kb
input:
10 45 6 2 0 7 6 9 7 6 0 8 5 4 8 1 7 3 0 5 7 0 0 5 8 0 0 3 6 0 0 1 0 9 4 0 0 2 5 7 8 7 7 3 6 7 7 1 7 9 4 7 7 2 5 8 5 3 5 6 1 5 9 5 4 5 2 5 8 3 6 8 1 8 9 8 8 4 2 8 3 6 3 1 9 3 4 3 2 3 6 1 9 6 4 6 2 6 1 9 1 4 2 1 4 9 9 2 4 2
output:
9 1792 768 1280 2304 2049 514 260 1537 1024
input:
Interaction has been finished!
output:
0 1 0 1 0 1 1 0 1 2 2 1 0 2 1 2 1 2 2 2 2 2 0 2 2 2 0 2 2 2 2 2 2 2 2 2 0 2 0 2 2 2 2 2 2 2304
result:
ok
Test #3:
score: 8
Accepted
time: 0ms
memory: 14004kb
input:
10 45 0 9 0 7 7 3 6 2 6 1 9 8 6 4 7 5 3 6 7 0 9 0 3 0 0 6 4 0 1 0 8 0 0 2 0 5 9 7 7 3 7 6 7 4 1 7 8 7 2 7 7 5 9 3 9 6 4 9 1 9 8 9 9 2 5 9 3 6 4 3 1 3 3 8 2 3 5 3 4 6 6 1 8 6 2 6 6 5 4 1 4 8 4 2 5 4 8 1 1 2 1 5 2 8 5 8 2 5
output:
9 1792 1536 1028 2048 2304 1283 774 512 257
input:
Interaction has been finished!
output:
0 0 0 1 0 0 0 1 1 2 1 1 1 0 2 0 1 2 2 2 2 0 2 2 1 0 0 2 0 2 0 1 2 0 2 2 2 2 2 2 2 2 2 2 2 2304
result:
ok
Test #4:
score: 8
Accepted
time: 0ms
memory: 14040kb
input:
10 45 3 8 9 6 7 4 7 5 7 9 5 2 0 3 3 1 0 7 7 0 3 0 0 9 6 0 1 0 8 0 0 5 0 2 4 0 7 3 9 7 7 6 1 7 7 8 7 5 2 7 7 4 9 3 6 3 1 3 8 3 5 3 3 2 4 3 9 6 9 1 8 9 5 9 2 9 9 4 1 6 6 8 6 5 2 6 4 6 1 8 5 1 1 2 1 4 8 5 2 8 8 4 5 2 4 5 2 4
output:
9 768 1792 258 1280 1537 2304 1029 512 2049
input:
Interaction has been finished!
output:
0 0 1 0 0 0 1 1 0 2 0 1 2 2 1 0 1 2 2 0 0 2 2 2 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 2 2 2304
result:
ok
Test #5:
score: 8
Accepted
time: 0ms
memory: 13988kb
input:
10 45 8 7 6 8 7 0 2 5 9 0 4 5 1 9 3 9 5 7 7 0 0 9 0 5 0 8 3 0 0 1 2 0 4 0 0 6 7 9 7 5 8 7 7 3 1 7 2 7 7 4 6 7 5 9 9 8 3 9 1 9 2 9 9 4 9 6 5 8 5 3 1 5 2 5 5 4 5 6 3 8 1 8 2 8 8 4 6 8 3 1 2 3 4 3 6 3 2 1 1 4 6 1 4 2 6 2 4 6
output:
9 2048 1280 2304 1536 1026 768 261 513 1794
input:
Interaction has been finished!
output:
0 1 1 1 0 1 0 0 1 2 1 0 2 2 0 1 0 2 2 0 0 2 2 2 2 2 2 0 1 2 2 2 2 2 0 2 2 2 2 2 2 2 2 2 2 2304
result:
ok
Test #6:
score: 8
Accepted
time: 0ms
memory: 14104kb
input:
9 36 3 6 4 3 6 8 4 2 3 1 0 7 0 4 7 5 7 0 5 0 0 4 0 3 2 0 1 0 6 0 0 8 7 5 4 7 3 7 2 7 1 7 6 7 8 7 5 4 5 3 5 2 5 1 6 5 8 5 3 4 4 2 4 1 4 6 8 4 2 3 3 1 6 3 8 3 1 2 2 6 2 8 1 6 8 1 6 8
output:
8 1792 2048 1027 773 512 1281 257 1536
input:
Interaction has been finished!
output:
0 0 1 1 0 0 0 1 1 2 2 2 2 2 2 2 2 2 2 2 2 0 1 1 1 0 2 1 0 0 2 2 2 2 2 1 2048
result:
points 1.0
Test #7:
score: 8
Accepted
time: 4ms
memory: 12284kb
input:
10 45 0 5 4 7 4 2 0 4 1 6 0 1 1 8 0 9 9 3 0 1 4 0 2 0 0 8 0 6 0 9 5 0 3 0 7 0 1 4 1 2 8 1 1 6 1 9 5 1 1 3 7 1 2 4 4 8 4 6 9 4 4 5 3 4 4 7 2 8 2 6 9 2 5 2 2 3 7 2 6 8 8 9 8 5 3 8 8 7 9 6 6 5 6 3 6 7 9 5 3 9 9 7 3 5 5 7 3 7
output:
9 1282 1024 2304 514 256 1536 768 1792 2049
input:
Interaction has been finished!
output:
1 0 0 1 1 1 0 0 0 2 2 0 1 2 2 2 2 0 2 2 2 2 2 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 0 2 2 2 2 2304
result:
ok
Test #8:
score: 8
Accepted
time: 4ms
memory: 14004kb
input:
5 10 4 1 0 4 0 2 2 3 0 4 2 0 1 0 3 0 2 4 4 1 4 3 1 2 2 3 1 3
output:
4 512 769 1024 257
input:
Interaction has been finished!
output:
1 0 0 0 2 1 2 2 1 2 1024
result:
points 1.0
Test #9:
score: 8
Accepted
time: 2ms
memory: 12252kb
input:
7 21 4 1 2 5 0 6 0 4 0 2 5 3 0 4 1 0 0 6 0 2 0 5 3 0 4 1 6 4 2 4 4 5 4 3 6 1 1 2 1 5 1 3 2 6 5 6 3 6 2 5 2 3 5 3
output:
6 768 1026 1536 513 1281 256
input:
Interaction has been finished!
output:
1 0 1 1 1 0 1 2 2 2 2 2 2 2 2 2 2 2 1 1 1 1536
result:
points 1.0
Test #10:
score: 8
Accepted
time: 2ms
memory: 12252kb
input:
8 28 7 2 2 1 0 3 2 4 7 5 0 7 0 6 0 3 0 6 0 7 0 2 5 0 0 4 0 1 6 3 7 3 2 3 5 3 4 3 1 3 7 6 2 6 6 5 4 6 6 1 7 2 7 5 4 7 1 7 5 2 2 4 1 2 4 5 5 1 4 1
output:
7 1024 770 256 1280 1536 1792 516
input:
Interaction has been finished!
output:
1 1 1 1 0 1 1 2 2 2 2 2 2 2 2 2 2 2 1 1 0 0 2 1 0 2 2 2 1792
result:
points 1.0
Test #11:
score: 8
Accepted
time: 2ms
memory: 12008kb
input:
6 15 0 3 1 4 1 5 4 2 0 1 1 0 0 5 4 0 0 3 0 2 1 5 4 1 1 3 2 1 5 4 3 5 5 2 3 4 2 4 3 2
output:
5 515 1024 256 769 1280
input:
Interaction has been finished!
output:
0 1 0 1 1 1 0 2 0 2 2 2 2 0 2 1280
result:
points 1.0
Test #12:
score: 8
Accepted
time: 4ms
memory: 11960kb
input:
4 6 0 2 2 3 0 1 0 1 0 2 0 3 2 1 3 1 3 2
output:
3 768 257 512
input:
Interaction has been finished!
output:
1 1 1 2 2 0 768
result:
points 1.0
Subtask #2:
score: 92
Accepted
Test #13:
score: 92
Accepted
time: 64ms
memory: 11940kb
input:
700 244650 407 643 680 336 573 208 466 455 159 648 575 549 50 567 251 211 211 481 530 513 136 334 112 492 175 396 643 483 265 132 20 160 174 550 251 90 99 236 579 374 670 613 495 379 251 170 652 61 495 467 27 317 202 484 420 592 542 354 565 650 35 88 216 681 277 219 299 171 220 647 418 433 434 660 2...
output:
104 135681 158464 61440 179457 105730 186113 141312 126464 192256 165634 136448 81408 18433 180480 160001 101632 175617 175872 52992 124419 86038 75008 106752 123648 113664 44288 16130 12544 190208 54529 164864 177666 162816 174593 96281 70144 45824 129792 16896 140550 83712 61184 99329 180993 40194...
input:
Interaction has been finished!
output:
0 0 0 0 1 0 1 1 1 1 0 0 1 0 1 1 1 0 1 1 1 1 0 1 1 0 1 0 0 1 1 1 0 1 1 1 1 1 1 0 1 0 0 0 0 1 1 0 0 1 1 0 1 1 0 0 0 1 1 0 0 1 0 0 1 0 0 0 1 1 1 1 0 1 0 1 1 1 0 1 1 1 1 0 0 0 1 1 0 0 1 0 1 1 0 1 0 0 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 0 1 1 0 0 1 0 0 1 0 1 0 0 0 1 0 0 1 0 1 1 1 1 1 0 1 0 0 0 1 0 0 0 0 1 ...
result:
points 1.0
Test #14:
score: 92
Accepted
time: 66ms
memory: 14332kb
input:
699 243951 59 192 191 301 270 524 135 496 647 573 174 262 662 43 371 50 655 434 123 242 209 46 612 646 11 533 156 443 322 462 329 558 417 383 283 263 615 504 29 520 391 135 546 535 54 264 382 651 541 427 536 456 295 169 645 303 494 21 282 179 329 490 191 67 697 55 226 276 32 160 226 482 392 56 144 1...
output:
105 121600 169985 113664 92672 57601 86016 110082 112130 101633 156931 3176 36352 38146 125952 135170 155904 153856 173568 36097 142092 43264 166144 18945 68609 25088 20739 128515 167168 22787 55552 150533 70662 65288 87042 195328 44038 180224 175105 183553 50944 143616 22024 187392 144384 130853 20...
input:
Interaction has been finished!
output:
1 0 1 1 1 1 0 1 0 0 0 0 1 0 0 1 0 1 0 0 0 1 0 1 1 1 1 0 0 1 1 1 0 0 1 1 1 0 0 1 0 1 1 1 0 0 0 0 1 0 0 0 1 0 1 1 0 0 0 0 0 1 1 0 0 0 1 0 1 1 0 1 1 1 0 0 0 0 1 0 1 0 1 1 0 1 0 0 1 1 1 0 1 0 0 1 1 0 1 1 0 1 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 1 1 0 1 1 1 1 0 1 0 1 0 0 1 1 1 0 0 1 1 0 0 1 0 0 ...
result:
points 1.0
Test #15:
score: 92
Accepted
time: 64ms
memory: 12016kb
input:
700 244650 32 619 369 483 58 148 484 103 190 630 589 659 90 204 515 464 215 254 688 658 454 3 286 582 158 246 90 164 648 13 602 240 237 8 36 620 31 558 515 560 302 39 373 418 288 388 50 516 26 514 190 467 190 439 600 35 258 421 148 214 251 111 50 62 10 530 624 466 666 637 666 692 285 650 137 686 280...
output:
103 52480 128768 118784 27934 171526 153856 86528 14081 35329 55062 10758 167936 123648 55553 66816 54784 87808 61448 12556 36352 74497 142593 98560 176896 62464 41985 140544 9728 45313 125952 97554 100609 183555 129792 121601 70916 157696 17920 26115 162071 44288 111616 93195 158979 124673 73985 14...
input:
Interaction has been finished!
output:
1 1 0 1 1 1 0 0 0 0 1 1 0 0 1 1 1 1 0 1 1 1 1 1 0 1 0 1 0 1 1 0 1 1 1 1 1 0 1 1 1 0 0 0 0 0 1 1 1 1 1 0 0 1 1 1 1 0 0 1 1 1 0 0 1 1 1 0 1 0 1 0 1 1 0 0 1 1 0 1 1 1 1 1 0 1 0 1 0 0 0 1 1 0 1 1 0 1 0 0 1 0 1 0 1 0 1 1 0 0 0 0 0 1 0 1 1 1 0 0 0 1 0 0 0 1 1 1 1 1 1 0 0 1 0 0 0 1 1 1 0 0 0 0 1 1 0 0 0 1 ...
result:
points 1.0
Test #16:
score: 92
Accepted
time: 56ms
memory: 13988kb
input:
700 244650 230 624 291 145 565 474 12 535 152 335 438 692 136 13 199 155 255 47 546 152 293 254 427 131 71 388 31 231 124 522 503 23 320 545 322 480 674 535 247 415 301 163 226 63 560 367 361 103 391 149 483 661 262 632 337 79 45 59 182 489 526 425 275 369 256 598 42 487 125 63 661 23 181 152 366 29...
output:
104 91392 190208 186886 91648 153344 71168 62464 39426 12830 98560 117254 178950 18950 143106 77618 119067 53518 39174 57606 152070 172032 188930 45342 163074 167682 111374 160512 100864 124160 28160 112128 186638 149760 25346 144130 180224 87040 133902 171010 73216 65798 86784 78094 136194 56832 48...
input:
Interaction has been finished!
output:
1 0 1 1 0 1 1 0 1 0 0 1 0 1 1 1 0 1 0 1 0 0 1 0 1 1 0 1 0 1 0 1 0 0 1 0 0 0 1 0 1 1 1 0 0 1 0 0 0 0 1 0 0 1 1 1 0 0 0 1 0 0 0 0 1 1 1 0 1 0 0 1 1 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1 1 1 1 0 0 1 1 1 0 1 0 0 0 0 0 1 0 1 1 1 0 1 1 0 0 1 0 0 0 1 1 1 1 1 0 1 1 1 0 0 1 1 0 0 0 1 0 0 1 0 1 1 1 0 1 0 0 1 0 1 0 1 ...
result:
points 1.0
Test #17:
score: 92
Accepted
time: 122ms
memory: 14024kb
input:
250000 250000 98377 99261 85304 211210 196850 193036 80796 130416 3160 72100 145991 142897 200915 46448 218676 213491 89680 96159 73896 8598 61659 226081 22401 122629 228272 20662 17177 215756 118511 136128 95692 43162 78229 30135 134970 150179 163578 188576 213241 99059 203107 94390 139934 51361 18...
output:
227 60788226 76880641 37113600 57755392 19414528 4316160 65387264 60009473 61562624 26628608 67742208 68136705 65376768 18617600 16720896 38462210 2245888 71405825 77056770 68785153 10350081 10121216 17165056 54483969 33647104 13714691 62277376 52751104 18654721 65702401 45691392 3354624 39817216 14...
input:
Interaction has been finished!
output:
2 2 1 1 2 0 0 0 2 1 2 0 2 0 2 0 1 0 0 2 1 2 2 0 2 0 0 2 2 2 1 2 2 2 2 1 1 2 2 1 1 2 0 1 1 0 0 2 2 1 0 1 0 2 2 1 1 2 0 1 2 2 2 0 2 0 1 1 1 1 2 2 0 0 2 2 2 2 2 0 2 2 2 2 1 2 2 2 1 2 1 0 2 0 0 0 0 1 2 1 2 1 1 1 1 0 0 0 2 2 0 2 1 2 2 2 2 2 2 0 1 2 2 2 0 2 2 1 0 2 1 2 2 2 0 1 0 1 1 2 1 2 2 0 0 2 1 2 2 1 ...
result:
points 1.0
Test #18:
score: 92
Accepted
time: 104ms
memory: 16380kb
input:
250000 250000 58662 187031 88005 38197 22682 178770 111851 15764 207630 198631 64191 185171 168598 129456 142337 237430 215849 182270 211116 93208 20 204879 130122 42963 11672 121189 75991 33257 87185 128123 33289 2936 144056 47212 140138 18041 2913 20891 194901 213077 39452 3187 187440 25628 73551 ...
output:
228 72402945 44995584 24393728 4373760 46861312 60500746 76520708 56060160 47475456 69690882 12548099 75575809 50500100 46953730 46518575 49115136 15278848 38816772 25042185 7841286 74714880 37244161 44399872 35783936 10756100 59822849 44642818 15271170 73731841 7901186 79177472 24322305 32221952 45...
input:
Interaction has been finished!
output:
1 0 2 1 2 2 2 0 1 2 1 2 0 0 1 1 0 2 2 2 1 2 1 1 2 1 2 0 2 1 1 2 1 2 2 2 0 0 1 1 2 1 2 2 2 2 2 1 0 1 0 2 2 1 2 0 1 0 2 1 1 2 0 0 1 1 1 2 1 0 1 2 0 2 2 2 0 2 0 0 2 2 1 1 1 0 2 0 0 2 2 1 1 0 1 0 2 0 0 1 2 2 2 2 2 2 0 2 2 1 1 2 0 1 2 2 1 0 2 2 1 0 2 2 2 1 1 2 2 0 1 1 2 2 1 2 1 2 1 2 2 2 2 1 1 0 0 2 0 0 ...
result:
points 1.0
Test #19:
score: 92
Accepted
time: 116ms
memory: 14008kb
input:
250000 250000 212557 2865 205598 91456 106547 166169 2385 60328 54909 26698 82002 112166 121929 240217 123410 133417 93989 61456 92642 225604 49143 8681 1263 131585 214794 141276 12589 67655 51160 187118 83743 12235 86483 172453 29872 111146 249757 78807 216189 2378 57530 180918 106038 234952 16366 ...
output:
228 60261120 15789577 62445319 39166464 72429570 12954112 58573568 32221698 20581376 10184704 52185344 72105985 77600565 62140160 16371207 10321161 60489478 77397504 27879424 24620544 42591744 56955136 43643904 38839552 16377348 20263684 30684929 76345600 70774272 71257088 12625408 79140352 63412738...
input:
Interaction has been finished!
output:
1 1 2 1 2 2 2 0 0 2 1 1 2 2 2 0 0 2 1 1 0 0 0 2 0 1 1 2 2 2 1 2 0 1 2 1 2 1 1 0 2 2 2 2 2 0 2 1 1 2 2 1 2 0 1 2 1 2 1 1 2 2 2 0 0 2 2 1 2 2 1 2 1 2 2 0 1 2 2 2 0 0 0 2 2 0 0 2 2 2 2 2 2 1 2 0 2 1 2 2 2 1 2 0 2 0 1 1 2 0 1 2 2 0 2 2 2 2 1 0 0 2 1 1 2 2 2 0 0 2 0 1 1 2 2 2 0 0 1 2 0 0 1 1 2 2 2 2 1 1 ...
result:
points 1.0
Test #20:
score: 92
Accepted
time: 124ms
memory: 16032kb
input:
250000 250000 108989 180679 6618 123314 146792 97095 101695 18624 109138 21259 130176 235020 131970 224224 32023 110376 126943 90247 7024 8229 55250 106561 44259 206501 157785 107293 88446 38793 62937 119441 158397 243678 83221 104131 184687 105512 101778 195126 76695 8559 31678 182822 58730 237755 ...
output:
230 63516928 85957378 17747970 5395794 89238530 15118848 36165120 23753984 65749248 55219456 66642688 49179392 6572288 11555840 5485568 14306098 9592064 17221376 33160198 24482560 77631232 30072576 82581504 9414656 60354816 47310850 57141510 41126400 35143430 72573184 58419968 29315854 8376578 58898...
input:
Interaction has been finished!
output:
0 2 2 2 0 1 2 0 2 2 1 0 1 1 2 2 0 0 2 1 2 2 1 2 1 0 2 2 2 2 2 2 2 1 2 2 1 2 0 0 2 2 0 2 2 2 2 0 1 0 1 2 2 2 0 2 0 2 0 2 2 2 2 0 1 2 2 0 2 0 2 2 2 0 2 1 2 2 2 0 0 2 2 2 2 0 1 2 0 1 0 2 1 2 2 2 2 2 0 2 2 2 1 2 2 1 2 0 2 1 0 1 2 2 1 1 2 2 1 2 2 2 2 0 1 1 0 2 2 2 2 1 2 2 1 2 2 2 2 2 1 2 0 2 2 2 1 1 2 1 ...
result:
points 1.0
Test #21:
score: 92
Accepted
time: 110ms
memory: 13988kb
input:
250000 250000 128536 214028 128536 203182 145589 67326 128536 148506 128536 118881 128536 221940 128536 82743 128536 76287 128536 207959 128536 126237 128536 33353 143121 245162 128536 140279 128536 149583 128536 146645 119187 41695 128536 122057 128536 1126 128536 97289 239043 83867 17254 163707 12...
output:
238 117371648 126301440 98776320 84989696 111989504 95440384 69492992 111739904 114527232 93028352 83063296 74704384 97458432 104947968 102780416 84055552 103092992 115967488 75808512 116107776 102400768 111563776 109536256 81920000 73793792 101472256 96746496 116033536 123661056 120648704 111057920...
input:
Interaction has been finished!
output:
1 1 2 1 1 2 1 2 2 0 2 2 0 2 2 2 0 1 2 1 2 2 2 2 2 1 2 1 1 0 1 0 1 2 2 0 2 0 2 1 2 2 1 2 0 1 2 0 2 2 2 2 2 2 2 2 0 1 2 1 2 1 2 0 2 0 1 1 2 1 2 2 0 2 0 0 1 1 0 2 2 2 2 2 0 1 1 2 2 1 2 2 1 1 2 1 0 2 2 2 2 2 1 2 0 0 0 2 0 2 2 2 2 0 2 2 1 1 1 2 0 2 2 1 2 0 0 2 0 0 0 1 2 1 2 2 0 0 2 0 1 0 1 1 0 2 2 2 0 2 ...
result:
points 1.0
Test #22:
score: 92
Accepted
time: 108ms
memory: 14000kb
input:
250000 250000 198759 59913 198759 106050 198759 138903 198759 182095 198759 99282 198759 26662 198759 143423 198759 119590 198759 110285 198759 106764 198759 187588 198759 232194 198759 183411 198759 74226 198759 26210 198759 37134 198759 20394 198759 175287 198759 190555 198759 165099 198759 54430 ...
output:
240 140698112 89597440 83994880 97797376 122888192 133139200 121536000 141406976 121841920 84028672 100473600 122874880 106299648 121998080 85843712 87273984 105260544 116468224 143205888 87746304 133358080 131258624 88713984 91155456 131884288 108270080 96379648 102909696 98495232 135235072 1419258...
input:
Interaction has been finished!
output:
1 0 2 0 0 2 0 2 2 1 2 1 2 1 2 0 2 0 2 2 1 0 0 2 2 0 0 2 2 1 1 2 0 2 1 0 0 2 2 0 1 1 2 2 2 1 1 2 1 2 1 0 1 2 0 2 2 2 2 2 1 1 2 0 0 2 2 1 0 2 2 2 2 2 1 0 0 0 0 1 2 0 1 2 2 2 2 2 0 2 2 2 1 2 0 2 0 0 0 2 2 2 1 2 1 1 1 2 0 2 2 0 1 1 0 1 1 1 2 1 1 2 2 2 0 2 2 2 2 2 2 2 0 2 2 2 2 1 0 2 2 2 2 1 0 2 0 1 0 1 ...
result:
points 1.0
Test #23:
score: 92
Accepted
time: 124ms
memory: 16088kb
input:
250000 250000 184772 157900 184772 132155 184772 166876 184772 64405 184772 137509 184772 4522 184772 200709 184772 35336 184772 206423 184772 164177 184772 75085 184772 43926 184772 203078 184772 111955 184772 143339 184772 48472 184772 203381 184772 124891 184772 53181 184772 233575 184772 191324 ...
output:
241 98054912 136869376 125431552 132299264 139840512 104635648 95466496 89551872 117621760 92779520 145918976 113627648 119734784 150064384 151512064 132064512 106992640 107273984 127814912 138277632 118615040 120023296 112435968 112099840 89426432 135509760 108977920 95827712 126391552 113802752 90...
input:
Interaction has been finished!
output:
0 0 1 2 2 2 1 2 2 1 2 1 2 2 0 2 2 0 2 0 0 2 2 2 1 2 1 1 0 1 1 0 0 2 2 0 2 2 2 1 1 0 2 0 1 2 0 2 2 1 1 0 2 0 1 0 2 1 1 2 0 0 2 2 2 0 2 2 2 2 1 2 2 2 1 1 0 1 2 1 1 0 0 1 1 0 2 0 2 2 1 2 0 0 2 2 1 2 2 1 2 2 2 1 0 2 1 0 2 2 1 2 0 1 2 2 1 0 2 0 1 0 1 0 0 0 2 1 0 1 1 2 2 0 2 2 1 2 2 2 1 2 2 2 2 2 0 0 1 2 ...
result:
points 1.0
Test #24:
score: 92
Accepted
time: 116ms
memory: 16092kb
input:
250000 250000 230824 15636 230824 208607 230824 150840 230824 175213 230824 27372 230824 196695 230824 235943 230824 201709 230824 37092 230824 220813 230824 77183 230824 86286 230824 239581 230824 119137 230824 63155 230824 10112 230824 180498 230824 15837 230824 147783 230824 244036 230824 176382 ...
output:
241 91429120 120275456 148372992 114653696 130075904 120337920 125707008 138233344 103878656 127169280 131440896 112051712 92865536 147685632 139449344 96003072 105224704 118504960 90009088 130958592 134286080 147651072 101240832 114886144 137221376 110573312 121660672 102599936 138163456 140453376 ...
input:
Interaction has been finished!
output:
2 2 2 2 1 0 2 1 2 2 2 0 2 2 1 0 2 0 1 1 2 2 1 2 1 2 0 2 1 2 1 2 1 2 1 2 2 0 2 0 2 1 2 1 2 2 0 0 2 2 2 1 0 2 0 2 0 0 0 2 1 2 2 0 0 1 2 1 0 1 1 0 0 2 2 1 2 1 1 2 1 2 1 0 2 1 1 2 2 0 2 0 0 2 0 0 2 2 1 2 2 1 0 0 2 0 2 1 1 1 2 2 2 2 1 2 2 2 0 2 1 2 0 0 1 1 1 1 1 1 2 1 0 1 2 2 0 2 0 0 0 2 2 1 2 2 2 0 2 2 ...
result:
points 1.0
Test #25:
score: 92
Accepted
time: 114ms
memory: 16344kb
input:
250000 250000 58738 89012 241722 74087 241722 58508 241722 195367 117601 155982 210156 8731 241722 133766 26861 91965 241722 172806 241722 205939 147422 190803 122741 188023 34509 198117 241722 237277 236733 191382 235687 182460 218974 217284 213346 156152 241722 134502 241722 28571 241722 31231 117...
output:
233 37049386 65843968 69016576 39305216 56535296 77292288 76280064 99133441 86240512 69620992 72399360 74046208 29594112 55755008 78217984 66750464 94773276 78762496 1787136 91887104 71342080 86746884 102998529 60418560 101227008 103164416 41158659 29917720 83374336 57970176 44274998 87929088 551137...
input:
Interaction has been finished!
output:
2 2 0 0 2 2 1 1 2 2 1 2 2 2 1 0 1 0 1 2 0 2 2 0 2 1 2 2 2 2 0 2 2 2 2 2 1 0 1 1 2 2 0 1 2 2 2 2 1 2 2 0 1 2 1 1 1 2 0 1 1 2 2 0 2 1 2 2 2 2 2 0 1 2 2 2 2 0 0 0 1 2 2 0 2 2 0 0 0 1 1 0 0 2 0 2 2 0 2 2 2 2 1 2 1 1 2 1 0 2 0 1 1 2 2 1 1 2 1 1 2 0 1 1 0 2 0 2 1 0 2 2 0 2 0 2 2 2 2 0 2 1 0 0 1 2 2 2 2 2 ...
result:
points 1.0
Test #26:
score: 92
Accepted
time: 120ms
memory: 16380kb
input:
250000 250000 26495 54804 17692 109008 175459 12105 214482 13746 240824 131046 65255 113217 55284 75717 149186 198846 77755 108551 161766 100260 200089 208052 79927 67803 166414 91318 49019 16638 50859 113603 112174 66033 82811 201503 95187 31323 55284 191032 168776 146425 55284 243899 55284 109360 ...
output:
230 73401346 44339712 32203778 63610880 88064514 47502593 66482688 57826560 43890443 84002560 75462400 83706881 18832900 72883985 50737153 64500992 4306688 49375241 8824073 72111616 37289487 44679680 47330560 25880576 71928322 8424192 60761088 25542912 88151040 47768142 25064960 71870978 82537472 42...
input:
Interaction has been finished!
output:
1 2 1 2 1 2 2 1 1 1 2 1 2 1 0 0 1 2 2 2 1 0 2 1 1 2 2 2 2 0 2 2 2 2 2 2 0 2 0 2 2 2 2 1 0 2 2 2 2 2 0 2 0 0 1 0 2 0 0 2 1 2 0 2 0 2 0 0 2 0 2 2 1 2 0 2 2 1 1 1 2 0 0 1 2 2 1 2 2 0 1 2 2 2 2 2 1 2 2 2 0 2 2 2 0 0 1 1 2 2 2 0 2 1 0 2 1 2 1 0 1 2 2 2 0 0 1 2 0 2 2 2 1 2 1 2 2 0 2 0 0 2 2 2 2 1 2 0 0 0 ...
result:
points 1.0
Test #27:
score: 92
Accepted
time: 56ms
memory: 14332kb
input:
700 244650 275 683 22 179 393 371 237 435 143 394 557 333 541 230 98 280 585 410 289 526 96 82 594 616 228 632 579 661 608 432 442 562 653 561 39 439 401 676 444 681 509 178 94 106 281 608 83 133 71 443 336 396 547 221 133 254 230 498 161 29 492 669 340 312 347 97 191 342 501 573 487 409 611 670 180...
output:
104 189440 85511 194048 160512 175620 96256 50432 63232 51968 186115 65536 172033 171010 107776 169472 67328 179968 7174 43520 92674 107266 143622 71424 133124 192000 144896 154371 104704 60162 9489 173572 193280 39682 87041 163584 166656 15148 118272 173106 177152 11008 88835 25856 59392 126208 159...
input:
Interaction has been finished!
output:
1 1 1 1 1 1 1 1 1 0 1 0 0 0 1 1 1 1 1 1 0 1 0 0 1 0 1 1 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 1 0 0 0 0 1 1 0 0 0 0 1 1 0 1 1 1 0 0 1 0 1 0 0 0 0 1 1 1 1 0 0 0 1 0 0 0 0 1 0 0 1 0 0 0 0 0 1 1 1 0 1 1 1 1 0 0 0 1 0 1 1 0 1 1 1 1 1 1 0 1 0 1 1 1 0 0 0 0 1 0 1 1 1 1 1 1 1 1 0 0 0 1 1 0 1 1 0 1 1 1 0 1 0 0 1 ...
result:
points 1.0
Test #28:
score: 92
Accepted
time: 58ms
memory: 11952kb
input:
700 244650 196 541 32 593 557 166 621 105 508 313 485 554 19 348 240 259 569 527 632 184 512 470 648 185 337 22 508 353 216 471 184 608 435 326 515 458 21 521 295 239 209 258 385 364 46 171 76 672 133 219 188 260 41 691 237 575 425 67 314 136 386 281 12 197 560 230 343 568 445 618 537 146 118 628 24...
output:
104 66816 68096 123982 102656 26112 5120 192769 148745 4865 63232 15365 90627 178434 48384 106752 46080 190723 72448 72706 141825 40450 101376 163584 93184 118528 165381 38656 96009 100608 179713 49408 43285 152320 165891 20481 26627 92672 188160 138240 28686 162066 189696 185856 147713 98819 34336 ...
input:
Interaction has been finished!
output:
0 1 1 1 1 0 1 0 1 1 0 1 1 0 1 0 0 1 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 1 1 1 1 0 0 0 0 1 0 0 0 1 1 1 1 1 1 0 1 0 1 0 0 1 1 0 1 1 0 1 0 0 0 0 1 0 1 0 0 0 1 0 0 0 1 1 0 0 1 0 1 0 1 1 1 1 0 1 1 0 1 1 0 0 1 0 0 1 1 1 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 0 1 0 1 0 0 0 1 1 1 0 0 1 0 1 1 1 0 1 0 1 1 1 ...
result:
points 1.0
Test #29:
score: 92
Accepted
time: 58ms
memory: 14296kb
input:
700 244650 592 352 634 56 500 199 138 39 242 322 130 457 673 471 9 518 342 498 30 580 199 675 341 437 10 42 623 556 9 595 571 363 680 303 638 685 628 334 219 488 6 501 284 18 511 520 607 102 437 618 234 667 561 224 299 291 386 607 584 171 140 166 679 285 559 393 570 546 64 81 361 110 510 117 519 467...
output:
104 90881 103430 6696 141824 32256 8964 118055 131073 158998 46082 108544 150273 54272 19725 180480 56320 163584 163072 157440 176133 114688 49664 169728 188165 24576 167936 107777 102146 192515 91658 193025 129024 172035 47616 115456 60674 141060 158274 189185 132865 173059 46336 29952 162307 14771...
input:
Interaction has been finished!
output:
1 1 1 0 0 1 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 0 1 0 1 1 1 1 1 0 0 1 1 1 1 0 0 0 1 1 1 0 1 0 0 1 0 1 1 1 1 1 1 0 0 0 0 0 1 1 0 1 1 1 0 0 1 1 1 1 1 1 0 1 0 0 1 0 0 0 0 0 1 1 0 1 1 1 0 1 1 0 1 1 0 1 1 1 1 0 0 0 1 1 1 1 1 1 0 1 1 0 1 0 1 1 0 1 1 1 1 1 0 0 1 1 1 0 1 0 0 1 0 1 1 1 0 1 0 0 1 0 0 1 1 0 0 0 0 ...
result:
points 1.0
Test #30:
score: 92
Accepted
time: 118ms
memory: 16088kb
input:
250000 250000 110488 29915 32503 19122 163234 216779 32503 244838 32503 56235 40340 188891 32503 63368 32503 62093 32503 21241 156372 239088 86337 206334 32503 107656 186415 11721 32503 19412 1401 170501 238830 1975 32503 2536 32503 92576 146518 16823 50563 21743 32503 103708 70942 36214 52807 18384...
output:
240 120695808 83422208 130443008 114703361 116805377 111137537 112964608 115346689 93015553 127179264 124819712 92760065 101278720 144615169 92827137 84062977 139979008 92407809 145296129 108151296 101610241 86212608 114978048 86869248 117636865 143340032 104186625 114731009 121120256 122196993 1439...
input:
Interaction has been finished!
output:
1 0 2 0 0 2 0 2 2 2 2 0 2 2 1 2 2 2 2 0 2 2 2 2 0 1 2 2 2 2 2 2 2 2 2 2 2 1 1 2 1 2 1 2 1 2 2 1 1 0 1 2 2 0 0 2 2 1 2 2 2 1 2 1 2 0 0 1 2 2 2 0 2 2 0 2 1 0 2 0 1 1 2 2 1 2 2 2 2 0 2 2 2 2 0 0 1 0 1 0 1 0 1 1 1 1 0 2 2 2 0 2 2 2 0 1 2 1 2 0 2 2 2 2 2 1 1 0 2 1 1 1 0 1 1 2 1 2 2 2 2 0 1 1 0 0 2 2 1 2 ...
result:
points 1.0
Test #31:
score: 92
Accepted
time: 120ms
memory: 16168kb
input:
250000 250000 56463 84241 17929 232104 78818 231179 7763 119812 78818 216137 78324 54969 78818 53079 195671 35431 112104 106560 39189 167309 78818 155903 113437 200963 78818 237821 123567 124204 78818 147909 78818 187029 78818 186742 78818 118534 100212 204834 148444 245654 61970 65024 25750 71621 7...
output:
240 113454848 137415936 135089921 84414208 109480192 145089537 85636865 129036033 121154304 98959104 127070464 97824000 87258112 90044160 121235456 128154624 129680128 105126656 121949953 134872320 115802368 100241408 95250944 133477888 104522496 108257537 131806976 129995776 123797760 135281152 109...
input:
Interaction has been finished!
output:
2 2 1 1 0 2 1 1 0 1 1 2 2 1 2 2 1 2 0 1 2 0 1 2 2 2 0 2 2 2 2 1 0 2 2 1 2 0 2 2 0 2 2 1 2 1 2 0 2 1 0 2 2 0 1 2 0 2 1 2 1 0 0 0 0 2 2 2 0 2 0 0 2 0 2 2 2 2 2 2 2 0 2 0 2 0 2 0 0 1 2 2 1 2 0 2 2 2 0 0 1 1 1 1 2 2 2 2 2 2 1 0 2 1 2 2 2 2 2 0 2 1 0 1 2 1 2 2 2 1 2 1 2 2 0 2 0 2 2 2 1 1 2 1 2 2 2 0 2 1 ...
result:
points 1.0
Test #32:
score: 92
Accepted
time: 114ms
memory: 16172kb
input:
250000 250000 246615 82684 47274 30232 139970 60613 210652 81239 179019 172038 41407 219436 132076 211714 29055 38907 49098 236568 48167 185138 47274 170520 47274 574 87166 134649 18240 198023 47274 32445 28748 188954 177984 156977 227404 152029 95667 40783 47274 237786 47274 57531 47274 110575 4727...
output:
240 98193152 136432640 106327296 144756225 106277377 122367232 133873152 86824704 102042880 134720257 120381441 138172160 136998400 134750720 138986497 123152385 117602048 135009793 112668672 106471937 116305920 133587457 99285505 133991680 89832448 144751617 85850881 111844097 90061569 120550656 99...
input:
Interaction has been finished!
output:
2 2 2 0 0 0 0 0 1 1 2 2 2 0 0 2 2 2 2 2 2 1 1 2 2 1 2 0 0 2 2 2 2 2 2 1 2 0 1 1 0 1 0 2 0 1 2 2 0 0 1 2 0 2 2 2 2 0 2 0 2 2 0 0 2 1 2 2 0 2 2 1 2 2 0 2 2 2 2 1 2 2 2 0 0 0 2 2 0 1 0 1 2 2 1 1 1 2 2 2 2 1 1 0 1 0 1 0 1 0 0 0 2 2 2 2 0 0 0 1 2 0 0 0 2 0 1 2 1 0 2 1 2 2 2 0 1 2 2 0 2 0 2 1 0 1 2 0 2 1 ...
result:
points 1.0
Test #33:
score: 92
Accepted
time: 116ms
memory: 14044kb
input:
250000 250000 169779 129784 65198 110053 158373 24761 66653 10729 75121 98520 225514 227184 130625 47045 145713 42773 75121 130333 75121 2813 75121 240810 75121 90074 222329 218563 59360 201210 81564 72860 236207 96937 79551 226435 14469 249307 222141 72356 88298 101110 75121 208318 75121 105396 484...
output:
239 88367106 102709504 101994496 92926464 131862787 109883136 137132544 87454979 117254400 123243264 138440448 102040832 117095681 111972352 120049408 127171841 78249728 110698752 118312192 135321856 121920256 106546432 129429504 82030336 118270977 130423808 123522049 129256705 95808256 128039680 13...
input:
Interaction has been finished!
output:
1 1 0 2 1 2 1 1 1 0 2 1 2 2 1 0 2 1 2 2 0 2 1 1 2 2 1 0 2 0 1 0 2 1 2 2 2 2 2 2 0 0 2 2 0 2 1 0 2 2 1 2 2 2 0 2 0 2 2 0 2 1 1 2 1 0 1 2 2 2 2 2 2 0 0 0 0 1 2 0 2 1 1 1 1 0 0 2 2 2 2 1 2 0 2 2 1 2 0 0 2 1 2 1 0 0 2 0 0 2 1 2 2 2 0 2 0 2 0 2 2 2 1 2 0 1 0 2 2 2 0 0 1 1 0 1 2 0 2 1 1 2 0 1 2 2 2 2 2 2 ...
result:
points 1.0
Test #34:
score: 92
Accepted
time: 104ms
memory: 14332kb
input:
250000 250000 41598 211819 178057 8902 41598 25261 159032 170814 178057 51128 108989 52376 178057 120123 33050 191946 162642 212013 41598 26096 127315 209050 182576 43473 178057 120314 41598 46174 140237 131578 166787 88256 178057 208477 228075 235006 2102 72773 11150 206322 179976 14367 181499 7399...
output:
239 108023809 108346114 117220608 99941632 88334593 102258178 119490304 93381634 93708034 136893697 78217474 92097793 76797952 120225281 102748417 103335424 76284418 105099010 89019649 106488322 87195649 111014913 94950145 134919425 78217984 134793473 138250753 125603841 86349058 84964096 114970113 ...
input:
Interaction has been finished!
output:
2 2 2 2 0 2 2 2 1 2 1 2 0 2 2 0 0 1 1 0 2 2 0 2 0 0 2 2 2 2 0 0 2 0 1 0 1 2 2 2 2 0 2 1 2 2 2 0 2 1 2 1 1 1 2 0 0 0 1 0 1 1 2 1 2 1 2 2 0 2 2 2 1 2 2 2 2 1 2 2 2 2 1 2 1 1 2 0 2 1 2 2 2 2 0 0 2 1 0 0 2 1 1 2 1 0 2 0 2 2 2 2 1 1 2 0 2 2 1 0 2 1 2 2 0 1 1 2 2 2 1 2 2 0 2 2 1 1 2 0 1 2 1 2 1 2 0 2 0 0 ...
result:
points 1.0
Test #35:
score: 92
Accepted
time: 108ms
memory: 14108kb
input:
250000 250000 163081 132781 63469 11856 30855 50874 182965 210480 165909 208529 182965 69949 19082 85721 145102 24549 63469 98663 63469 230902 182965 247893 91712 244743 182965 246142 63469 92012 51907 109391 111901 86904 63469 12300 104476 112270 35238 54337 52549 37141 182965 87396 130391 140516 6...
output:
239 137313538 103346176 91789057 115156738 112769536 121365250 126989569 74668033 101251072 116676352 132870913 78415873 97042432 122443009 108254722 75200257 128119552 128241154 83464704 82436352 119188225 119216128 104972290 79984641 124032001 126742528 106833154 132377857 133715458 110514946 1312...
input:
Interaction has been finished!
output:
2 0 0 0 2 1 0 1 2 2 1 1 1 0 2 0 1 0 2 2 1 0 2 0 2 1 1 2 0 0 0 0 2 0 1 1 1 2 1 0 2 0 1 2 0 2 2 0 1 2 2 1 2 2 2 2 0 0 1 1 2 2 2 0 2 1 1 1 0 2 0 2 0 0 2 0 2 2 1 2 2 0 0 2 1 2 0 2 1 2 0 1 2 2 1 2 2 2 2 1 2 2 2 2 0 1 0 1 2 1 2 0 2 0 2 1 2 2 2 1 2 0 2 1 0 0 0 1 2 2 2 2 2 2 2 0 2 0 2 2 1 2 2 1 2 2 2 0 2 2 ...
result:
points 1.0
Test #36:
score: 92
Accepted
time: 118ms
memory: 14112kb
input:
250000 250000 209695 203761 124115 27828 226002 88019 177206 117980 53014 34658 79947 249040 192420 90387 105823 50440 227710 118147 68838 70284 192420 168744 28455 61505 2311 93146 192420 12190 103505 37947 211324 154894 212740 208321 132041 90447 48111 234924 192420 180290 192420 120196 104200 491...
output:
238 110223616 86522627 112288001 121715712 94182658 118545408 128449024 116959232 73867011 120419328 97552384 123967233 122721792 70644738 120754688 129421057 76409603 95964160 83159811 79965441 80161794 68518659 100304641 71216130 80358402 99581185 130711810 113605888 96917506 126939904 95803648 94...
input:
Interaction has been finished!
output:
2 0 0 2 2 1 0 1 0 2 2 0 0 2 2 2 0 1 2 1 1 2 2 2 2 0 2 1 2 2 0 1 2 0 2 2 1 2 2 1 2 0 2 0 1 0 1 2 2 2 1 1 1 0 0 2 2 2 2 2 0 0 1 1 2 0 2 2 2 2 2 2 2 2 2 0 2 0 2 2 1 2 2 2 2 2 2 2 1 0 1 2 2 2 1 2 0 1 2 0 1 2 2 1 0 2 1 2 1 0 1 0 2 1 2 0 2 0 2 0 2 0 1 0 1 2 2 2 0 0 1 2 1 2 2 2 1 1 2 2 2 1 0 2 1 0 0 1 2 2 ...
result:
points 1.0
Test #37:
score: 92
Accepted
time: 106ms
memory: 14060kb
input:
250000 250000 26171 185351 39348 11884 58623 154119 29392 210049 225461 13141 210462 239794 89337 158657 64038 226543 225461 165057 155662 236975 199438 169618 2656 123195 89755 217180 108157 40495 78088 16550 225461 101981 182908 74529 88887 167252 234346 52597 86586 112414 225461 73242 234252 2080...
output:
237 103596291 75147009 65764354 110134274 78617346 79838976 75862272 109572099 75956994 102469122 66551296 124743424 66681344 113011204 118276099 122228224 93396994 77744640 84999936 99932929 82909696 125942784 109587714 82305281 106342144 83177472 122319104 83984384 102334464 112193024 68204801 118...
input:
Interaction has been finished!
output:
2 2 1 2 1 1 2 1 1 2 1 0 0 2 1 0 1 2 0 2 2 0 0 1 2 2 2 0 0 2 2 2 0 1 2 2 1 1 0 2 0 2 2 1 1 2 1 2 1 1 2 1 2 2 1 2 0 1 2 1 1 0 2 2 2 2 2 0 2 1 2 2 1 0 2 2 0 0 1 2 0 2 1 2 0 2 2 0 1 0 1 2 2 2 2 1 2 0 2 2 0 1 1 2 1 2 2 2 2 2 1 0 0 1 0 0 2 1 0 2 2 2 2 0 2 0 0 2 2 1 0 0 0 0 2 2 1 2 2 2 2 2 0 2 1 2 2 2 1 0 ...
result:
points 1.0
Test #38:
score: 92
Accepted
time: 126ms
memory: 13992kb
input:
250000 250000 110575 244888 185589 68626 9376 216813 144676 137788 100619 78212 211391 66989 35209 243254 20195 144006 196216 87366 185399 121645 194646 130354 54752 290 224640 85825 25675 41656 146244 90139 28927 68073 132399 6516 77706 91331 84625 151745 9376 84716 242992 193078 238102 220734 2181...
output:
236 87610880 55260161 54049793 120067584 64016387 81588225 101157632 89482496 58963202 107032321 99673856 70404354 93402880 104557313 80162562 114255360 108156418 65806082 95712000 84110851 69721604 116014341 117157380 53374208 104823553 104241921 102937601 74452484 78182144 87612161 57121538 961738...
input:
Interaction has been finished!
output:
2 2 2 2 2 2 2 2 1 2 2 1 0 1 2 1 2 1 1 2 2 0 0 1 0 2 2 2 0 2 2 2 1 1 2 2 0 2 2 2 2 1 2 2 1 1 2 1 0 2 2 2 1 2 2 2 2 2 1 0 2 2 0 1 1 0 1 1 2 2 2 0 1 2 1 1 0 0 1 2 1 0 0 2 0 2 2 2 2 2 1 0 2 2 2 2 2 1 2 2 1 1 2 2 1 2 2 1 0 2 2 0 2 0 1 2 2 1 2 2 2 0 1 1 1 2 2 2 2 0 2 2 1 1 2 0 0 0 2 2 1 1 2 2 0 2 1 1 2 2 ...
result:
points 1.0
Test #39:
score: 92
Accepted
time: 126ms
memory: 16376kb
input:
250000 250000 243362 29519 185329 174397 40158 169929 115163 94741 41201 214325 91993 61762 227404 228662 200708 3028 176550 161431 243362 183064 202244 84426 231033 143840 220682 231042 144308 210950 33871 71003 179193 137456 124230 121297 199243 15562 9791 220563 92161 54686 127414 130262 127103 2...
output:
235 88661248 73584384 83178241 88934656 50590979 52137985 55455494 114124806 106475526 77401089 61107205 51768323 69261568 77289987 85025281 91522305 110022662 82823680 110691330 54784769 105623040 87877633 66080512 77829635 96834565 66348292 71022849 110444032 65826307 93514242 70106884 113827846 5...
input:
Interaction has been finished!
output:
2 2 2 2 0 1 0 1 1 2 1 0 2 2 1 2 2 2 0 1 2 2 0 0 2 2 0 2 1 0 2 0 1 1 2 1 1 2 1 0 1 2 0 2 2 0 1 1 2 0 2 0 2 2 1 2 2 2 2 1 2 0 2 2 2 2 0 2 0 1 1 0 2 2 0 0 2 2 2 2 2 0 2 2 1 1 1 1 2 0 2 0 2 2 2 2 0 2 2 2 2 1 2 2 2 2 0 0 2 2 2 2 1 0 1 0 2 1 0 2 1 2 2 1 1 0 2 2 1 2 1 1 2 0 2 2 0 0 2 2 1 2 1 1 0 2 0 2 2 2 ...
result:
points 1.0