#include <iostream>using namespace std; int main(); { int p=1;for (int i=1; i<n; i+=2){ p=a[i]} // your code goes here return 0;}
Standard input is empty
prog.cpp:5:1: error: expected unqualified-id before '{' token { ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!