Pagini recente » Borderou de evaluare (job #498447) | Borderou de evaluare (job #730582) | Borderou de evaluare (job #1421897) | Borderou de evaluare (job #1473445) | Borderou de evaluare (job #2137334)
Borderou de evaluare (job #2137334)
Raport evaluator
Compilare:
user.cpp: In function ‘info* go(info*, char)’:
user.cpp:106:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(node->go[ch]) return node->go[ch];
^
user.cpp:106:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(node->go[ch]) return node->go[ch];
^
user.cpp:107:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(node->next[ch]) return node->go[ch] = node->next[ch];
^
user.cpp:107:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(node->next[ch]) return node->go[ch] = node->next[ch];
^
user.cpp:107:56: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(node->next[ch]) return node->go[ch] = node->next[ch];
^
user.cpp:108:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!node->fth) return node->go[ch] = node;
^
user.cpp:110:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return node->go[ch] = go(getLink(node), ch);
^
user.cpp: In function ‘int main()’:
user.cpp:67:39: 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);
^
user.cpp:68:41: 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);
^
user.cpp:75:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s %d", a, &n);
^
user.cpp:78:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %s", s[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 3492kb | OK | 5 |
| 2 | 0ms | 3508kb | OK | 5 |
| 3 | 0ms | 3508kb | OK | 5 |
| 4 | 0ms | 3500kb | OK | 5 |
| 5 | 0ms | 3500kb | OK | 5 |
| 6 | 8ms | 4532kb | OK | 5 |
| 7 | 12ms | 4840kb | OK | 5 |
| 8 | 20ms | 5856kb | OK | 5 |
| 9 | 24ms | 6420kb | OK | 5 |
| 10 | 16ms | 5244kb | OK | 5 |
| 11 | 16ms | 4612kb | OK | 5 |
| 12 | 20ms | 5732kb | OK | 5 |
| 13 | 8ms | 4096kb | OK | 5 |
| 14 | 12ms | 4080kb | OK | 5 |
| 15 | 12ms | 5024kb | OK | 5 |
| 16 | 12ms | 5244kb | OK | 5 |
| 17 | 16ms | 4976kb | OK | 5 |
| 18 | 16ms | 4616kb | OK | 5 |
| 19 | 20ms | 6124kb | OK | 5 |
| 20 | Depăşit | 9488kb | Time limit exceeded. | 0 |
| Punctaj total | 95 |