QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#614011#9436. Some Sum of Subsetucup-team4961#WA 2ms6132kbC++142.5kb2024-10-05 15:20:112024-10-05 15:21:27

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3920kb

input:

4 7
3 1 5 2

output:

6
4
1
0
0

result:

ok 5 tokens

Test #2:

score: 0
Accepted
time: 0ms
memory: 3820kb

input:

1 5
7

output:

1
0

result:

ok 2 tokens

Test #3:

score: 0
Accepted
time: 0ms
memory: 3804kb

input:

9 18
1 9 5 6 2 7 1 4 8

output:

346
309
230
126
46
10
1
0
0
0

result:

ok 10 tokens

Test #4:

score: 0
Accepted
time: 0ms
memory: 3764kb

input:

1 1467
556

output:

0
0

result:

ok 2 tokens

Test #5:

score: 0
Accepted
time: 0ms
memory: 3764kb

input:

1 1753
2514

output:

1
0

result:

ok 2 tokens

Test #6:

score: 0
Accepted
time: 0ms
memory: 3828kb

input:

1 1182
1182

output:

1
0

result:

ok 2 tokens

Test #7:

score: 0
Accepted
time: 0ms
memory: 3828kb

input:

2 1741
955 835

output:

1
0
0

result:

ok 3 tokens

Test #8:

score: 0
Accepted
time: 0ms
memory: 3908kb

input:

2 1481
2004 1570

output:

3
1
0

result:

ok 3 tokens

Test #9:

score: 0
Accepted
time: 0ms
memory: 3904kb

input:

2 1336
1336 1336

output:

3
1
0

result:

ok 3 tokens

Test #10:

score: 0
Accepted
time: 0ms
memory: 3868kb

input:

12 400
2163 2729 1322 2787 2404 1068 1502 746 898 2057 1771 502

output:

4095
4083
4017
3797
3302
2510
1586
794
299
79
13
1
0

result:

ok 13 tokens

Test #11:

score: 0
Accepted
time: 1ms
memory: 4024kb

input:

42 1609
532 722 2650 2889 2260 659 1831 401 2779 1262 2185 1479 515 552 1627 637 1080 580 1589 2154 2650 219 2924 1712 311 2609 1062 968 1357 1310 1942 2419 2465 300 2546 2537 2967 1197 2271 1551 999 2531

output:

780135870
780135476
780133126
780115746
779984839
779086101
773744618
746617208
628409426
182368401
707355349
419830171
342550392
778349940
825220795
979080057
177969332
68371210
748001250
187917550
492152134
287983982
592218358
32133349
711757614
602140473
799225822
952989153
1466429
437088327
3596...

result:

ok 43 tokens

Test #12:

score: 0
Accepted
time: 1ms
memory: 4340kb

input:

93 24
1687 2324 1216 2696 2884 1678 1301 1957 1247 526 2519 2252 2141 960 1505 175 315 388 440 892 837 1942 256 1667 641 1629 2565 2837 1200 2427 418 1072 427 1589 969 886 2991 2249 539 1132 949 2425 2616 2107 1259 582 1979 386 177 1860 2825 316 2004 956 1218 2332 1498 2939 1126 1706 404 1604 505 11...

output:

958346177
958346084
958341806
958212040
955292305
903321022
141075538
649896624
629379357
102857051
471642575
350313411
852223261
984774652
743966819
740155079
222450670
637406264
282036249
875748580
177575581
602719974
451360351
244531346
556337405
139169356
737451056
595307440
402860967
935337558
...

result:

ok 94 tokens

Test #13:

score: 0
Accepted
time: 1ms
memory: 4564kb

input:

162 1057
695 2739 2637 797 503 1051 2243 2429 160 1900 1798 1584 1488 1377 2764 1324 978 2696 913 2651 817 1522 819 314 882 1536 2785 2193 540 2417 1357 959 2765 408 1693 1305 1643 2565 2677 966 860 2547 936 2123 496 2098 2130 38 378 1395 2725 2657 2107 2096 2039 2421 2548 431 2205 2907 1085 2919 25...

output:

389411124
389407419
389358436
388250937
356407046
445051896
284078655
310513451
444646929
152850475
993044643
431761154
990006065
274011210
363632851
570583138
738018586
406619069
554524447
68656757
468185513
297611934
115797909
686917345
226595373
291150212
272381264
220037421
897019520
543603827
1...

result:

ok 163 tokens

Test #14:

score: 0
Accepted
time: 1ms
memory: 5288kb

input:

258 115
711 2524 2720 190 2722 285 1451 2274 729 433 2198 1787 1513 1943 656 691 1564 110 857 1604 1900 749 936 811 736 2934 160 2765 1024 2777 1176 2451 1358 1527 207 2142 564 766 2187 1122 2394 2701 1518 1871 2047 192 448 198 1178 2337 2187 197 958 2712 1792 1801 2125 1553 642 991 2419 765 556 667...

output:

679628095
679627797
679594544
676765332
496412885
318714207
312586022
91966775
656865481
43835426
451822313
302874781
814080325
198066519
398512797
65425915
372232292
981614918
489120129
415216968
680055200
354073986
472346737
340468228
671304901
14537393
732660445
322180935
429580213
661767647
3710...

result:

ok 259 tokens

Test #15:

score: -100
Wrong Answer
time: 2ms
memory: 6132kb

input:

361 2442
2259 2509 1332 1972 2038 20 69 2957 2994 1239 14 2165 1513 1687 110 296 1198 2179 2383 1107 1399 1283 2159 763 1797 2429 700 716 2155 1675 1084 1240 2511 88 2850 2095 1991 528 2350 2944 2478 1551 2603 1718 1997 2358 829 298 147 559 361 1147 1502 92 1500 2718 875 1138 681 1450 2527 2048 2358...

output:

849851356
956300176
783845043
817920245
555188381
269235160
777024061
405847533
670800842
126582218
630293233
884742381
232912649
617904407
264261637
819240253
83751683
12325327
669222770
176332810
34069514
372759926
215379472
983301149
591956914
386642621
912041653
331493655
581232257
908058288
269...

result:

wrong answer 1st words differ - expected: '307302301', found: '849851356'