QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#457091#4417. Shallow Moonucup-team3690TL 0ms0kbC++174.2kb2024-06-29 06:33:552024-06-29 06:33:55

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Time Limit Exceeded

input:

501
1000 1000000000 8 6
196705452 282810113
937875223 275529064
629271205 864549686
750495261 246485461
543433237 255456903
488123456 624378383
54011768 202210239
202279514 480198740
310520275 178661688
643456981 428672131
21485303 109706962
473119724 616638896
589883353 354364583
907646968 63640664...

output:

11070338673483726848
10780766076333668608
15693555626730426368
9940036113503512832
11070338673483726848
10114494422642615296
13924437924992640000
6075092419968307200
5389150458500889152
16290652562316870656
16086418904476401728
10430142247328252928
2518975294440949824
5457432580811720768
89135539934...

result: