Borderou de evaluare (job #2879537)
Utilizator | Data | 28 martie 2022 18:38:36 | |
---|---|---|---|
Problema | Paranteze | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:9:2: error: 'gets' was not declared in this scope; did you mean 'fgets'?
9 | gets(s);
| ^~~~
| fgets
main.cpp:20:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
20 | if(a[l]>0)
| ^
main.cpp:25:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
25 | if(a[l]<0)
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !