0_0_36602603_9981.cpp: In function 'int bt(int)':
0_0_36602603_9981.cpp:18:29: error: 'solve' was not declared in this scope
if(n%3==0) num+=3*solve(n/3);
^
0_0_36602603_9981.cpp:19:41: error: 'solve' was not declared in this scope
else if(n%3==1) num+=2*solve(n/3)+solve(n/3+1);
^
0_0_36602603_9981.cpp:20:28: error: 'solve' was not declared in this scope
else num+=solve(n/3)+2*solve(n/3+1);
^
|