0_0_39179846_9744.cpp: In function 'long long int dfs(long long int, long long int, bool, bool)':
0_0_39179846_9744.cpp:46:28: error: 'k' was not declared in this scope
46 | if(cnt(s)==k) return 1;
| ^
0_0_39179846_9744.cpp:50:22: error: 'lab' was not declared in this scope; did you mean 'labs'?
50 | int up=limit?lab[pos]:9,res=0;
| ^~~
| labs
0_0_39179846_9744.cpp:53:25: error: 'res' was not declared in this scope
53 | res+=dfs(pos-1,s,lead&&i==0,limit&&i==up);
| ^~~
0_0_39179846_9744.cpp:56:25: error: 'res' was not declared in this scope
56 | res+=dfs(pos-1,calc(s,L)|(1<<i),lead&&i==0,limit&&i==up);
| ^~~
0_0_39179846_9744.cpp:59:30: error: 'res' was not declared in this scope
59 | if(!limit) f[pos][s]=res;
| ^~~
0_0_39179846_9744.cpp:60:16: error: 'res' was not declared in this scope
60 | return res;
| ^~~
0_0_39179846_9744.cpp: In function 'long long int solve(long long int)':
0_0_39179846_9744.cpp:64:18: error: 'lab' was not declared in this scope; did you mean 'labs'?
64 | while(x) lab[++len]=x%10,x/=10;
| ^~~
| labs
0_0_39179846_9744.cpp: In function 'int main()':
0_0_39179846_9744.cpp:69:9: error: 'T' was not declared in this scope
69 | T=read();
| ^
0_0_39179846_9744.cpp:71:17: error: 'l' was not declared in this scope
71 | l=read(),r=read(),k=read();
| ^
0_0_39179846_9744.cpp:71:26: error: 'r' was not declared in this scope
71 | l=read(),r=read(),k=read();
| ^
0_0_39179846_9744.cpp:71:35: error: 'k' was not declared in this scope
71 | l=read(),r=read(),k=read();
| ^
0_0_39179846_9744.cpp:72:47: error: 'id' was not declared in this scope; did you mean 'void'?
72 | printf("Case #%lld: %lld\n",++id,solve(r)-solve(l-1));
| ^~
| void
|