QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#478211#8732. Zečevitzl_Dedicatus5450 3497ms115348kbC++144.6kb2024-07-14 18:52:082024-07-14 18:52:08

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 3497ms
memory: 68280kb

input:

1 100000
25117044 970963458
373893849 968275175
426927003 756404237
402749243 884153855
655982073 231540010
925839527 380078009
580079136 593952762
505135862 82095067
52931312 190936477
921699044 178656266
22689680 495676031
439196655 96470058
508403382 453576184
728333782 206229498
227588452 887461...

output:

50073509267631

result:

wrong answer 1st numbers differ - expected: '48772599075036', found: '50073509267631'

Subtask #2:

score: 0
Wrong Answer

Test #11:

score: 12
Accepted
time: 403ms
memory: 113548kb

input:

100000 1
866301171 366511673
782130035 523593023
210159324 951803750
33819604 974027339
517904111 963671594
281974787 391051697
568097534 965085338
81004963 640086904
211218893 397278600
614725688 4366212
269152510 559992280
327491679 276555612
630131521 503842459
15556017 382637565
444080049 985512...

output:

1745

result:

ok 1 number(s): "1745"

Test #12:

score: 0
Accepted
time: 400ms
memory: 111064kb

input:

100000 1
602052974 747930871
526492952 570148581
533976658 194147542
178657958 99194566
225173261 577928477
516902495 724134685
601150433 924258430
567498378 534418876
488767427 577178596
272110248 850482707
76905239 32663753
295653369 667089720
95647198 469443114
260333259 658091403
516052242 82742...

output:

3011

result:

ok 1 number(s): "3011"

Test #13:

score: 0
Accepted
time: 394ms
memory: 111344kb

input:

100000 1
62539585 679422422
292493838 651257494
18409931 47903905
667787194 128774888
124839461 365507846
23418045 612484173
406280354 862649934
843234438 905245338
400001312 225717248
755168314 822417263
515758415 201237721
556110002 980912248
173338563 53323238
246379086 756633035
337266161 257609...

output:

1262

result:

ok 1 number(s): "1262"

Test #14:

score: 0
Accepted
time: 399ms
memory: 112120kb

input:

100000 1
574489065 743770763
211882181 288604464
129739889 284534337
331811875 391318315
37416063 608986445
534902036 696548051
268694357 19640591
239365234 576914400
10623890 81786245
557001779 226639658
154345580 731344529
250688026 757559211
25475054 357657388
584637384 652051354
153156878 784586...

output:

7737

result:

ok 1 number(s): "7737"

Test #15:

score: 0
Accepted
time: 410ms
memory: 115348kb

input:

100000 1
535171471 336381440
141773641 673998275
492414591 465321245
292245188 492728685
115925345 510014389
387848714 3853854
550043834 398983084
532785924 732477862
22347128 820766474
426048009 610755195
197776236 641908217
206935657 783564876
125621396 231399245
28736236 409897555
87143269 612743...

output:

9005

result:

ok 1 number(s): "9005"

Test #16:

score: 0
Accepted
time: 346ms
memory: 71668kb

input:

100000 1
933067308 728899586
933067307 281511775
933067306 46479519
933067305 629603498
933067304 513745053
933067303 195448498
933067302 839934969
933067301 749764127
933067300 177662462
933067299 311185829
933067298 67933481
933067297 103347335
933067296 298703387
933067295 868453813
933067294 616...

output:

3899

result:

ok 1 number(s): "3899"

Test #17:

score: 0
Accepted
time: 333ms
memory: 72604kb

input:

100000 1
506382737 329612248
506382736 801627680
506382735 316738091
506382734 681410533
506382733 529449205
506382732 827584154
506382731 317177712
506382730 926503010
506382729 684230820
506382728 480953186
506382727 731683737
506382726 145817323
506382725 360514181
506382724 698908723
506382723 7...

output:

2895

result:

ok 1 number(s): "2895"

Test #18:

score: 0
Accepted
time: 354ms
memory: 72724kb

input:

100000 1
877792105 98377575
877792104 179182144
877792103 161948562
877792102 152474351
877792101 542583167
877792100 142774416
877792099 396779746
877792098 957503478
877792097 669500037
877792096 969281133
877792095 565566533
877792094 425097559
877792093 174648328
877792092 18084987
877792091 422...

output:

5070

result:

ok 1 number(s): "5070"

Test #19:

score: 0
Accepted
time: 338ms
memory: 71228kb

input:

100000 1
825085252 529127478
825085251 396026798
825085250 24693573
825085249 545809975
825085248 194420230
825085247 543957886
825085246 650476290
825085245 405647119
825085244 306150957
825085243 371524357
825085242 376087124
825085241 235930314
825085240 549879890
825085239 570607548
825085238 25...

output:

6544

result:

ok 1 number(s): "6544"

Test #20:

score: 0
Accepted
time: 350ms
memory: 71200kb

input:

100000 1
977073650 470745336
977073649 122977908
977073648 753047720
977073647 251904203
977073646 121800701
977073645 280875129
977073644 144615133
977073643 144968752
977073642 697554749
977073641 39082506
977073640 764169759
977073639 729466800
977073638 405829723
977073637 945950833
977073636 45...

output:

28463

result:

ok 1 number(s): "28463"

Test #21:

score: -12
Wrong Answer
time: 1390ms
memory: 23156kb

input:

100000 1
975215810 6
975215809 9
975215808 6
975215807 12
975215806 10
975215805 9
975215804 15
975215803 15
975215802 12
975215801 20
975215800 12
975215799 22
975215798 19
975215797 20
975215796 23
975215795 25
975215794 19
975215793 27
975215792 29
975215791 30
975215790 22
975215789 30
975215788...

output:

2000059689

result:

wrong answer 1st numbers differ - expected: '44014', found: '2000059689'

Subtask #3:

score: 0
Wrong Answer

Test #26:

score: 26
Accepted
time: 10ms
memory: 17668kb

input:

1000 1000
98203901 1327928
90291962 1715530
73190581 1953419
30626944 1111081
19861765 1648083
378531325 1847131
32338803 1135925
213019894 1754207
104073495 1236818
153162191 1775836
283503659 1577207
370480039 1457117
11989599 1688477
8779089 1115475
25334382 1551917
102065341 1825040
154967698 15...

output:

1011589

result:

ok 1 number(s): "1011589"

Test #27:

score: 0
Accepted
time: 7ms
memory: 19268kb

input:

330 990
373134326 4
701492560 7
746268679 7
776119421 4
895522381 4
746268655 4
805970167 4
373134330 4
716417911 8
761194024 4
626865671 4
328358235 7
14925402 7
597014925 4
582089554 8
44776126 8
104477612 4
298507489 7
835820889 4
895522405 4
656716413 4
552238806 4
313432840 8
447761191 4
298507...

output:

9

result:

ok 1 number(s): "9"

Test #28:

score: 0
Accepted
time: 7ms
memory: 18876kb

input:

330 990
611940298 4
373134344 6
313432864 4
149253747 5
343283602 6
253731346 4
238805985 5
970149264 6
89552243 4
746268681 4
492537314 4
611940310 5
238805999 4
865671657 6
970149250 4
149253761 4
626865697 4
298507491 4
343283596 5
835820905 5
761194028 4
29850769 6
44776150 4
880597026 6
6716418...

output:

9

result:

ok 1 number(s): "9"

Test #29:

score: 0
Accepted
time: 63ms
memory: 17980kb

input:

1000 1000
301268447 148470946
936559118 141508823
785790166 540015242
578859667 224889871
176466061 637491413
9490489 998352121
455152479 666386577
37725832 51483679
602037964 235495591
226213567 578127892
790576859 566555039
970586916 330226797
596431819 80912449
343462089 902326659
424623122 64254...

output:

497728657

result:

ok 1 number(s): "497728657"

Test #30:

score: 0
Accepted
time: 10ms
memory: 20384kb

input:

1000 1000
21227558 339524293
113300665 507519803
315575609 815194004
41238261 31490769
973195321 457225430
196603967 313004401
965058847 590863685
153320571 385042648
393037677 802248464
335446175 871720165
773589757 730240089
556839610 305533224
748100788 938114872
585303457 546525441
671529679 209...

output:

11753

result:

ok 1 number(s): "11753"

Test #31:

score: 0
Accepted
time: 44ms
memory: 18496kb

input:

1000 1000
211337114 553474751
102555909 666935445
299835524 52890195
472089110 163883989
230260733 968299049
314566620 534461117
770735804 446301362
342474482 859840150
980342554 552650340
629645425 503309373
723522633 636096068
727722882 135001479
589125294 553203222
84120343 113509598
248499460 60...

output:

252428485

result:

ok 1 number(s): "252428485"

Test #32:

score: 0
Accepted
time: 12ms
memory: 18196kb

input:

1000 1000
611122771 959495466
916706765 269527419
336110097 965236179
932956848 265539653
60174478 201257188
944335102 781288490
227811330 222887146
524651808 789272439
691184515 614561093
552698243 487840159
648822958 5757463
517856644 692150877
915348052 703214529
413971276 763383781
156326678 402...

output:

576359

result:

ok 1 number(s): "576359"

Test #33:

score: 0
Accepted
time: 29ms
memory: 20836kb

input:

1000 1000
217015550 202280593
638022397 918194415
332038629 258101805
412656484 505014129
813828431 340658688
707030991 330148730
331748201 148708511
5488233 920433075
326085356 310632433
32712833 21269249
25167552 408453560
901596828 641793691
287658509 498533005
529213946 979184490
782206025 21674...

output:

523048

result:

ok 1 number(s): "523048"

Test #34:

score: 0
Accepted
time: 17ms
memory: 21432kb

input:

1000 1000
52183966 228111828
257543135 614908950
314659495 547846822
141681901 334387214
756399034 447607434
919106911 364793883
426406748 718368702
999519116 467421110
434805504 265947560
802947863 196084942
103723434 114979015
746484192 569769459
989703481 344715363
851531833 717800118
612956852 7...

output:

109435

result:

ok 1 number(s): "109435"

Test #35:

score: -26
Wrong Answer
time: 33ms
memory: 21336kb

input:

1 1000
85699469 635177406
397424475 990321093
573253650 934092320
417417315 623100595
35412931 505000054
941378306 708277837
810086552 142111546
991898627 424604577
278985265 365258620
238221494 717030199
159259717 208707366
3515039 543266049
830462866 629413859
44903503 855874855
728757506 15921864...

output:

510384120393

result:

wrong answer 1st numbers differ - expected: '465573072506', found: '510384120393'

Subtask #4:

score: 0
Skipped

Dependency #3:

0%

Subtask #5:

score: 0
Skipped

Dependency #1:

0%