Pagini recente » Borderou de evaluare (job #844959) | Borderou de evaluare (job #1384585) | Borderou de evaluare (job #2967744) | Borderou de evaluare (job #854894) | Borderou de evaluare (job #2512949)
Borderou de evaluare (job #2512949)
Raport evaluator
Compilare:
main.cpp: In function 'void insertInTrie(trieNode*, std::__cxx11::string&, int)':
main.cpp:26:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pos == word.size()) {
~~~~^~~~~~~~~~~~~~
main.cpp: In function 'void deleteFromTrie(trieNode*, std::__cxx11::string&, int)':
main.cpp:40:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pos == word.size()) {
~~~~^~~~~~~~~~~~~~
main.cpp: In function 'int printWordApparitions(trieNode*, std::__cxx11::string&, int)':
main.cpp:50:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pos == word.size()) {
~~~~^~~~~~~~~~~~~~
main.cpp: In function 'int longestCommonPrefix(trieNode*, std::__cxx11::string&, int)':
main.cpp:62:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (node == NULL || node -> passingWords == 0 || pos == word.size()) {
~~~~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:71:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("trie.in", "r", stdin);
^
main.cpp:72:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("trie.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 3ms | 131kb | OK | 5 | 5 |
| 2 | 3ms | 131kb | Incorect | 0 | 0 |
| 3 | 3ms | 131kb | Incorect | 0 | 0 |
| 4 | 4ms | 131kb | Incorect | 0 | 0 |
| 5 | 5ms | 131kb | Incorect | 0 | 0 |
| 6 | 4ms | 131kb | Incorect | 0 | 0 |
| 7 | 7ms | 262kb | Incorect | 0 | 0 |
| 8 | 7ms | 262kb | Incorect | 0 | 0 |
| 9 | 27ms | 536kb | Incorect | 0 | 0 |
| 10 | 21ms | 1441kb | Incorect | 0 | 0 |
| 11 | 24ms | 262kb | Incorect | 0 | 0 |
| 12 | 36ms | 2883kb | Incorect | 0 | 0 |
| 13 | 51ms | 2396kb | Incorect | 0 | 0 |
| 14 | 80ms | 745kb | Incorect | 0 | 0 |
| 15 | 97ms | 696kb | Incorect | 0 | 0 |
| 16 | 147ms | 20316kb | Incorect | 0 |
| 17 | 84ms | 401kb | Incorect | 0 | 0 |
| 18 | 122ms | 15220kb | Incorect | 0 |
| 19 | 79ms | 278kb | Incorect | 0 | 0 |
| 20 | 146ms | 25690kb | Incorect | 0 |
| Punctaj total | 5 |