0_0_18151195_7912.cpp: In function 'long long int getans(long long int)':
0_0_18151195_7912.cpp:31:20: error: 'n' was not declared in this scope
long long temp=n,ret=0;
^
0_0_18151195_7912.cpp:34:9: error: 'ret' was not declared in this scope
ret+=temp;
^
0_0_18151195_7912.cpp:36:12: error: 'ret' was not declared in this scope
return ret;
^
|