0_0_26909644_14942.cpp: In function 'int solve(int, int)':
0_0_26909644_14942.cpp:47:26: error: 'cnt' was not declared in this scope
int len = dig >> cnt[i];
^
0_0_26909644_14942.cpp:48:47: error: 'prim' was not declared in this scope
for(int j = 0;j < len;j++) ans = ans*prim[i]%mod;
^
|