0_0_38376650_31855.cpp: In function 'll dfs(int, int, int, bool)':
0_0_38376650_31855.cpp:9:19: error: 'lead' was not declared in this scope
if(!limit && !lead && dp[pos][state]!=-1) return dp[pos][state];
^
0_0_38376650_31855.cpp:24:5: error: expected ';' before '}' token
}
^
0_0_38376650_31855.cpp: In function 'll solve(ll)':
0_0_38376650_31855.cpp:38:57: error: expected primary-expression before ',' token
return dfs(pos-1/*从最高位开始枚举*/,/*一系列状态 */,true,true);//刚开始最高位都是有限制并且有前导零的,显然比最高位还要高的一位视为0嘛
^
0_0_38376650_31855.cpp: In function 'int main()':
0_0_38376650_31855.cpp:43:35: error: 'scanf' was not declared in this scope
while(scanf("%lld%lld",&le,&ri), le || ri)
^
0_0_38376650_31855.cpp:46:46: error: 'printf' was not declared in this scope
printf("%lld\n",solve(ri)-solve(le-1));
^
|