0_0_17764667_21615.cpp: In function 'int solve(int)':
0_0_17764667_21615.cpp:6:18: error: expected primary-expression before '=' token
digit[++len]?=?n%10;
^
0_0_17764667_21615.cpp:6:19: error: expected primary-expression before '?' token
digit[++len]?=?n%10;
^
0_0_17764667_21615.cpp:6:24: error: expected ':' before ';' token
digit[++len]?=?n%10;
^
0_0_17764667_21615.cpp:6:24: error: expected primary-expression before ';' token
0_0_17764667_21615.cpp:6:24: error: expected ':' before ';' token
0_0_17764667_21615.cpp:6:24: error: expected primary-expression before ';' token
0_0_17764667_21615.cpp:14:14: error: 'f' was not declared in this scope
ans+=f[i][j];
^
0_0_17764667_21615.cpp: In function 'int main()':
0_0_17764667_21615.cpp:22:2: error: 'f' was not declared in this scope
f[0][0]=1;
^
0_0_17764667_21615.cpp:23:53: error: 'k' was not declared in this scope
for (int i=1;i<=7;++i) for (int j=0;j<=9;++j) for (k=0;k<=9;++k) if (j!=4&&!(j==6&&k==2)) f[i][j]+=f[i-1][k];
^
0_0_17764667_21615.cpp:24:23: error: 'l' was not declared in this scope
while (scanf("%d%d",&l,&r)!=EOF) {
^
0_0_17764667_21615.cpp:24:26: error: 'r' was not declared in this scope
while (scanf("%d%d",&l,&r)!=EOF) {
^
|