QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#287100#4414. Divide the SweetsHuangHanShengRE 0ms0kbC++204.1kb2023-12-19 16:06:432023-12-19 16:06:44

详细

Test #1:

score: 0
Runtime Error

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

result: