Pagini recente » Borderou de evaluare (job #2540639) | Borderou de evaluare (job #1890503) | Borderou de evaluare (job #615008) | Borderou de evaluare (job #1788980) | Borderou de evaluare (job #2300192)
Borderou de evaluare (job #2300192)
Raport evaluator
Compilare:
main.cpp: In function 'void Add(Trie*, int)':
main.cpp:26:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(k == s.size())
~~^~~~~~~~~~~
main.cpp: In function 'bool Delete(Trie*&, int)':
main.cpp:43:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(k == s.size())
~~^~~~~~~~~~~
main.cpp:60:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int Query(Trie*, int)':
main.cpp:66:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(k == s.size())
~~^~~~~~~~~~~
main.cpp: In function 'int Prefix(Trie*, int)':
main.cpp:81:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(k == s.size() || nod->fii[(s[k]-'a')] == 0)
~~^~~~~~~~~~~
main.cpp:81:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(k == s.size() || nod->fii[(s[k]-'a')] == 0)
^~
main.cpp:83:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(nod->fii[(s[k]-'a')] &&(nod->fii[s[k]-'a']->nr || nod->fii[s[k]-'a']->sons ))
^~
main.cpp: In function 'int Query(Trie*, int)':
main.cpp:77:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | Incorect | 0 | 0 |
| 2 | 2ms | 131kb | Incorect | 0 | 0 |
| 3 | 3ms | 131kb | Incorect | 0 | 0 |
| 4 | 3ms | 131kb | Incorect | 0 | 0 |
| 5 | 3ms | 131kb | Incorect | 0 | 0 |
| 6 | 4ms | 131kb | Incorect | 0 | 0 |
| 7 | 6ms | 262kb | Incorect | 0 | 0 |
| 8 | 8ms | 131kb | Incorect | 0 | 0 |
| 9 | 13ms | 524kb | Incorect | 0 | 0 |
| 10 | 21ms | 1441kb | Incorect | 0 | 0 |
| 11 | 23ms | 262kb | Incorect | 0 | 0 |
| 12 | 43ms | 2752kb | Incorect | 0 | 0 |
| 13 | 49ms | 2359kb | Incorect | 0 | 0 |
| 14 | 47ms | 786kb | Incorect | 0 | 0 |
| 15 | 45ms | 655kb | Incorect | 0 | 0 |
| 16 | 119ms | 19005kb | Incorect | 0 |
| 17 | 30ms | 262kb | Killed by Signal 11 | 0 | 0 |
| 18 | 122ms | 13893kb | Incorect | 0 |
| 19 | 66ms | 393kb | Incorect | 0 | 0 |
| 20 | 92ms | 20496kb | Memory limit exceeded | 0 |
| Punctaj total | 0 |