QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#189508#5094. 小 H 分糖果txl1621110 1013ms760124kbC++147.2kb2023-09-27 16:11:442023-10-04 02:51:45

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 27ms
memory: 479688kb

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
Accepted
time: 15ms
memory: 483528kb

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:

ok 443 lines

Subtask #2:

score: 0
Wrong Answer

Dependency #1:

100%
Accepted

Test #3:

score: 0
Wrong Answer
time: 43ms
memory: 480084kb

input:

903 809
2 4
5 604
6 396
10 637
12 593
22 855
26 586
29 170
34 64
37 559
42 413
44 789
46 584
49 83
52 642
55 688
59 899
61 614
68 572
74 707
79 278
80 32
83 315
86 779
87 323
89 901
91 720
92 463
93 592
98 348
99 644
100 465
102 377
103 835
104 479
107 757
111 207
112 458
116 43
43 623
121 538
124 1...

output:

287413405882314511094
280180028871159337388
287699129397884937989
286409611709859376924
283584484872224784733
286142732548797483788
283727650837259968652
288687727148382837693
282646793186915633121
280919306969965839162
280551305534218321172
288252013680287100680
279717343951191633999
28387014483887...

result:

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

Subtask #3:

score: 0
Wrong Answer

Test #6:

score: 0
Wrong Answer
time: 1013ms
memory: 760124kb

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:

27226603252211088380108
27236485042989547066960
27224151577751991819339
27234552665323916162355
27229289236894153065539
27236916301613200888740
27228922593920074396452
27226833559061964324142
27226098503013939763246
27230015796156330794629
27230899500236922768353
27225271208595363620574
272243192651...

result:

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

Subtask #4:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

0%