QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#263824#7442. qwqchen_zhe_5 24ms10428kbC++143.2kb2023-11-25 08:41:442023-11-25 08:41:45

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 1
Accepted

Test #1:

score: 1
Accepted
time: 24ms
memory: 10168kb

input:

100000 1 100000
7448375 737333616 685856465 350697551 860138276 320928774 304239466 270383009 560997972 469846663 492843480 775066516 92898815 739514855 611694784 900998355 623915667 482955339 686389845 404399934 867791725 710302983 903606585 188399384 310171721 539675812 28846443 558726528 31815219...

output:

6795766467720
40427265220339
1411829573582
482070467674
1515658496377
3944774233512
19764920493312
24181128223460
23105448779230
10256180204418
5001697693446
20651969648194
974314346921
21657983942987
31251884136299
4736344823253
37876579601568
13522220945427
28938012411879
14712351163912
1414635847...

result:

ok 100000 numbers

Subtask #2:

score: 4
Accepted

Test #2:

score: 4
Accepted
time: 16ms
memory: 8500kb

input:

100000 100000 100000
99970111 463527724 639995666 583725073 486269917 936218820 193474624 128067622 514146293 123469764 349324538 675090305 340511308 843198699 69790556 310440270 113908090 906636502 632763987 582973602 406192780 509706709 132823799 303951698 114857551 892128414 387803743 710951860 7...

output:

3281083198206
4703053563839
6405299521297
8755466853439
1241105793791
9687450261294
266297988655
3958571853252
5123221657274
2765007607047
4404554387938
3398088036403
2206042326693
7994424961487
5315528902269
5684114632727
4759383015068
10916243531489
4193633712152
3030932796233
2713325880342
347202...

result:

ok 100000 numbers

Test #3:

score: 0
Accepted
time: 15ms
memory: 7508kb

input:

100000 100000 100000
420273161 189032272 674621520 60451386 263622968 211649948 602415663 160899604 296683897 49306749 107781060 34128440 536438108 15629474 485417883 157891537 830710157 5244876 114674238 46254632 548776403 177947692 620054439 288264421 691477965 136649128 306073348 35443706 5836131...

output:

8765497896695
5614942975271
5922986863659
3363594505789
936384634824
9180712671686
9389651059137
11969532107054
10435862019919
2428637586499
928275276982
987512359191
4806084025756
5221044197238
391879568257
251556570501
14057762964989
5483069529232
11253564246818
12385539933170
5949389247838
178622...

result:

ok 100000 numbers

Test #4:

score: 0
Accepted
time: 15ms
memory: 6732kb

input:

100000 100000 100000
180208162 985572992 233551062 807185035 529795564 987170769 429079510 868015760 814537689 969732769 788676222 288621380 394349299 567550454 143151175 255571797 398580017 502326998 134876339 408186706 36065131 70678615 464861218 990433414 311263802 296802090 159559638 537215555 1...

output:

1209025140614
234013794
146122094
133804265783
1397542254790
1303891309435
159716613
191988838
94675029
211337079
5332025652
1674856239396
1029442477574
1584889771053
1146143110728
170413755
219298883
254817093
121643432
143989485
206853411
274080799
261445520
822682709955
195041332
639172401203
135...

result:

ok 100000 numbers

Test #5:

score: 0
Accepted
time: 13ms
memory: 8308kb

input:

100000 100000 100000
808396822 722791976 670201889 177680335 384479005 95255373 724697731 765126861 851829434 176677911 189035298 322715587 92015384 544092220 940343259 553044114 278759817 534094921 432465293 856363487 314881532 527424740 463049250 222548718 864940945 167971533 523429923 367380502 3...

output:

1730128855699
247020700915
1261476148047
393421467987
79020329609
190642652178
182161635270
1697588492209
329531214821
103233530653
482388974997
375254047229
3412844084
108298306528
357722552558
261457272368
757570606
281690685701
298225855821
1068435635204
217827456049
303168742664
1288451084020
75...

result:

ok 100000 numbers

Subtask #3:

score: 0
Wrong Answer

Test #6:

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

input:

299 2 295
57544733 909074717 237018100 151983977 441962747 450817458 610963000 32610391 373229751 229656478 900655148 572553275 164685614 225157516 247646023 177679044 777911366 275446675 36676996 275336919 754941027 765820198 539294430 916094840 668700864 719422900 881385658 888882077 7649338 15381...

output:

16559545387
964051562
41158655700
11514397306
52263113408
47571285362
6816049679
58213597339
20071410698
18219222240
14357236414
51243726490
14748389541
11375303736
41546073178
11119386181
48920367789
28934440388
43263005839
19557122386
10154705867
15013133513
35679510931
1065340762
35894273635
2028...

result:

wrong answer 31st numbers differ - expected: '17852017847', found: '18036906540'

Subtask #4:

score: 0
Skipped

Dependency #3:

0%

Subtask #5:

score: 0
Wrong Answer

Dependency #1:

100%
Accepted

Test #21:

score: 15
Accepted
time: 14ms
memory: 10276kb

input:

99084 1 99393
189075760 302735738 649764322 272050433 143726404 959527748 241995164 805357497 537584726 10742254 188357389 699051413 76833772 981644970 636763545 442033189 694529820 30206198 77592896 347281017 451067971 191822641 299120523 103664034 851802053 9679923 817585718 887564330 698948613 83...

output:

28847516304229
13576236688328
19461176117167
8478421601344
24700672966329
42939161472201
25248660703358
15955560909198
19218899892487
1751381356824
11085638170940
15339202666275
17542496563118
2912709585722
16262574973613
4550918550091
6199489225727
21353957608367
21625976246837
28768401332011
27088...

result:

ok 99393 numbers

Test #22:

score: -15
Wrong Answer
time: 24ms
memory: 10428kb

input:

99248 2 99854
990530485 210566940 179856142 585885958 225540596 190703416 15704600 287996256 236259795 805866806 83818430 305635958 136794766 23239239 281459094 161899941 131780502 843612749 426463416 983168232 950193212 251723038 264112301 374453748 573182667 952819270 962984035 647529819 187842482...

output:

3788294273496
14926618369846
8444816322660
15058385218045
9237428119621
12138868627600
7691567392560
10276299454860
13770046714843
16421750285074
3144945771597
14894094845597
11643936417937
17861081747334
10734878602125
2573687530314
7628552072978
10819183681281
14249879481883
5749912837468
15271311...

result:

wrong answer 11657th numbers differ - expected: '10355102352', found: '10605025505'

Subtask #6:

score: 0
Skipped

Dependency #5:

0%

Subtask #7:

score: 0
Skipped

Dependency #4:

0%

Subtask #8:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Dependency #3:

0%