Borderou de evaluare (job #2312865)

Utilizator andreiudilaUdila Andrei andreiudila Data 5 ianuarie 2019 17:29:32
Problema Aho-Corasick Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void insert(std::__cxx11::string, int)': main.cpp:47:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; i<w.length(); ++i) ~^~~~~~~~~~~ main.cpp: In function 'void drumuri()': main.cpp:63:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; i<ord.size(); ++i) ~^~~~~~~~~~~ main.cpp: In function 'void calc(trie*)': main.cpp:87:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j=0; j<aux->words.size(); ++j) ~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:96:19: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'std::__cxx11::string* {aka std::__cxx11::basic_string<char>*}' [-Wformat=] scanf("%s", &a); ^ main.cpp:104:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'std::__cxx11::string* {aka std::__cxx11::basic_string<char>*}' [-Wformat=] scanf("%s", &s); ^ main.cpp:113:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; i<a.length(); ++i) ~^~~~~~~~~~~ main.cpp:95:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("ahocorasick.in","r",stdin); ^ main.cpp:96:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &a); ^ main.cpp:97:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:104:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbKilled by Signal 110
22ms131kbKilled by Signal 70
32ms131kbKilled by Signal 110
42ms131kbKilled by Signal 110
52ms131kbKilled by Signal 110
62ms131kbKilled by Signal 110
73ms131kbKilled by Signal 110
82ms131kbKilled by Signal 110
93ms131kbKilled by Signal 110
103ms131kbKilled by Signal 110
112ms131kbKilled by Signal 110
122ms131kbKilled by Signal 110
132ms131kbKilled by Signal 110
142ms131kbKilled by Signal 110
153ms131kbKilled by Signal 110
162ms131kbKilled by Signal 110
173ms131kbKilled by Signal 110
183ms131kbKilled by Signal 110
192ms131kbKilled by Signal 110
202ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?