摘要:
Question The task is simple: given any positive integer N, you are supposed to count the total number of 1’s in the decimal form of the integers from 阅读全文
posted @ 2020-08-24 23:56
是水泵呢
阅读(98)
评论(0)
推荐(0)
摘要:
这题最后两个测试总是跑不通,最后发现是加法和乘法运算中数值较大,double和int的精度都不够,得使用long double和long int才行。 #include<cstdio> using namespace std; const int N = 100010; long int dp[N] 阅读全文
posted @ 2020-08-24 19:49
是水泵呢
阅读(71)
评论(0)
推荐(0)
浙公网安备 33010602011771号