Pagini recente » Borderou de evaluare (job #1507451) | Borderou de evaluare (job #1797510) | Borderou de evaluare (job #95459) | Borderou de evaluare (job #1222928) | Borderou de evaluare (job #2590189)
Borderou de evaluare (job #2590189)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(Trie*)':
main.cpp:57:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<nod->adj.size(); i++){
~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:63:42: 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:64:44: 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:66:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", a);
^
main.cpp:68:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
main.cpp:70:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
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 | 13ms | 786kb | OK | 5 |
7 | 21ms | 1048kb | OK | 5 |
8 | 23ms | 1441kb | OK | 5 |
9 | 24ms | 1572kb | OK | 5 |
10 | 21ms | 1310kb | OK | 5 |
11 | 23ms | 1048kb | OK | 5 |
12 | 21ms | 1441kb | OK | 5 |
13 | 9ms | 655kb | OK | 5 |
14 | 11ms | 655kb | OK | 5 |
15 | 21ms | 1032kb | OK | 5 |
16 | 15ms | 1048kb | OK | 5 |
17 | 23ms | 1150kb | OK | 5 |
18 | 17ms | 1048kb | OK | 5 |
19 | 21ms | 1572kb | OK | 5 |
20 | 51ms | 2883kb | OK | 5 |
Punctaj total | 100 |