摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=5086求所有连续区间的数字和本质是一个乘法原理,当前位置的数字出现次数=这个数之前的数字个数*这个数之后的数字个数(均包括当前数字本身),注意i*(n-i+1)会超int#include #include #inc... 阅读全文
posted @ 2014-11-19 17:31
LegendaryAC
阅读(124)
评论(0)
推荐(0)