0_0_33218711_1735.cpp: In function 'int count(int)':
0_0_33218711_1735.cpp:8:14: error: 'num' was not declared in this scope
if (n == 0) num = 1;
^
0_0_33218711_1735.cpp:9:19: error: 'num' was not declared in this scope
else if (n == 1) num = 0;
^
0_0_33218711_1735.cpp:10:19: error: 'num' was not declared in this scope
else if (n == 2) num = 3;
^
0_0_33218711_1735.cpp:11:7: error: 'num' was not declared in this scope
else num = 4 * count(n - 2) - count(n - 4);
^
0_0_33218711_1735.cpp:12:9: error: 'num' was not declared in this scope
return num;
^
|