Borderou de evaluare (job #3193833)
Utilizator | Data | 15 ianuarie 2024 20:13:06 | |
---|---|---|---|
Problema | Segmente | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'int Solution::calculeazaDistanta(const std::string&, const std::string&)':
main.cpp:14:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | for (int i = 0; i < a.length(); i++) {
| ~~^~~~~~~~~~~~
main.cpp: In member function 'std::string Solution::shortestSuperstring(std::vector<std::__cxx11::basic_string<char> >&)':
main.cpp:89:44: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
89 | if (superstringCurent.length() < lungMin) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crt1.o: in function `_start':
/build/glibc/src/glibc/csu/../sysdeps/x86_64/start.S:103: undefined reference to `main'
collect2: error: ld returned 1 exit status
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !