QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#287122#4414. Divide the SweetsZhaoZiLongTL 0ms0kbC++204.7kb2023-12-19 18:16:082023-12-19 18:16:08

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Time Limit Exceeded

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
42379195
54472802
-972675024
-880400323
823590338
-883429624
-304615637
-724046003
395450630
-726804053
-957661509
-9748718
-60080280
474027871
991132468
-200284725
-495758020
-588032209
-680306398
766698146
512826560
-184448485
-847147726
-511602614
-176057502
-838756743
1873029...

result: