0_0_21819576_947.cpp: In function 'long long int find(int, int)':
0_0_21819576_947.cpp:6:5: error: expected ',' or ';' before 'long'
long long num = base - 1;
^
0_0_21819576_947.cpp:13:14: error: 'num' was not declared in this scope
num *= base;
^
0_0_21819576_947.cpp:16:18: error: 'num' was not declared in this scope
if(cnt + num > index)
^
0_0_21819576_947.cpp:18:16: error: 'num' was not declared in this scope
cnt += num;
^
|