Borderou de evaluare (job #2889545)
Utilizator | Data | 12 aprilie 2022 22:08:33 | |
---|---|---|---|
Problema | Alibaba | 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:22:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
22 | for(i=0;i<strlen(s);i++)
| ~^~~~~~~~~~
main.cpp:50:18: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
50 | solutie[i] = NULL;
| ^~~~
main.cpp:51:5: error: 'strrev' was not declared in this scope; did you mean 'strsep'?
51 | strrev(solutie);
| ^~~~~~
| strsep
main.cpp:14:9: warning: unused variable 'sol' [-Wunused-variable]
14 | int sol=0, i, p=1, n, k, c;
| ^~~
main.cpp:14:19: warning: unused variable 'p' [-Wunused-variable]
14 | int sol=0, i, p=1, n, k, c;
| ^
main.cpp:14:30: warning: unused variable 'c' [-Wunused-variable]
14 | int sol=0, i, p=1, n, k, c;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !