0_0_39437532_31063.cpp: In function 'long long int dfs(long long int, long long int, bool, bool, long long int, bool)':
0_0_39437532_31063.cpp:6:1: error: expected primary-expression before ']' token
6 | ] ll res=0;if(x==0)return (bool)(sum&&!y&&gs%7)*(gs%mod)*(gs%mod)%mod;
| ^
0_0_39437532_31063.cpp:11:17: error: 'res' was not declared in this scope
11 | res+=dfs(x-1,(sum+i)%7,flag&&i==up,y||i==7,(gs*10+i),i==lp&&ty);
| ^~~
0_0_39437532_31063.cpp:14:38: error: 'res' was not declared in this scope
14 | if(!flag)dp[x][sum][gs%7][y]=res;
| ^~~
0_0_39437532_31063.cpp:15:16: error: 'res' was not declared in this scope
15 | return res;
| ^~~
|