Pagini recente » Borderou de evaluare (job #2360409) | Borderou de evaluare (job #3204938) | Borderou de evaluare (job #1368263) | Borderou de evaluare (job #525066) | Borderou de evaluare (job #2312947)
Borderou de evaluare (job #2312947)
Raport evaluator
Compilare:
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:106:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<a.length(); ++i)
~^~~~~~~~~~~
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 |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 2ms | 131kb | OK | 5 |
| 5 | 2ms | 131kb | OK | 5 |
| 6 | 16ms | 1441kb | OK | 5 |
| 7 | 27ms | 2097kb | OK | 5 |
| 8 | 30ms | 2883kb | OK | 5 |
| 9 | 32ms | 3276kb | OK | 5 |
| 10 | 28ms | 2490kb | OK | 5 |
| 11 | 30ms | 2097kb | OK | 5 |
| 12 | 28ms | 2752kb | OK | 5 |
| 13 | 13ms | 1179kb | OK | 5 |
| 14 | 15ms | 1310kb | OK | 5 |
| 15 | 19ms | 1966kb | OK | 5 |
| 16 | 19ms | 2097kb | OK | 5 |
| 17 | 22ms | 2097kb | OK | 5 |
| 18 | 24ms | 2097kb | OK | 5 |
| 19 | 28ms | 3014kb | OK | 5 |
| 20 | 101ms | 5111kb | Time limit exceeded | 0 |
| Punctaj total | 95 |