QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#438527#434. 密码ucup-team2335100 ✓110ms4308kbC++143.0kb2024-06-10 19:10:132024-06-10 19:10:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 10
Accepted
time: 23ms
memory: 4160kb

input:

5
50 957125670377996927 1000000
585945225866084424 54589429123661916
573947126284093449 777559102750892238
153166610639441991 900505234633730119
829276546475860347 938947033720938303
667383545481941162 128214790654861522
642730062581689305 607900221293886873
386770285184824777 896008952335357488
399...

output:

557534539406344445
48614680453513616
171635259452156428
510374952494623520
577639061489488455

result:

ok 5 lines

Test #2:

score: 10
Accepted
time: 38ms
memory: 4148kb

input:

5
50 985780537212717349 100000000
930098920826707192 859185097554991862
114822564798967594 461663135509764494
290070133363935573 237203042621528977
876169993923548070 273892762234612214
946247278327197064 419030027202401205
613487802603166556 236215096880543712
249116322858554956 901707011293379960
...

output:

728806913399199677
304868452402743224
697338918497266871
845921715720531367
470978095570778021

result:

ok 5 lines

Test #3:

score: 10
Accepted
time: 36ms
memory: 4128kb

input:

5
50 912737338345705547 100000000000
560012542306640281 862559101259689768
518735103494826790 725717349992961571
733957671413353056 169708736886932691
847743526385447667 828696564841332397
107464092562234365 59619590616607389
12132877913647855 720538986960211892
612839049922974832 392264373061240257...

output:

667097255749051439
24610618949224203
416899801207925772
297738252979447312
23941143985346380

result:

ok 5 lines

Test #4:

score: 10
Accepted
time: 39ms
memory: 4204kb

input:

5
50 923097614961380909 1000000000000
97787754875250907 894771248217970266
776694885545580577 777083965073479575
75664239830708863 608716256879701985
237252054800496293 227374993084820963
863032115948152221 365706449805636266
24225822787011794 79303911682790301
773238132021550432 520965679721963390
...

output:

393439798021650097
806593912421988792
494092519607999744
760635090566656810
345872402107725664

result:

ok 5 lines

Test #5:

score: 10
Accepted
time: 66ms
memory: 4172kb

input:

5
2000 9342566358299507 93425663582995
6219101435016694 607891369107000
2117136321762304 2881084573543566
5176682988483854 9306200956208720
8253904804096661 3103523256778684
781386676390747 6601635146687045
6181577982870712 4562900022641750
771036361995174 8802607411541107
8287347227209040 478889400...

output:

8024221318134640
2912294945052670
923582019125464
5148136834097532
5126098831270182

result:

ok 5 lines

Test #6:

score: 10
Accepted
time: 69ms
memory: 4172kb

input:

5
2000 9076941054068597 90769410540685
4164033048333799 6936964960910632
3199151620643150 6169865631753216
3651033776359505 2974612359357727
2437435894180490 7336869581147738
5545756515709013 7225793088900941
316850256662501 598866992420596
1931439899610976 2903969210506357
8802893275621192 51018944...

output:

1049242800759464
8098010761231495
6576281651256434
8788103720252148
3573052280622623

result:

ok 5 lines

Test #7:

score: 10
Accepted
time: 90ms
memory: 4208kb

input:

5
50 986015706540181189 9860157065401811
472447084034094466 701096881178679368
789872459992477277 285017390663914121
139210847563896009 338277635649123845
434174656592580245 368068516438243771
537010852985895475 932180742287574181
420177119220393796 66137395305182219
278267742669272495 2098294852103...

output:

247849421175747134
100544625964575839
218474019585825000
853233263834273947
150488072330948426

result:

ok 5 lines

Test #8:

score: 10
Accepted
time: 86ms
memory: 4172kb

input:

5
50 937539041569299811 9375390415692998
243699599186989388 703817656494514633
490867383683796688 57336497141264681
700995121811059804 884266519548391255
881486531050497524 858417683373541541
483378074519689731 77311461506286120
163799445567955662 630863894729944525
440743631644571023 63661909944717...

output:

480527239412739446
240239983899314410
717198444316236280
414802198647450124
760614208963438868

result:

ok 5 lines

Test #9:

score: 10
Accepted
time: 100ms
memory: 4308kb

input:

5
50 956768533438862867 9567685334388628
159562951002452715 368735031805266874
168203674133135151 519955057721789995
47311303546279427 578468091719224380
488003044752475047 477936813372989614
937035830526454154 585363966735703129
36829830576452586 103584638478504234
938044828907421065 95216503175921...

output:

872783696595005529
170623286712767189
171378135465905434
354338605103736188
412064789025078524

result:

ok 5 lines

Test #10:

score: 10
Accepted
time: 110ms
memory: 4172kb

input:

5
50 954878053655579819 9548780536555798
547909457155842874 765505419310330784
582173103744680117 218053461605844877
290855470787761778 22535982680457566
488260659830503816 201490530306797340
811716163899850400 660850073720225447
662289272267072258 744062472352240699
397407312047625799 2689240086486...

output:

300091718525150102
452635639856590776
679925824089959032
367418322249800717
601189687672072278

result:

ok 5 lines

Extra Test:

score: 0
Extra Test Passed