QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#478204#8732. Zečevitzl_Dedicatus5450 77ms23644kbC++144.6kb2024-07-14 18:49:212024-07-14 18:49:23

详细

Subtask #1:

score: 0
Time Limit Exceeded

Test #1:

score: 0
Time Limit Exceeded

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:


result:


Subtask #2:

score: 0
Memory Limit Exceeded

Test #11:

score: 0
Memory Limit Exceeded

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:


result:


Subtask #3:

score: 0
Memory Limit Exceeded

Test #26:

score: 26
Accepted
time: 7ms
memory: 18504kb

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: 6ms
memory: 18996kb

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: 3ms
memory: 19240kb

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: 68ms
memory: 21244kb

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

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: 23644kb

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: 17ms
memory: 18500kb

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: 30ms
memory: 20380kb

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: 14ms
memory: 17940kb

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: 0
Accepted
time: 77ms
memory: 21048kb

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:

465573072506

result:

ok 1 number(s): "465573072506"

Test #36:

score: 0
Accepted
time: 33ms
memory: 18452kb

input:

1 1000
7901158 37773167
21027258 4334
21031592 11484
21043076 17588
21060664 23208
21083872 18256
21102128 10101
21112229 34370
21146599 13732
21160331 11777
21172108 20273
21192381 15018
21207399 23165
21230564 35079
21265643 22595
21288238 18729
21306967 4642
21311609 29180
21340789 31158
21371947...

output:

81655280

result:

ok 1 number(s): "81655280"

Test #37:

score: -26
Memory Limit Exceeded

input:

1000 1
601565709 380146496
106843611 114589719
436440725 132702235
146814923 821147393
707320329 725060235
701370283 91269767
513306674 858660646
172851986 880312764
235423890 783898238
434265476 706702981
6123927 531934452
174241542 896796185
627619019 292027001
874622894 915485730
728338717 661289...

output:


result:


Subtask #4:

score: 0
Skipped

Dependency #3:

0%

Subtask #5:

score: 0
Skipped

Dependency #1:

0%