Pagini recente » Borderou de evaluare (job #1083145) | Borderou de evaluare (job #941897) | Borderou de evaluare (job #1486845) | Borderou de evaluare (job #1655880) | Borderou de evaluare (job #2312937)
Borderou de evaluare (job #2312937)
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 |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 3ms | 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 | 101ms | 917kb | Time limit exceeded | 0 |
| 8 | 101ms | 1048kb | Time limit exceeded | 0 |
| 9 | 101ms | 1048kb | Time limit exceeded | 0 |
| 10 | 100ms | 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 | 100ms | 655kb | Time limit exceeded | 0 |
| 17 | 100ms | 917kb | Time limit exceeded | 0 |
| 18 | 101ms | 1048kb | Time limit exceeded | 0 |
| 19 | 100ms | 1048kb | Time limit exceeded | 0 |
| 20 | 100ms | 1179kb | Time limit exceeded | 0 |
| Punctaj total | 25 |