Borderou de evaluare (job #2312937)

Utilizator andreiudilaUdila Andrei andreiudila Data 5 ianuarie 2019 19:59:58
Problema Aho-Corasick Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 25

Raport evaluator

Compilare: main.cpp: In function 'void insert(std::__cxx11::string, int)': main.cpp:32: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:48: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: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:90:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(aux2);++i) a+=aux2[i]; ~^~~~~~~~~~~~~ main.cpp:102:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;j<strlen(aux3);++j) ~^~~~~~~~~~~~~ main.cpp:114:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; i<a.length(); ++i) ~^~~~~~~~~~~ main.cpp:84: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:86: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:89:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",aux2); ^ main.cpp:92:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:99:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ main.cpp:101: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
12ms131kbOK5
23ms131kbOK5
33ms131kbOK5
42ms131kbOK5
52ms131kbOK5
6101ms524kbTime limit exceeded0
7101ms917kbTime limit exceeded0
8101ms1048kbTime limit exceeded0
9101ms1048kbTime limit exceeded0
10100ms1048kbTime limit exceeded0
11100ms1048kbTime limit exceeded0
12101ms1048kbTime limit exceeded0
13100ms524kbTime limit exceeded0
14101ms655kbTime limit exceeded0
15101ms655kbTime limit exceeded0
16100ms655kbTime limit exceeded0
17100ms917kbTime limit exceeded0
18101ms1048kbTime limit exceeded0
19100ms1048kbTime limit exceeded0
20100ms1179kbTime limit exceeded0
Punctaj total25

Ceva nu functioneaza?