Borderou de evaluare (job #2833681)
Utilizator | Data | 15 ianuarie 2022 15:00:55 | |
---|---|---|---|
Problema | Interesant | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool subsir(char*, char*)':
main.cpp:27:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
27 | if(i == strlen(a))
| ~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:46:29: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
46 | if(strlen(m[i]) > mmax){
| ~~~~~~~~~~~~~^~~~~~
main.cpp:50:29: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
50 | if(strlen(m[i]) == mmax)
| ~~~~~~~~~~~~~^~~~~~~
main.cpp:59:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
59 | for(unsigned int i = 1; i <= n; i-=-1){
| ~~^~~~
main.cpp:62:39: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
62 | for(unsigned int j = 1; j <= n; j-=-1)
| ~~^~~~
main.cpp:64:24: error: 'eSubsir' was not declared in this scope; did you mean 'subsir'?
64 | if(eSubsir(m[i], m[j]))
| ^~~~~~~
| subsir
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !