QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#457099#4417. Shallow Moonucup-team3690AC ✓1565ms65572kbC++174.8kb2024-06-29 07:54:052024-06-29 07:54:06

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1565ms
memory: 65572kb

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:

9775754433921302528
12719218429090003200
3102866340934553600
1731322551472548096
9775754433921302528
12518842016069313536
1900607941410415616
17573173619913134080
621479607805049408
16047889703994672128
9451871597547151424
15246384117911913472
3393948179234228288
15136715046354208832
122709744547405...

result:

ok 501 lines