UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#85357#138. NOIP2018提高组 day01 T2 moneyBest_Guest00ms512kbC++171b2019-11-15 19:16:332019-11-15 19:16:34

answer


Details

小提示:点击横条可展开更详细的信息

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 508kb

input:

20
2
629 748
2
276 828
2
23 524
2
80 200
2
532 677
2
571 916
2
256 512
2
260 130
2
971 20
2
129 763
...

output:

627
746
227424
21
522
15720
530
675
521549
254
510
33410
969
18
97535
486
692
85175
54
605

result:

wrong answer 1st lines differ - expected: '2', found: '627'

Test #2:

score: 0
Wrong Answer
time: 0ms
memory: 512kb

input:

20
2
905 870
2
681 466
2
288 4
2
317 634
2
736 368
2
129 387
2
443 629
2
436 683
2
114 342
2
391 969...

output:

903
868
316199
286
2
200027
734
366
49407
441
627
296669
112
340
377519
940
155
53011
466
16

result:

wrong answer 1st lines differ - expected: '2', found: '903'

Test #3:

score: 0
Wrong Answer
time: 0ms
memory: 508kb

input:

20
2
17 646
2
699 448
2
750 375
2
805 674
2
276 92
2
50 992
2
898 359
2
696 196
2
449 703
2
225 112
...

output:

15
644
312005
748
373
541091
274
90
48558
896
357
135524
447
701
24863
822
410
60926
690
344

result:

wrong answer 1st lines differ - expected: '1', found: '15'

Test #4:

score: 0
Wrong Answer
time: 0ms
memory: 512kb

input:

20
3
170 962 891
3
162 4 379
3
250 615 750
3
570 46 299
3
415 634 110
3
564 297 987
3
256 396 992
3
...

output:

337
855289
321
1133
497
459885
1137
13409
827
68996
1125
291855
509
391444
845
111606
525
355880
527...

result:

wrong answer 1st lines differ - expected: '3', found: '337'

Test #5:

score: 0
Wrong Answer
time: 0ms
memory: 508kb

input:

20
3
259 396 191
3
900 300 786
3
212 233 141
3
622 311 933
3
657 539 994
3
6 562 5
3
304 724 240
3
6...

output:

515
75049
1797
234714
421
32479
1241
288919
1311
534233
9
2243
605
172796
1277
268916
1469
2516
1657...

result:

wrong answer 1st lines differ - expected: '3', found: '515'

Test #6:

score: 0
Wrong Answer
time: 0ms
memory: 512kb

input:

20
3
784 196 588
3
969 576 288
3
870 846 563
3
35 910 789
3
445 768 8
3
315 560 172
3
904 647 452
3
...

output:

1565
114464
1935
165024
1737
474889
67
716291
887
5368
627
95588
1805
291345
111
136322
1121
258439
...

result:

wrong answer 1st lines differ - expected: '1', found: '1565'

Test #7:

score: 0
Wrong Answer
time: 0ms
memory: 508kb

input:

20
4
743 105 527 345
4
565 895 330 990
4
163 815 326 493
4
733 403 806 891
4
921 111 191 543
4
771 4...

output:

2225
54703
1031
504215
325380
485
264549
1475
294263
716449
2759
20899
1625
380379
227424
1328
34947...

result:

wrong answer 1st lines differ - expected: '4', found: '2225'

Test #8:

score: 0
Wrong Answer
time: 0ms
memory: 512kb

input:

20
4
642 325 650 967
4
807 582 55 916
4
59 555 354 673
4
405 369 81 764
4
429 910 228 485
4
451 902 ...

output:

1922
210275
2897
468285
49409
173
195561
2015
148671
61039
1283
206342
1451
405449
270815
1391
56671...

result:

wrong answer 1st lines differ - expected: '2', found: '1922'

Test #9:

score: 0
Wrong Answer
time: 0ms
memory: 508kb

input:

20
5
950 390 115 755 80
5
717 896 952 504 448
5
888 883 386 222 111
5
271 807 896 542 740
5
329 567 ...

output:

3795
44345
59565
2863
851144
224840
3547
339569
24309
1079
721369
399798
1311
503173
105609
787
1898...

result:

wrong answer 1st lines differ - expected: '2', found: '3795'

Test #10:

score: 0
Wrong Answer
time: 0ms
memory: 508kb

input:

20
5
329 940 47 611 685
5
49 98 325 895 227
5
12 353 326 684 566
5
32 325 970 320 453
5
959 979 111 ...

output:

1311
43193
417239
191
31427
202043
43
114399
385894
123
313955
144187
3831
107579
73391
2371
649299
...

result:

wrong answer 1st lines differ - expected: '2', found: '1311'

Test #11:

score: 0
Wrong Answer
time: 0ms
memory: 508kb

input:

20
8
16 7 15 9 12 8 14 10
8
10 14 16 15 12 13 8 4
9
11 13 5 12 14 10 15 9 7
8
9 13 14 7 11 16 12 10
...

output:

104
83
87
90
62
116
209
131
20
79
47
142
125
47
55
155
59
164
98
153

result:

wrong answer 1st lines differ - expected: '5', found: '104'

Test #12:

score: 0
Wrong Answer
time: 0ms
memory: 512kb

input:

20
9
8 12 10 4 14 11 9 13 16
8
7 15 13 14 5 16 11 12
9
14 4 15 12 10 13 11 9 8
8
16 9 6 14 15 12 10 ...

output:

55
98
38
79
179
41
167
51
149
87
38
153
107
79
48
119
64
153
89
107

result:

wrong answer 1st lines differ - expected: '4', found: '55'

Test #13:

score: 0
Wrong Answer
time: 0ms
memory: 512kb

input:

20
8
13 16 10 15 14 11 9 5
10
7 6 10 5 4 9 15 16 12 11
8
15 11 14 9 10 16 13 5
9
7 15 10 5 14 16 12 ...

output:

83
134
181
79
35
29
35
23
209
109
97
129
71
179
31
83
35
194
131
69

result:

wrong answer 1st lines differ - expected: '4', found: '83'

Test #14:

score: 0
Wrong Answer
time: 0ms
memory: 508kb

input:

20
16
37 30 36 40 33 29 27 18 21 23 35 25 38 28 31 39
20
38 31 36 7 10 35 40 39 37 25 30 28 22 26 16...

output:

539
1014
1247
727
339
747
887
809
721
1109
209
305
1481
863
782
524
344
402
923
611

result:

wrong answer 1st lines differ - expected: '14', found: '539'

Test #15:

score: 0
Wrong Answer
time: 0ms
memory: 508kb

input:

20
18
37 36 40 29 26 38 22 32 15 23 35 33 39 12 28 31 27 24
19
29 34 38 6 33 40 39 36 21 27 25 19 23...

output:

611
1364
699
776
433
747
1215
296
779
413
923
184
1247
1329
519
431
285
113
869
524

result:

wrong answer 1st lines differ - expected: '10', found: '611'

Test #16:

score: 0
Wrong Answer
time: 0ms
memory: 508kb

input:

20
22
32 30 23 19 33 24 28 22 36 25 35 16 40 7 14 21 10 38 34 39 27 29
22
29 35 33 25 9 10 34 32 39 ...

output:

650
637
575
620
734
815
584
77
179
1220
987
587
951
767
71
1022
1405
194
395
524

result:

wrong answer 1st lines differ - expected: '6', found: '650'

Test #17:

score: 0
Wrong Answer
time: 0ms
memory: 512kb

input:

20
92
10288 2684 13484 10687 9690 16088 7887 6087 2289 6687 13689 14686 12284 8889 2484 7085 14484 1...

output:

936116
36174888
103536653
126862081
13924767
91517967
180375854
22068903
102597571
91397564
69810794...

result:

wrong answer 1st lines differ - expected: '63', found: '936116'

Test #18:

score: 0
Wrong Answer
time: 0ms
memory: 508kb

input:

20
95
19749 10343 2743 13551 10743 9742 16151 7951 6144 2343 6746 13748 14749 12348 8945 2542 7143 1...

output:

1856311
28357763
145554099
157317149
48836849
15796789
202740755
110431567
18147821
205853800
939232...

result:

wrong answer 1st lines differ - expected: '45', found: '1856311'

Test #19:

score: 0
Wrong Answer
time: 0ms
memory: 508kb

input:

20
92
10630 3021 13817 11024 10028 16426 8217 6423 2624 7019 14019 15027 12618 9217 2826 7429 14823 ...

output:

967238
41724319
110527620
134947799
16844905
98378323
189583041
26035199
110097815
98445339
76304863...

result:

wrong answer 1st lines differ - expected: '76', found: '967238'

Test #20:

score: 0
Wrong Answer
time: 0ms
memory: 512kb

input:

20
92
9818 2216 13014 10214 9213 15618 7412 5617 1814 6220 13216 14212 11814 8413 2019 6616 14021 13...

output:

893346
28823794
94082155
115737586
10181807
82184084
167874542
16975415
92742299
81972760
60970007
1...

result:

wrong answer 1st lines differ - expected: '65', found: '893346'