0_0_34766892_30713.cpp:16:9: error: 'maxn' was not declared in this scope
char ch[maxn];
^
0_0_34766892_30713.cpp: In function 'int main()':
0_0_34766892_30713.cpp:19:24: error: 'ch' was not declared in this scope
while(~scanf("%s", ch)){
^
0_0_34766892_30713.cpp:24:27: error: 'll' was not declared in this scope
ans = (int)(((ll)ans * 10 + ch[i] - '0') % x);
^
0_0_34766892_30713.cpp:24:30: error: expected ')' before 'ans'
ans = (int)(((ll)ans * 10 + ch[i] - '0') % x);
^
0_0_34766892_30713.cpp:24:58: error: expected ')' before ';' token
ans = (int)(((ll)ans * 10 + ch[i] - '0') % x);
^
|