QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#441054#5094. 小 H 分糖果Ex_sky15 1612ms233132kbC++146.4kb2024-06-14 11:23:452024-06-14 11:23:47

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 10
Accepted
time: 7ms
memory: 8336kb

input:

866 841
1 864
4 153
9 559
10 410
11 336
12 417
14 666
18 241
21 184
22 849
23 40
25 783
26 189
28 329
29 216
31 864
34 581
40 131
42 625
45 744
47 723
50 633
51 447
52 454
53 88
55 619
60 259
62 680
67 126
72 371
73 742
80 196
81 536
82 647
85 254
87 172
88 489
93 708
94 227
95 340
96 7
7 91
97 594
...

output:

285125508
285374449
285871392
285072359
284419704
284843737
284692039
284936099
285944374
285174668
285019779
284651455
287282253
287175619
284878507
285369672
284880507
285404741
284913527
286053317
288622563
286960150
287194443
288326074
286937403
287883097
288535226
288195055
288643208
288632989
...

result:

ok 419 lines

Test #2:

score: 0
Wrong Answer
time: 7ms
memory: 8508kb

input:

951 896
6 886
8 809
9 392
12 590
13 643
16 322
17 613
37 605
42 354
44 594
47 905
49 623
53 240
56 546
58 751
60 919
62 74
63 303
64 105
68 578
69 41
41 110
71 402
74 528
75 616
76 83
77 230
83 289
84 354
88 340
89 65
91 785
92 831
93 286
96 101
97 841
99 556
100 700
101 574
102 652
103 534
105 107
...

output:

323762325
323477550
323340853
323950611
323726768
322803839
322828150
323927499
323452292
322435378
323945420
323767611
322557229
323137116
322736140
322900873
322078759
322286746
322383436
322825503
321513631
320299707
320738958
320752861
319979668
320430841
319960294
319658294
317899682
318822085
...

result:

wrong answer 216th lines differ - expected: '313736171', found: '314117993'

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 15
Accepted

Test #6:

score: 15
Accepted
time: 1612ms
memory: 215380kb

input:

87080 98363
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11
11 12
12 13
13 14
14 15
15 16
16 17
17 18
18 19
19 20
20 21
21 22
22 23
23 24
24 25
25 26
26 27
27 28
28 29
29 30
30 31
31 32
32 33
33 34
34 35
35 36
36 37
37 38
38 39
39 40
40 41
41 42
42 43
43 44
44 45
45 46
46 47
47 48
48 49
49 50
50 51
51 52...

output:

27217464773998101198216
27222683135365131711066
27215685950441383375941
27221607244120669838311
27219047117137492446677
27222635053035794978138
27218848172360084265818
27217641965048032442370
27217075857038185043354
27219505943263517662069
27219987830714690994915
27216425553487126261338
272156845500...

result:

ok 49026 lines

Test #7:

score: 15
Accepted
time: 1563ms
memory: 209108kb

input:

84870 94829
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11
11 12
12 13
13 14
14 15
15 16
16 17
17 18
18 19
19 20
20 21
21 22
22 23
23 24
24 25
25 26
26 27
27 28
28 29
29 30
30 31
31 32
32 33
33 34
34 35
35 36
36 37
37 38
38 39
39 40
40 41
41 42
42 43
43 44
44 45
45 46
46 47
47 48
48 49
49 50
50 51
51 52...

output:

26588824183614252611956
26590972957572618361173
26588072360121209836363
26591857847070561616545
26589232564845670209408
26592122980539987339833
26587754880131177015120
26589297513918827289821
26587809270957143483620
26589079923893149835091
26592765548568891098479
26589309295038049830001
265880100172...

result:

ok 47183 lines

Test #8:

score: 15
Accepted
time: 1376ms
memory: 233132kb

input:

96634 80387
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11
11 12
12 13
13 14
14 15
15 16
16 17
17 18
18 19
19 20
20 21
21 22
22 23
23 24
24 25
25 26
26 27
27 28
28 29
29 30
30 31
31 32
32 33
33 34
34 35
35 36
36 37
37 38
38 39
39 40
40 41
41 42
42 43
43 44
44 45
45 46
46 47
47 48
48 49
49 50
50 51
51 52...

output:

30077825779968347451702
30074759816356090849186
30079514925011418879668
30076799133737016237726
30078990001739930674611
30080891961908067423095
30078486689897323991187
30075141829412423915885
30080001764736455079465
30073677391611280633894
30079391586644084223862
30080833751860317298636
300797099430...

result:

ok 40329 lines

Subtask #4:

score: 0
Skipped

Dependency #1:

0%