0_0_17024076_26228.cpp:1:9: error: expected unqualified-id before 'if'
if(n == 1 || n == 2){
^
0_0_17024076_26228.cpp:6:9: error: expected unqualified-id before 'for'
for(int t=2*n-1; t>n+1; t-=2)
^
0_0_17024076_26228.cpp:6:26: error: 't' does not name a type
for(int t=2*n-1; t>n+1; t-=2)
^
0_0_17024076_26228.cpp:6:33: error: 't' does not name a type
for(int t=2*n-1; t>n+1; t-=2)
^
0_0_17024076_26228.cpp:9:15: error: expected constructor, destructor, or type conversion before '(' token
printf("%d\n", sum*func_pow(2, n/2)/func(n/2+n%2));
^
|