Borderou de evaluare (job #2029651)

Utilizator cont_nouCont Nou cont_nou Data 30 septembrie 2017 12:26:36
Problema Cobai Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int testare(int, int, int, char (*)[50], char)’: user.cpp:18:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(c=='N') ^ user.cpp:22:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(c=='S') ^ user.cpp:26:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(c=='V') ^ user.cpp:30:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(c=='E') ^ user.cpp: In function ‘int main()’: user.cpp:62:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(k<strlen(s2)) ^ user.cpp:63:36: error: invalid conversion from ‘char’ to ‘char (*)[50]’ [-fpermissive] if(testare(x,y,i,s[x][y],s2[k])) ^ user.cpp:16:5: error: initializing argument 4 of ‘int testare(int, int, int, char (*)[50], char)’ [-fpermissive] int testare(int x,int y,int i,char s[][50],char c) ^ user.cpp:65:47: error: invalid conversion from ‘char’ to ‘char (*)[50]’ [-fpermissive] else if(testare(x,y,s[x][y],s2[--k],i)) ^ user.cpp:16:5: error: initializing argument 4 of ‘int testare(int, int, int, char (*)[50], char)’ [-fpermissive] int testare(int x,int y,int i,char s[][50],char c) ^ user.cpp:60:13: warning: unused variable ‘aui’ [-Wunused-variable] int aui=i; ^ user.cpp: In function ‘int testare(int, int, int, char (*)[50], char)’: user.cpp:34:1: warning: control reaches end of non-void function [-Wreturn-type] } ^

Ceva nu functioneaza?