Borderou de evaluare (job #2408045)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 17 aprilie 2019 15:52:36
Problema Aho-Corasick Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'trie* Insert(trie*, char*)': main.cpp:33:12: warning: NULL used in arithmetic [-Wpointer-arith] if(*s==NULL) ^~~~ main.cpp: In function 'int main()': main.cpp:60: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:61:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("ahocorasick.out","w",stdout); ^ main.cpp:63:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",str); ^ main.cpp:67:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:71:22: 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
13ms131kbKilled by Signal 110
23ms131kbKilled by Signal 110
32ms131kbKilled by Signal 110
42ms131kbOK5
52ms131kbOK5
63ms131kbKilled by Signal 110
72ms131kbKilled by Signal 110
83ms131kbKilled by Signal 110
92ms131kbKilled by Signal 110
102ms131kbKilled by Signal 110
113ms131kbKilled by Signal 110
123ms131kbKilled by Signal 110
132ms131kbKilled by Signal 110
143ms131kbKilled by Signal 110
152ms131kbKilled by Signal 110
162ms131kbKilled by Signal 110
173ms131kbKilled by Signal 110
182ms131kbKilled by Signal 110
193ms131kbKilled by Signal 110
203ms131kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?