Pagini recente » Borderou de evaluare (job #44245) | Borderou de evaluare (job #70796) | Borderou de evaluare (job #679285) | Borderou de evaluare (job #2104352) | Borderou de evaluare (job #2137348)
Borderou de evaluare (job #2137348)
Raport evaluator
Compilare:
user.cpp: In function ‘info* go(info*, char)’:
user.cpp:110:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(node->next[ch]) return node->next[ch] = node->next[ch];
^
user.cpp:110:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(node->next[ch]) return node->next[ch] = node->next[ch];
^
user.cpp:110:58: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(node->next[ch]) return node->next[ch] = node->next[ch];
^
user.cpp:111:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!node->fth) return node->next[ch] = node;
^
user.cpp:113:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return node->next[ch] = go(getLink(node), ch);
^
user.cpp: In function ‘int main()’:
user.cpp:71: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:72: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:79: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:82: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 | 3496kb | OK | 5 |
| 2 | 0ms | 3504kb | OK | 5 |
| 3 | 0ms | 3492kb | OK | 5 |
| 4 | 0ms | 3492kb | OK | 5 |
| 5 | 0ms | 3492kb | OK | 5 |
| 6 | 8ms | 4284kb | OK | 5 |
| 7 | 12ms | 4604kb | OK | 5 |
| 8 | 16ms | 5268kb | OK | 5 |
| 9 | 20ms | 5640kb | OK | 5 |
| 10 | 16ms | 4888kb | OK | 5 |
| 11 | 12ms | 4504kb | OK | 5 |
| 12 | 16ms | 5192kb | OK | 5 |
| 13 | 8ms | 4012kb | OK | 5 |
| 14 | 12ms | 4064kb | OK | 5 |
| 15 | 12ms | 4636kb | OK | 5 |
| 16 | 12ms | 4780kb | OK | 5 |
| 17 | 16ms | 4672kb | OK | 5 |
| 18 | 16ms | 4520kb | OK | 5 |
| 19 | 20ms | 5472kb | OK | 5 |
| 20 | Depăşit | 7772kb | Time limit exceeded. | 0 |
| Punctaj total | 95 |