Borderou de evaluare (job #1251016)
| Utilizator | Data | 28 octombrie 2014 20:58:07 | |
|---|---|---|---|
| Problema | Text | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:3:15: error: ‘::main’ must return ‘int’
void main(void)
^
user.cpp: In function ‘int main()’:
user.cpp:16:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
while(!(x[i]>='a'&&x[i]<='z'||x[i]>='A'&&x[i]<='Z'))
^
user.cpp:19:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
while(x[i]>='a'&&x[i]<='z'||x[i]>='A'&&x[i]<='Z')
^
user.cpp:10:18: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(x,1000,f);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
