QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#733832#5094. 小 H 分糖果_Doraemon10 603ms51748kbC++143.5kb2024-11-10 21:26:092024-11-10 21:26:10

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 6ms
memory: 21664kb

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: 10
Accepted
time: 0ms
memory: 17476kb

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: 9ms
memory: 20340kb

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:

-207290294
-495677592
891486785
-2056918474
165057243
-1573054972
-185603966
1943373363
-1330779397
-167057314
531026554
-2022533454
1317630031
872942445
1052488264
-1008536573
76578856
526283761
-1404260857
-1808433565
1282204002
1944276610
-1741792280
-1999960305
2090980560
1619963816
703000189
12...

result:

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

Subtask #3:

score: 0
Wrong Answer

Test #6:

score: 0
Wrong Answer
time: 603ms
memory: 51748kb

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:

-2142440056
1741075034
-670452667
1957452775
545131989
-1213213350
-1926718630
-1261127678
1700763034
1608833909
-859012381
139914842
-293047453
-1152839978
-1872126639
840967110
1812715743
-1049036378
-894568553
-1911536682
1097313977
1022874510
601771102
1960430923
-48337161
-1022912056
1056884488...

result:

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

Subtask #4:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

0%