0_0_21599761_2881.cpp:22:33: error: stray '#' in program
num=(num*10+str[i]-'0')%n;
^
0_0_21599761_2881.cpp:22:39: error: stray '#' in program
num=(num*10+str[i]-'0')%n;
^
0_0_21599761_2881.cpp: In function 'int main()':
0_0_21599761_2881.cpp:22:34: error: lvalue required as unary '&' operand
num=(num*10+str[i]-'0')%n;
^
0_0_21599761_2881.cpp:22:36: error: expected ')' before ';' token
num=(num*10+str[i]-'0')%n;
^
0_0_21599761_2881.cpp:22:43: error: expected primary-expression before ')' token
num=(num*10+str[i]-'0')%n;
^
|