You are viewing a single comment's thread. Return to all comments →
What is wrong in the following output (Do not consider extra informations printed)
MIN COST = 1062
Crate 0 --------- num.candy color
Crate 1 --------- num.candy color
The output for the accepted code is 1918.
Input
50
528 660 755 585 247 202 134 146 395 555 893 813 227 194 261 847 639 575 704 619 36 777 432 756 181 862 971 686 442 457 499 330 757 657 580 678 612 203 752 238 642 348 839 570 755 800 221 160 454 952
811 311 95 342 994 776 576 687 843 265 430 342 505 119 753 493 234 179 370 343 196 802 753 537 777 705 621 422 353 804 721 65 746 979 91 886 535 346 306 181 684 89 186 490 39 592 838 651 466 136
Seems like cookies are disabled on this browser, please enable them to open this website
Candy Collection
You are viewing a single comment's thread. Return to all comments →
What is wrong in the following output (Do not consider extra informations printed)
MIN COST = 1062
Crate 0 --------- num.candy color
Crate 1 --------- num.candy color
The output for the accepted code is 1918.
Input
50
528 660 755 585 247 202 134 146 395 555 893 813 227 194 261 847 639 575 704 619 36 777 432 756 181 862 971 686 442 457 499 330 757 657 580 678 612 203 752 238 642 348 839 570 755 800 221 160 454 952
811 311 95 342 994 776 576 687 843 265 430 342 505 119 753 493 234 179 370 343 196 802 753 537 777 705 621 422 353 804 721 65 746 979 91 886 535 346 306 181 684 89 186 490 39 592 838 651 466 136