Borderou de evaluare (job #1734813)

Utilizator andreea_dumitrascuDumitrascu Andreea andreea_dumitrascu Data 28 iulie 2016 12:44:33
Problema Panou Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void colorare(int, int)’: user.cpp:9:17: error: expected unqualified-id before ‘int’ for(int i=x,int j=y;i>=1,j>=1;i--,j--) ^ user.cpp:9:17: error: expected ‘;’ before ‘int’ user.cpp:9:26: warning: left operand of comma operator has no effect [-Wunused-value] for(int i=x,int j=y;i>=1,j>=1;i--,j--) ^ user.cpp:9:31: warning: right operand of comma operator has no effect [-Wunused-value] for(int i=x,int j=y;i>=1,j>=1;i--,j--) ^ user.cpp:9:34: error: expected ‘)’ before ‘;’ token for(int i=x,int j=y;i>=1,j>=1;i--,j--) ^ user.cpp:9:35: error: ‘i’ was not declared in this scope for(int i=x,int j=y;i>=1,j>=1;i--,j--) ^ user.cpp:9:39: error: ‘j’ was not declared in this scope for(int i=x,int j=y;i>=1,j>=1;i--,j--) ^ user.cpp:9:42: error: expected ‘;’ before ‘)’ token for(int i=x,int j=y;i>=1,j>=1;i--,j--) ^ user.cpp: In function ‘int main()’: user.cpp:15:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("panou.in","r",stdin); ^ user.cpp:16:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("panou.out","w",stdout); ^ user.cpp:17:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:20:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i][j]); ^ user.cpp:23:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&b[i][j]); ^

Ceva nu functioneaza?