Pagini recente » Borderou de evaluare (job #2764581) | Borderou de evaluare (job #3268176) | Borderou de evaluare (job #1718485) | Borderou de evaluare (job #1852375) | Borderou de evaluare (job #2952728)
Borderou de evaluare (job #2952728)
Raport evaluator
Compilare:
main.cpp: In function 'void addWord(Trie*, int, std::string&)':
main.cpp:43:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | if (pos == s.size())
| ~~~~^~~~~~~~~~~
main.cpp:47:17: warning: array subscript has type 'char' [-Wchar-subscripts]
47 | if (nod->fii[lit] == nullptr)
| ^~~
main.cpp:48:16: warning: array subscript has type 'char' [-Wchar-subscripts]
48 | nod->fii[lit] = new Trie;
| ^~~
main.cpp:50:21: warning: array subscript has type 'char' [-Wchar-subscripts]
50 | addWord(nod->fii[lit], pos+1, s);
| ^~~
main.cpp: In function 'bool delWord(Trie*, int, std::string&)':
main.cpp:56:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | if (pos == s.size())
| ~~~~^~~~~~~~~~~
main.cpp:68:25: warning: array subscript has type 'char' [-Wchar-subscripts]
68 | if (delWord(nod->fii[lit], pos+1, s))
| ^~~
main.cpp:70:16: warning: array subscript has type 'char' [-Wchar-subscripts]
70 | nod->fii[lit] = nullptr;
| ^~~
main.cpp: In function 'int nrApWord(Trie*, int, std::string&)':
main.cpp:83:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | if (pos == s.size())
| ~~~~^~~~~~~~~~~
main.cpp:87:17: warning: array subscript has type 'char' [-Wchar-subscripts]
87 | if (nod->fii[lit])
| ^~~
main.cpp:88:32: warning: array subscript has type 'char' [-Wchar-subscripts]
88 | return nrApWord(nod->fii[lit], pos+1, s);
| ^~~
main.cpp: In function 'int lcpWord(Trie*, int, std::string&)':
main.cpp:95:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
95 | if (pos == s.size())
| ~~~~^~~~~~~~~~~
main.cpp:99:17: warning: array subscript has type 'char' [-Wchar-subscripts]
99 | if (nod->fii[lit])
| ^~~
main.cpp:100:31: warning: array subscript has type 'char' [-Wchar-subscripts]
100 | return lcpWord(nod->fii[lit], pos+1, s);
| ^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 184kb | OK | 5 | 5 |
| 2 | 0ms | 184kb | OK | 5 | 5 |
| 3 | 0ms | 184kb | OK | 5 | 5 |
| 4 | 0ms | 184kb | OK | 5 | 5 |
| 5 | 0ms | 184kb | OK | 5 | 5 |
| 6 | 0ms | 184kb | OK | 5 | 5 |
| 7 | 0ms | 184kb | OK | 5 | 5 |
| 8 | 0ms | 184kb | OK | 5 | 5 |
| 9 | 0ms | 184kb | Killed by Signal 11 | 0 | 0 |
| 10 | 2ms | 1495kb | OK | 5 | 5 |
| 11 | 2ms | 315kb | OK | 5 | 5 |
| 12 | 8ms | 2805kb | Killed by Signal 11 | 0 | 0 |
| 13 | 8ms | 2412kb | Killed by Signal 11 | 0 | 0 |
| 14 | 14ms | 819kb | OK | 5 | 5 |
| 15 | 12ms | 757kb | OK | 5 | 0 |
| 16 | 41ms | 19062kb | Killed by Signal 11 | 0 |
| 17 | 7ms | 344kb | Killed by Signal 11 | 0 | 0 |
| 18 | 35ms | 13897kb | Killed by Signal 11 | 0 |
| 19 | 20ms | 380kb | OK | 5 | 0 |
| 20 | 70ms | 25591kb | Killed by Signal 11 | 0 |
| Punctaj total | 55 |