Borderou de evaluare (job #1197670)
Utilizator | Data | 13 iunie 2014 10:25:51 | |
---|---|---|---|
Problema | Text | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:14:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main()
^
user.cpp: In function ‘int main()’:
user.cpp:21:31: error: ‘strlen’ was not declared in this scope
for(int i=0;i<strlen(t);i++)
^
user.cpp:25:32: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
while(t[i]>='a'&&t[i]<='z'||t[i]>='A'&&t[i]<='Z'){i++;ok=1;}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !