Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2969751)
| Utilizator | Data | 23 ianuarie 2023 17:33:47 | |
|---|---|---|---|
| Problema | Perle | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp: In function 'int len(int, char)':
main.cpp:8:8: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | if(poz >= C.size())
| ~~~~^~~~~~~~~~~
main.cpp:14:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | if(poz + 4 >= C.size())
| ~~~~~~~~^~~~~~~~~~~
main.cpp:21:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | if(poz + 1 >= C.size())
| ~~~~~~~~^~~~~~~~~~~
main.cpp:28:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | if(poz + 2 >= C.size())
| ~~~~~~~~^~~~~~~~~~~
main.cpp:37:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | if(poz + 1 >= C.size())
| ~~~~~~~~^~~~~~~~~~~
main.cpp:40:6: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | if(k >= C.size())
| ~~^~~~~~~~~~~
main.cpp:46:1: warning: control reaches end of non-void function [-Wreturn-type]
46 | }
| ^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 184kb | OK! | 10 |
| 2 | 0ms | 184kb | OK! | 10 |
| 3 | 0ms | 184kb | OK! | 10 |
| 4 | 0ms | 184kb | OK! | 10 |
| 5 | 0ms | 184kb | OK! | 10 |
| 6 | 0ms | 184kb | OK! | 10 |
| 7 | 0ms | 184kb | OK! | 10 |
| 8 | 0ms | 184kb | OK! | 10 |
| 9 | 0ms | 184kb | OK! | 10 |
| 10 | 0ms | 184kb | OK! | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
