Pagini recente » Borderou de evaluare (job #393808) | Borderou de evaluare (job #2906392) | Borderou de evaluare (job #1955372) | Borderou de evaluare (job #2906146) | Borderou de evaluare (job #2267649)
Borderou de evaluare (job #2267649)
Raport evaluator
Compilare:
main.cpp: In function 'void Insert(Trie*, std::__cxx11::string)':
main.cpp:20:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<s.size();i++)
~^~~~~~~~~
main.cpp: In function 'void Delete(Trie*, std::__cxx11::string)':
main.cpp:38:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<s.size();i++)
~^~~~~~~~~
main.cpp:43:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (p->children.size()>1 || (i!=s.size()-1 && p->num))//put 'last' to longest common prefix
~^~~~~~~~~~~~
main.cpp:54:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (last_index<s.size())
~~~~~~~~~~^~~~~~~~~
main.cpp:57:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (last_index==s.size()-1)
~~~~~~~~~~^~~~~~~~~~~~
main.cpp: In function 'int Find(Trie*, std::__cxx11::string)':
main.cpp:73:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<s.size();i++)
~^~~~~~~~~
main.cpp: In function 'int LongestPrefix(Trie*, std::__cxx11::string)':
main.cpp:96:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<s.size();i++)
~^~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 3ms | 131kb | Incorect | 0 | 0 |
| 2 | 3ms | 131kb | Incorect | 0 | 0 |
| 3 | 4ms | 131kb | Incorect | 0 | 0 |
| 4 | 4ms | 131kb | Incorect | 0 | 0 |
| 5 | 5ms | 131kb | Incorect | 0 | 0 |
| 6 | 7ms | 131kb | Incorect | 0 | 0 |
| 7 | 11ms | 237kb | Incorect | 0 | 0 |
| 8 | 11ms | 229kb | Incorect | 0 | 0 |
| 9 | 26ms | 389kb | Incorect | 0 | 0 |
| 10 | 40ms | 946kb | Incorect | 0 | 0 |
| 11 | 46ms | 274kb | Incorect | 0 | 0 |
| 12 | 79ms | 1712kb | Incorect | 0 | 0 |
| 13 | 96ms | 1425kb | Incorect | 0 | 0 |
| 14 | 96ms | 516kb | Incorect | 0 | 0 |
| 15 | 114ms | 475kb | Incorect | 0 | 0 |
| 16 | 202ms | 11857kb | Time limit exceeded | 0 |
| 17 | 152ms | 229kb | Incorect | 0 | 0 |
| 18 | 201ms | 8757kb | Time limit exceeded | 0 |
| 19 | 145ms | 237kb | Incorect | 0 | 0 |
| 20 | 203ms | 13254kb | Time limit exceeded | 0 |
| Punctaj total | 0 |