Pagini recente » Borderou de evaluare (job #604187) | Borderou de evaluare (job #2706145) | Borderou de evaluare (job #1531703) | Borderou de evaluare (job #2079385) | Borderou de evaluare (job #2137360)
Borderou de evaluare (job #2137360)
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: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 | 3496kb | OK | 5 |
2 | 0ms | 3496kb | OK | 5 |
3 | 0ms | 3500kb | OK | 5 |
4 | 0ms | 3492kb | OK | 5 |
5 | 0ms | 3492kb | OK | 5 |
6 | 8ms | 3876kb | OK | 5 |
7 | 12ms | 3900kb | OK | 5 |
8 | 16ms | 4564kb | OK | 5 |
9 | 20ms | 4868kb | OK | 5 |
10 | 16ms | 4192kb | OK | 5 |
11 | 12ms | 3804kb | OK | 5 |
12 | 16ms | 4488kb | OK | 5 |
13 | 8ms | 3612kb | OK | 5 |
14 | 8ms | 3520kb | OK | 5 |
15 | 12ms | 4092kb | OK | 5 |
16 | 12ms | 4224kb | OK | 5 |
17 | 12ms | 3968kb | OK | 5 |
18 | 16ms | 3820kb | OK | 5 |
19 | 20ms | 4708kb | OK | 5 |
20 | Depăşit | 6804kb | Time limit exceeded. | 0 |
Punctaj total | 95 |