Borderou de evaluare (job #1687162)
Utilizator | Data | 12 aprilie 2016 18:24:09 | |
---|---|---|---|
Problema | Interesant | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:59: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(strlen(m[i])>strlen(s)||strlen(m[i])==strlen(s)&&strcmp(m[i],s)<0) strcpy(s,m[i]);
^
user.cpp:24:17: error: expected ‘;’ before ‘for’
for(int j=1;j<=n;j++)
^
user.cpp:24:29: error: ‘j’ was not declared in this scope
for(int j=1;j<=n;j++)
^
user.cpp:24:37: error: expected ‘;’ before ‘)’ token
for(int j=1;j<=n;j++)
^
user.cpp:43:1: error: expected ‘}’ at end of input
}
^
user.cpp:20:13: warning: unused variable ‘c’ [-Wunused-variable]
int c=0,in,ok,q=0,l;
^
user.cpp:20:17: warning: unused variable ‘in’ [-Wunused-variable]
int c=0,in,ok,q=0,l;
^
user.cpp:20:23: warning: unused variable ‘q’ [-Wunused-variable]
int c=0,in,ok,q=0,l;
^
user.cpp:43:1: error: expected ‘}’ at end of input
}
^
user.cpp:43:1: error: expected ‘}’ at end of input
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !