0_0_37243247_29039.cpp:12:2: error: expected unqualified-id before 'if'
if(N ==1)
^
0_0_37243247_29039.cpp:16:2: error: expected unqualified-id before 'for'
for(i = 1;i<N+1;i++)
^
0_0_37243247_29039.cpp:16:12: error: 'i' does not name a type
for(i = 1;i<N+1;i++)
^
0_0_37243247_29039.cpp:16:18: error: 'i' does not name a type
for(i = 1;i<N+1;i++)
^
0_0_37243247_29039.cpp:26:2: error: expected unqualified-id before 'for'
for(i =N-1;i>=1;i--)
^
0_0_37243247_29039.cpp:26:13: error: 'i' does not name a type
for(i =N-1;i>=1;i--)
^
0_0_37243247_29039.cpp:26:18: error: 'i' does not name a type
for(i =N-1;i>=1;i--)
^
0_0_37243247_29039.cpp:35:2: error: expected unqualified-id before 'return'
return 0;
^
0_0_37243247_29039.cpp:36:1: error: expected declaration before '}' token
}
^
|