Borderou de evaluare (job #1213234)

Utilizator ZenusTudor Costin Razvan Zenus Data 27 iulie 2014 16:31:34
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 (*)[1000]’ [-Wformat=] scanf("%d%s",&type,&S); ^ user.cpp:120:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[1000]’ [-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
10ms300kbKilled by signal 11(SIGSEGV).00
20ms304kbKilled by signal 11(SIGSEGV).00
30ms300kbKilled by signal 11(SIGSEGV).00
40ms304kbKilled by signal 11(SIGSEGV).00
50ms296kbKilled by signal 11(SIGSEGV).00
60ms304kbKilled by signal 11(SIGSEGV).00
70ms296kbKilled by signal 11(SIGSEGV).00
80ms300kbKilled by signal 11(SIGSEGV).00
90ms304kbKilled by signal 11(SIGSEGV).00
100ms300kbKilled by signal 11(SIGSEGV).00
110ms300kbKilled by signal 11(SIGSEGV).00
120ms300kbKilled by signal 11(SIGSEGV).00
130ms308kbKilled by signal 11(SIGSEGV).00
140ms300kbKilled by signal 11(SIGSEGV).00
150ms308kbKilled by signal 11(SIGSEGV).00
160ms300kbKilled by signal 11(SIGSEGV).0
170ms304kbKilled by signal 11(SIGSEGV).00
180ms308kbKilled by signal 11(SIGSEGV).0
190ms304kbKilled by signal 11(SIGSEGV).00
200ms280kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?