Pagini recente » Borderou de evaluare (job #1253408) | Borderou de evaluare (job #511228) | Borderou de evaluare (job #3212846) | Borderou de evaluare (job #2164246) | Borderou de evaluare (job #1403868)
Borderou de evaluare (job #1403868)
Raport evaluator
Compilare:
user.cpp: In member function ‘void Trie::insert(std::string, int, int)’:
user.cpp:36:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (poz != s.size())
^
user.cpp:43:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (poz != s.size() && this->fii[index] == NULL)
^
user.cpp:49:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (poz != s.size())
^
user.cpp: In member function ‘std::string Trie::find(std::string, int)’:
user.cpp:80:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (poz != s.size())
^
user.cpp:93:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (poz == s.size())
^
user.cpp:96:35: warning: ‘index’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return this->fii[index]->find(s, poz + 1);
^
user.cpp:96:35: warning: ‘index’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:96:35: warning: ‘index’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:96:35: warning: ‘index’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp: In function ‘int main()’:
user.cpp:96:35: warning: ‘index’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:78:17: note: ‘index’ was declared here
int index;
^
user.cpp:96:35: warning: ‘index’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return this->fii[index]->find(s, poz + 1);
^
user.cpp:78:17: note: ‘index’ was declared here
int index;
^
user.cpp:96:35: warning: ‘index’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return this->fii[index]->find(s, poz + 1);
^
user.cpp:78:17: note: ‘index’ was declared here
int index;
^
user.cpp:96:35: warning: ‘index’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return this->fii[index]->find(s, poz + 1);
^
user.cpp:78:17: note: ‘index’ was declared here
int index;
^
user.cpp:96:35: warning: ‘index’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return this->fii[index]->find(s, poz + 1);
^
user.cpp:78:17: note: ‘index’ was declared here
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |