Borderou de evaluare (job #1213231)

Utilizator ZenusTudor Costin Razvan Zenus Data 27 iulie 2014 16:28:38
Problema Trie Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void Insert(std::string)’: user.cpp:33:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0;j<S.size();++j) ^ user.cpp: In function ‘bool Delete(int, Trie*)’: user.cpp:46:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (step==str.size()) ^ user.cpp: In function ‘int Query(std::string)’: user.cpp:68:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0;j<S.size();++j) ^ user.cpp:65:11: warning: unused variable ‘t’ [-Wunused-variable] int j,t=0; ^ user.cpp: In function ‘int Prefix(std::string)’: user.cpp:79:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0;j<S.size();++j) ^ user.cpp: In function ‘int main()’: user.cpp:96:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[26]’ [-Wformat=] scanf("%d%s",&type,&S); ^ user.cpp:120:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[26]’ [-Wformat=] scanf("%d%s",&type,&S); ^ user.cpp:93:29: 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); ^ user.cpp:94:31: 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); ^ user.cpp:96:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%s",&type,&S); ^ user.cpp:120:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%s",&type,&S); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms288kbKilled by signal 11(SIGSEGV).00
20ms292kbKilled by signal 11(SIGSEGV).00
30ms288kbKilled by signal 11(SIGSEGV).00
40ms292kbKilled by signal 11(SIGSEGV).00
50ms296kbKilled by signal 11(SIGSEGV).00
60ms300kbKilled by signal 11(SIGSEGV).00
70ms292kbKilled by signal 11(SIGSEGV).00
80ms292kbKilled by signal 11(SIGSEGV).00
90ms300kbKilled by signal 11(SIGSEGV).00
100ms296kbKilled by signal 11(SIGSEGV).00
110ms292kbKilled by signal 11(SIGSEGV).00
120ms300kbKilled by signal 11(SIGSEGV).00
130ms292kbKilled by signal 11(SIGSEGV).00
140ms292kbKilled by signal 11(SIGSEGV).00
150ms308kbKilled by signal 11(SIGSEGV).00
160ms296kbKilled by signal 11(SIGSEGV).0
170ms288kbKilled by signal 11(SIGSEGV).00
180ms300kbKilled by signal 11(SIGSEGV).0
190ms304kbKilled by signal 11(SIGSEGV).00
200ms276kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?