Run id: 6622

Main.cc: In function 'int main()':
Main.cc:14:5: error: expected ';' before 'for'
     for(int i=1;i<=n-1;i++){
     ^
Main.cc:14:17: error: 'i' was not declared in this scope
     for(int i=1;i<=n-1;i++){
                 ^
Main.cc:14:27: error: expected ';' before ')' token
     for(int i=1;i<=n-1;i++){
                           ^
Main.cc:8:25: warning: unused variable 'temp' [-Wunused-variable]
     long long n,a[1001],temp,_min;
                         ^
Main.cc:25:1: error: expected '}' at end of input
 }
 ^