0_0_21528345_16213.cpp:9:5: error: expected initializer before 'for'
for(int i = 0;i<n-1;i++){
^
0_0_21528345_16213.cpp:9:19: error: 'i' does not name a type
for(int i = 0;i<n-1;i++){
^
0_0_21528345_16213.cpp:9:25: error: 'i' does not name a type
for(int i = 0;i<n-1;i++){
^
0_0_21528345_16213.cpp:13:5: error: expected unqualified-id before 'return'
return a[n-1];
^
0_0_21528345_16213.cpp:14:1: error: expected declaration before '}' token
}
^
|