Borderou de evaluare (job #2836141)
Utilizator | Data | 19 ianuarie 2022 20:12:44 | |
---|---|---|---|
Problema | Barbar | 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:162:2: error: 'gets' was not declared in this scope; did you mean 'fgets'?
162 | gets(s[0]);
| ^~~~
| fgets
main.cpp:206:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
206 | printf("%d\n",dist);
| ~^ ~~~~
| | |
| int long int
| %ld
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !