Borderou de evaluare (job #1403868)

Utilizator Eugen01Vasilescu Eugen Eugen01 Data 27 martie 2015 17:06:40
Problema Facebook Search Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

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
10ms408kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?