Borderou de evaluare (job #2806332)
Utilizator | Data | 22 noiembrie 2021 15:38:22 | |
---|---|---|---|
Problema | Interesant | 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:19:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
19 | if (strlen(c[0]) > lg)
| ~~~~~~~~~~~~~^~~~
main.cpp:25:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
25 | if (strlen(c[0]) == lg)
| ~~~~~~~~~~~~~^~~~~
main.cpp:46:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
46 | while (ii < strlen(c[i]) && jj < strlen(c[j]))
| ~~~^~~~~~~~~~~~~~
main.cpp:46:52: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
46 | while (ii < strlen(c[i]) && jj < strlen(c[j]))
| ~~~^~~~~~~~~~~~~~
main.cpp:52:28: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
52 | if (ii == strlen(c[i]))
| ~~~^~~~~~~~~~~~~~~
main.cpp:74:14: error: expected '}' at end of input
74 | fclose(g);
| ^
main.cpp:9:1: note: to match this '{'
9 | {
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !