Pagini recente » Borderou de evaluare (job #2825400) | Borderou de evaluare (job #2767325) | Borderou de evaluare (job #1501017) | Borderou de evaluare (job #1344469) | Borderou de evaluare (job #2952718)
Borderou de evaluare (job #2952718)
Raport evaluator
Compilare:
main.cpp: In function 'void addWord(Trie*, int, std::string&)':
main.cpp:42:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | if (pos == s.size())
| ~~~~^~~~~~~~~~~
main.cpp:46:17: warning: array subscript has type 'char' [-Wchar-subscripts]
46 | if (nod->fii[lit] == nullptr)
| ^~~
main.cpp:47:16: warning: array subscript has type 'char' [-Wchar-subscripts]
47 | nod->fii[lit] = new Trie;
| ^~~
main.cpp:49:21: warning: array subscript has type 'char' [-Wchar-subscripts]
49 | addWord(nod->fii[lit], pos+1, s);
| ^~~
main.cpp: In function 'bool delWord(Trie*, int, std::string&)':
main.cpp:55:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | if (pos == s.size())
| ~~~~^~~~~~~~~~~
main.cpp:67:25: warning: array subscript has type 'char' [-Wchar-subscripts]
67 | if (delWord(nod->fii[lit], pos+1, s))
| ^~~
main.cpp:69:16: warning: array subscript has type 'char' [-Wchar-subscripts]
69 | nod->fii[lit] = nullptr;
| ^~~
main.cpp: In function 'int nrApWord(Trie*, int, std::string&)':
main.cpp:82:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
82 | if (pos == s.size())
| ~~~~^~~~~~~~~~~
main.cpp:86:17: warning: array subscript has type 'char' [-Wchar-subscripts]
86 | if (nod->fii[lit] != nullptr)
| ^~~
main.cpp:87:32: warning: array subscript has type 'char' [-Wchar-subscripts]
87 | return nrApWord(nod->fii[lit], pos+1, s);
| ^~~
main.cpp: In function 'int lcpWord(Trie*, int, std::string&)':
main.cpp:94:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
94 | if (pos == s.size())
| ~~~~^~~~~~~~~~~
main.cpp:98:17: warning: array subscript has type 'char' [-Wchar-subscripts]
98 | if (nod->fii[lit] != nullptr)
| ^~~
main.cpp:99:31: warning: array subscript has type 'char' [-Wchar-subscripts]
99 | return lcpWord(nod->fii[lit], pos+1, s);
| ^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 188kb | OK | 5 | 5 |
| 2 | 0ms | 184kb | OK | 5 | 5 |
| 3 | 1ms | 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 | 1ms | 184kb | OK | 5 | 5 |
| 9 | 0ms | 184kb | Killed by Signal 11 | 0 | 0 |
| 10 | 5ms | 1495kb | OK | 5 | 5 |
| 11 | 5ms | 315kb | OK | 5 | 5 |
| 12 | 9ms | 2805kb | Killed by Signal 11 | 0 | 0 |
| 13 | 8ms | 2412kb | Killed by Signal 11 | 0 | 0 |
| 14 | 12ms | 839kb | OK | 5 | 5 |
| 15 | 12ms | 774kb | OK | 5 | 0 |
| 16 | 43ms | 19075kb | Killed by Signal 11 | 0 |
| 17 | 7ms | 344kb | Killed by Signal 11 | 0 | 0 |
| 18 | 34ms | 13950kb | Killed by Signal 11 | 0 |
| 19 | 16ms | 405kb | OK | 5 | 0 |
| 20 | 70ms | 25624kb | Killed by Signal 11 | 0 |
| Punctaj total | 55 |