Pagini recente » Borderou de evaluare (job #74361) | Borderou de evaluare (job #2186729) | Borderou de evaluare (job #2983616) | Borderou de evaluare (job #1971634) | Borderou de evaluare (job #2312940)
Borderou de evaluare (job #2312940)
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:111: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 |
1 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 3ms | 131kb | OK | 5 |
4 | 2ms | 131kb | OK | 5 |
5 | 2ms | 131kb | OK | 5 |
6 | 101ms | 524kb | Time limit exceeded | 0 |
7 | 102ms | 917kb | Time limit exceeded | 0 |
8 | 101ms | 1048kb | Time limit exceeded | 0 |
9 | 100ms | 1048kb | Time limit exceeded | 0 |
10 | 101ms | 1048kb | Time limit exceeded | 0 |
11 | 100ms | 1048kb | Time limit exceeded | 0 |
12 | 101ms | 1048kb | Time limit exceeded | 0 |
13 | 100ms | 524kb | Time limit exceeded | 0 |
14 | 101ms | 655kb | Time limit exceeded | 0 |
15 | 101ms | 655kb | Time limit exceeded | 0 |
16 | 101ms | 655kb | Time limit exceeded | 0 |
17 | 100ms | 917kb | Time limit exceeded | 0 |
18 | 101ms | 1048kb | Time limit exceeded | 0 |
19 | 101ms | 1048kb | Time limit exceeded | 0 |
20 | 101ms | 1179kb | Time limit exceeded | 0 |
Punctaj total | 25 |