0_0_21138451_14181.cpp: In function 'long long int check(long long int)':
0_0_21138451_14181.cpp:6:14: error: expected initializer before 'num'
long lon num=0;
^
0_0_21138451_14181.cpp:11:13: error: 'ans' was not declared in this scope
ans += p%10;
^
0_0_21138451_14181.cpp:15:13: error: 'ans' was not declared in this scope
ans-= p%10;
^
0_0_21138451_14181.cpp:20:12: error: 'ans' was not declared in this scope
return ans;
^
|