QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#878144#9692. Currencyucup-team5015#WA 0ms2432kbRust7.6kb2025-02-01 13:43:452025-02-01 13:44:09

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 2176kb

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: 2304kb

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: 2176kb

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: 0ms
memory: 2432kb

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: 2304kb

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: 0ms
memory: 2304kb

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: -100
Wrong Answer
time: 0ms
memory: 2304kb

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:

2101332606

result:

wrong answer 1st numbers differ - expected: '1438404493', found: '2101332606'