Borderou de evaluare (job #2312960)

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

Raport evaluator

Compilare: main.cpp: In function 'void calc(trie*)': main.cpp:72: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:107:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; i<a.length(); ++i) ~^~~~~~~~~~~ main.cpp:106:9: warning: unused variable 'lga' [-Wunused-variable] int lga = a.length(); ^~~ main.cpp:81: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:82: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:85:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",s); ^ main.cpp:88:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:94:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ main.cpp:96:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",aux3); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbKilled by Signal 110
23ms131kbKilled by Signal 110
33ms131kbKilled by Signal 110
42ms131kbKilled by Signal 110
52ms131kbKilled by Signal 110
66ms1441kbKilled by Signal 110
79ms2097kbKilled by Signal 110
812ms2752kbKilled by Signal 110
912ms3145kbKilled by Signal 110
1011ms2490kbKilled by Signal 110
1112ms2097kbKilled by Signal 110
1211ms2752kbKilled by Signal 110
136ms1048kbKilled by Signal 110
149ms1310kbKilled by Signal 110
1510ms1835kbKilled by Signal 110
168ms1966kbKilled by Signal 110
1711ms2097kbKilled by Signal 110
1813ms2097kbKilled by Signal 110
1915ms3014kbKilled by Signal 110
20100ms4849kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?