Borderou de evaluare (job #1031026)

Utilizator thereauFMI Sandu Robert Stelian thereau Data 15 noiembrie 2013 17:19:13
Problema Palin3 Status done
Runda FMI No Stress 4 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:19:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(unsigned i=0;i<n;i++) ^ user.cpp:27:20: error: expected unqualified-id before ‘int’ for(int st=i+1,int dr=i+n-1;dr<=i+n/2,status==0,st>i+n/2;st++,dr--) ^ user.cpp:27:20: error: expected ‘;’ before ‘int’ user.cpp:27:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int st=i+1,int dr=i+n-1;dr<=i+n/2,status==0,st>i+n/2;st++,dr--) ^ user.cpp:27:35: warning: left operand of comma operator has no effect [-Wunused-value] for(int st=i+1,int dr=i+n-1;dr<=i+n/2,status==0,st>i+n/2;st++,dr--) ^ user.cpp:27:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int st=i+1,int dr=i+n-1;dr<=i+n/2,status==0,st>i+n/2;st++,dr--) ^ user.cpp:27:49: warning: right operand of comma operator has no effect [-Wunused-value] for(int st=i+1,int dr=i+n-1;dr<=i+n/2,status==0,st>i+n/2;st++,dr--) ^ user.cpp:27:55: warning: right operand of comma operator has no effect [-Wunused-value] for(int st=i+1,int dr=i+n-1;dr<=i+n/2,status==0,st>i+n/2;st++,dr--) ^ user.cpp:27:61: error: expected ‘)’ before ‘;’ token for(int st=i+1,int dr=i+n-1;dr<=i+n/2,status==0,st>i+n/2;st++,dr--) ^ user.cpp:27:62: error: ‘st’ was not declared in this scope for(int st=i+1,int dr=i+n-1;dr<=i+n/2,status==0,st>i+n/2;st++,dr--) ^ user.cpp:27:67: error: ‘dr’ was not declared in this scope for(int st=i+1,int dr=i+n-1;dr<=i+n/2,status==0,st>i+n/2;st++,dr--) ^ user.cpp:27:71: error: expected ‘;’ before ‘)’ token for(int st=i+1,int dr=i+n-1;dr<=i+n/2,status==0,st>i+n/2;st++,dr--) ^

Ceva nu functioneaza?