QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#71224#4414. Divide the SweetsHuangHanShengAC ✓6699ms36244kbC++172.5kb2023-01-09 02:59:082023-01-09 02:59:11

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 6699ms
memory: 36244kb

input:

50
1 1
41157
2 2
42567 45459
3 3
18704 43514 6548
4 4
17662 19185 22570 28320
5 5
12535 20205 16505 10400 35580
6 6
35939 41496 10203 32740 30192 13030
7 7
30302 23454 8704 15004 27743 15952 25399
8 8
12327 33605 17303 14647 34972 28109 40172 49588
9 9
32280 30113 13060 40035 2051 45364 40615 40351 ...

output:

695654296
646358963
769229869
54472802
405484871
160537287
823590338
851657132
637283444
957836857
395450630
690615709
828346439
712250445
451522445
474027871
483702848
709934365
891371356
230636443
962990616
766698146
57439143
791362845
395411395
400364705
706984356
445794724
187302962
250823365
77...

result:

ok 479 lines