QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#877840 | #9692. Currency | ucup-team3665# | WA | 2ms | 4224kb | C++14 | 2.6kb | 2025-02-01 10:41:48 | 2025-02-01 10:41:48 |
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: 0ms
memory: 3968kb
input:
5 2 2 3 5 2 6 1 2 1 1 1 2 4 2 1 4 4 2 3 1
output:
13
result:
ok 1 number(s): "13"
Test #2:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
6 1000 601450612 529194719 287622428 350370653 2490001 267842805 909540874 518481012 265798837 15815265 20879824 142543426 589509572 795333485 574202609 686307559 5 5 368241593 3 4 501344156 3 2 881313477 5 3 877155507 3 3 638857659 3 5 60427320 3 1 888140066 1 1 820913164 3 2 656494106 5 2 48265697...
output:
1792008237
result:
ok 1 number(s): "1792008237"
Test #3:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
6 1000 939223353 592232256 204123592 697949032 283207645 247227259 860831362 710972139 170824074 510978702 280845746 896873779 377774668 7308887 326686740 179453061 2 3 997446049 2 3 519323074 4 1 939589279 2 5 98041599 4 4 869921378 3 3 558765317 1 2 483873583 5 1 33483163 3 3 270388480 4 4 5510784...
output:
2035324394
result:
ok 1 number(s): "2035324394"
Test #4:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
6 1000 959730384 933307890 88544023 434800479 519026844 598287106 88518137 220336188 475197957 997211224 13754116 615549399 359488030 322300660 426429747 456751804 2 1 37534981 2 1 826968454 4 5 736905082 2 2 392058437 3 2 148710959 5 3 340405411 4 3 756316407 1 1 989545410 1 4 953888522 1 2 4208087...
output:
2778806746
result:
ok 1 number(s): "2778806746"
Test #5:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
6 1000 828474485 450284805 615710614 642827608 358927789 340890875 324511822 431939488 283505035 960286257 744621984 19345807 677774542 254789794 431703631 752285873 4 1 619213429 4 2 475954933 2 1 372220764 4 3 365954206 5 2 66701266 5 5 715874448 2 1 385795225 2 4 215024198 2 3 335608279 4 5 81229...
output:
2476790522
result:
ok 1 number(s): "2476790522"
Test #6:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
6 1000 773101001 64230554 596335108 570954044 371802052 672297875 609818176 210924742 474129815 637532288 845662045 381562818 836547701 790875625 459034073 816120888 3 4 171273656 2 2 669511947 1 5 99209262 4 1 393105839 4 2 161297430 3 2 175654558 4 4 895979780 2 1 380318119 2 3 438246899 2 2 61661...
output:
3222084804
result:
ok 1 number(s): "3222084804"
Test #7:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
6 1000 786204681 325567741 53406367 432402436 442330564 1353889 4683275 528413577 555907196 568518211 61420817 117239404 703766279 710007531 852547435 543311026 1 1 830934334 2 3 981865567 3 2 439871419 3 2 377106611 1 1 849647504 2 4 590590318 5 5 333563280 3 4 908162812 1 3 384002897 4 4 701562502...
output:
1438404493
result:
ok 1 number(s): "1438404493"
Test #8:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
6 1000 231282432 980783517 727263989 961356406 561412397 64684225 24934075 550525392 539036742 593162011 54404309 842415602 139254655 41057901 7025574 333415843 5 1 391864331 4 5 988465619 3 4 516428210 4 1 87210892 3 2 415610138 2 4 845772565 4 3 607191701 4 4 128790951 2 4 244515643 4 3 579906722 ...
output:
776970480
result:
ok 1 number(s): "776970480"
Test #9:
score: 0
Accepted
time: 1ms
memory: 4096kb
input:
6 1000 467416740 962448121 384174389 871365608 627808140 4118111 84213692 95486636 42198361 537367464 81883331 568748874 399652214 505528927 289980511 462847791 4 4 730566118 4 4 618425027 5 1 735893007 5 4 740117365 4 4 406556432 5 1 745380439 4 3 406046044 1 1 635518504 2 3 125479246 2 2 927182723...
output:
2225970334
result:
ok 1 number(s): "2225970334"
Test #10:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
6 1000 415870588 395225340 827546482 158351410 184520753 49270271 565694141 91183556 64735652 514457776 65991913 652473469 974802209 471029013 816221946 762961222 5 5 916127185 3 4 289132876 5 5 668827203 3 4 329508172 4 1 971030919 4 4 385965933 4 1 433642371 3 3 357815966 4 1 746867091 3 1 6174439...
output:
1846908225
result:
ok 1 number(s): "1846908225"
Test #11:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
6 1000 171558526 862729952 700930185 954606188 556107843 21214118 82124324 570402838 542250833 544254422 45631090 566875796 434373697 160214581 499057915 74268612 4 5 214234639 4 1 453860865 5 4 641254313 5 3 181614408 4 3 557381822 3 4 850648376 2 5 488285118 4 2 421873018 3 2 6357314 2 2 730531050...
output:
1421597655
result:
ok 1 number(s): "1421597655"
Test #12:
score: 0
Accepted
time: 1ms
memory: 4096kb
input:
18 1000 685351467 427490207 670662910 821867853 727051200 702156769 96836979 92840079 151138175 233639098 232826310 983615769 868198293 238057735 830566886 891880259 245561283 702164741 802756724 456449161 426467156 546377154 722973222 275194432 16582010 638774172 369644254 704489714 32949865 476594...
output:
8465161150
result:
ok 1 number(s): "8465161150"
Test #13:
score: 0
Accepted
time: 0ms
memory: 4096kb
input:
18 1000 557488240 74141715 62809425 188295475 607410773 447763711 575191994 780239872 39088970 641692321 473316447 220051751 508950282 673708040 208053704 903322918 689114317 900960741 311394474 690153998 641364607 364584061 532192798 425312805 718205259 897333790 226485600 265878978 737263553 23620...
output:
8545882730
result:
ok 1 number(s): "8545882730"
Test #14:
score: 0
Accepted
time: 1ms
memory: 4096kb
input:
18 1000 910560023 24915278 218290779 833986793 761817306 280712665 190037452 47820730 923619291 915779690 854582969 338817018 585917840 483849230 371579395 890199715 149944525 402537550 277432422 625357890 365347779 297902056 451239307 385419791 250918997 43138582 724968111 135323217 694289226 66850...
output:
8844118003
result:
ok 1 number(s): "8844118003"
Test #15:
score: 0
Accepted
time: 1ms
memory: 4096kb
input:
18 1000 826334562 676019205 964619255 707409259 786482370 756791738 428851368 991232924 240095613 171053510 347446187 127853020 36741984 820749955 141261550 142982263 444240955 457313806 278495519 213485474 713138376 562058454 359110674 337072750 447189368 400457299 166644742 710211270 919448260 682...
output:
8987325780
result:
ok 1 number(s): "8987325780"
Test #16:
score: 0
Accepted
time: 0ms
memory: 4096kb
input:
18 1000 243381190 275742695 884755819 171201059 639990118 783574401 838847655 376132004 93395016 998838999 960512404 972577051 957318277 772151044 982775718 369880935 894391985 549896307 640109123 414934433 382537841 245260849 82222822 886321791 113032675 981085201 558691522 528098807 333324263 9223...
output:
8054117299
result:
ok 1 number(s): "8054117299"
Test #17:
score: 0
Accepted
time: 0ms
memory: 4096kb
input:
18 1000 693411860 764496646 161015149 705448497 932337947 985395573 715775556 440075576 480514846 5337354 404028714 738652346 277234077 248722200 320508112 84218889 931037990 94489137 539824467 98701119 12728368 569198155 565283680 534782063 61531849 596527416 528722498 537673631 55360810 18968963 5...
output:
4709440449
result:
ok 1 number(s): "4709440449"
Test #18:
score: 0
Accepted
time: 1ms
memory: 4096kb
input:
18 1000 966860554 148702243 245622452 765358596 170292390 775865347 315391123 95172594 755493760 308075051 629912427 324483255 63740584 580640884 160489588 751017774 581571458 16061227 70922992 548800871 75355823 82920292 45582866 96432255 513459750 45454921 44392196 39330805 81955672 518279686 1625...
output:
4125385950
result:
ok 1 number(s): "4125385950"
Test #19:
score: 0
Accepted
time: 1ms
memory: 3840kb
input:
18 1000 807864816 418711662 82839077 777036383 283366808 8408137 762151194 968469251 357920701 851223849 485040324 730590798 5200661 10252622 984427804 945960145 629199243 20771973 5042696 551988366 44101954 49556242 562470234 11499901 543469623 99395667 75714182 63273458 94304364 59095604 523390770...
output:
4781127293
result:
ok 1 number(s): "4781127293"
Test #20:
score: 0
Accepted
time: 0ms
memory: 4096kb
input:
18 1000 533273273 380193835 312674687 512191550 854248343 553569239 43601737 793024834 609150105 579642583 758930258 13245246 233849760 267301282 945089964 519013597 872494482 89334354 45475548 557456502 15106643 591453436 532700678 848698 6391972 500572812 590336273 519299941 95176646 553558965 522...
output:
4397144150
result:
ok 1 number(s): "4397144150"
Test #21:
score: 0
Accepted
time: 1ms
memory: 4096kb
input:
18 1000 559285711 692657254 626425226 53060394 858289374 112936275 342459477 518278622 121350431 225326111 547625861 856896696 451017830 795108548 908327385 818266649 943075494 69110904 541890814 573183882 29882672 61879025 48680291 537626030 41245358 14663311 542411061 88023908 509390131 56486739 9...
output:
4150365340
result:
ok 1 number(s): "4150365340"
Test #22:
score: -100
Wrong Answer
time: 2ms
memory: 4224kb
input:
500 1000 116616266 595494634 741846999 502042476 645571039 754735037 419367440 998842506 740592415 391027159 242433213 378675002 459107407 549182773 246571632 524420681 54964599 494418261 405937929 683889800 388755660 370076461 190540390 102302246 3032354 581015911 616421116 248470604 464994279 4424...
output:
245060940669
result:
wrong answer 1st numbers differ - expected: '245256085648', found: '245060940669'