Borderou de evaluare (job #1934914)
Utilizator | Data | 21 martie 2017 21:38:19 | |
---|---|---|---|
Problema | Text | 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:14:24: error: ‘strlen’ was not declared in this scope
for(i=0;i<=strlen(text);i++)
^
user.cpp:16:32: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if((text[i]<65)||(text[i]>90)&&(text[i]<97)||(text[i]>122)||(i==strlen(text)))
^
user.cpp:18:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if((text[i-1]>=65)&&(text[i-1]<=90)||(text[i-1]>=97)&&(text[i]<=122))
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !