Pagini recente » Borderou de evaluare (job #3200175) | Borderou de evaluare (job #2473029) | Borderou de evaluare (job #2545283) | Borderou de evaluare (job #2488967) | Borderou de evaluare (job #2137364)
Borderou de evaluare (job #2137364)
Raport evaluator
Compilare:
user.cpp: In function ‘info* go(info*, char)’:
user.cpp:112:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(node->next[ch]) return node->next[ch] = node->next[ch];
^
user.cpp:112:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(node->next[ch]) return node->next[ch] = node->next[ch];
^
user.cpp:112:58: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(node->next[ch]) return node->next[ch] = node->next[ch];
^
user.cpp:113:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!node->fth) return node->next[ch] = node;
^
user.cpp:115: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:73: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:74: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:81: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:84:18: 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 | 0ms | 3620kb | OK | 5 |
| 2 | 0ms | 3632kb | OK | 5 |
| 3 | 0ms | 3624kb | OK | 5 |
| 4 | 0ms | 3620kb | OK | 5 |
| 5 | 0ms | 3620kb | OK | 5 |
| 6 | 8ms | 4004kb | OK | 5 |
| 7 | 12ms | 4036kb | OK | 5 |
| 8 | 16ms | 4696kb | OK | 5 |
| 9 | 16ms | 5004kb | OK | 5 |
| 10 | 16ms | 4328kb | OK | 5 |
| 11 | 12ms | 3944kb | OK | 5 |
| 12 | 16ms | 4624kb | OK | 5 |
| 13 | 8ms | 3740kb | OK | 5 |
| 14 | 8ms | 3644kb | OK | 5 |
| 15 | 8ms | 4224kb | OK | 5 |
| 16 | 8ms | 4352kb | OK | 5 |
| 17 | 12ms | 4096kb | OK | 5 |
| 18 | 12ms | 3960kb | OK | 5 |
| 19 | 16ms | 4848kb | OK | 5 |
| 20 | 100ms | 6932kb | OK | 5 |
| Punctaj total | 100 |