Pagini recente » Borderou de evaluare (job #1884999) | Borderou de evaluare (job #533907) | Borderou de evaluare (job #962206) | Borderou de evaluare (job #1464448) | Borderou de evaluare (job #1553553)
Borderou de evaluare (job #1553553)
Raport evaluator
Compilare:
user.cpp: In function ‘void add(trie*, int)’:
user.cpp:31:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (p == t.size())
^
user.cpp: In function ‘int main()’:
user.cpp:97:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0 ; i < s.size() ; ++i)
^
user.cpp:101:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (aux - root && !aux -> nxt[c])
^
user.cpp:104:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (aux -> nxt[c]) aux = aux -> nxt[c];
^
user.cpp:104:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (aux -> nxt[c]) aux = aux -> nxt[c];
^
user.cpp:54:40: 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:55:42: 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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | OK | 5 |
2 | 0ms | 432kb | OK | 5 |
3 | 0ms | 428kb | OK | 5 |
4 | 0ms | 428kb | OK | 5 |
5 | 0ms | 420kb | OK | 5 |
6 | 40ms | 896kb | OK | 5 |
7 | 72ms | 1296kb | OK | 5 |
8 | 80ms | 1548kb | Incorect | 0 |
9 | 84ms | 1812kb | Incorect | 0 |
10 | 80ms | 1292kb | Incorect | 0 |
11 | 84ms | 1288kb | OK | 5 |
12 | 80ms | 1548kb | Incorect | 0 |
13 | 36ms | 896kb | Incorect | 0 |
14 | 52ms | 1292kb | OK | 5 |
15 | 56ms | 1292kb | Incorect | 0 |
16 | 52ms | 1288kb | Incorect | 0 |
17 | 68ms | 1292kb | Incorect | 0 |
18 | 84ms | 1292kb | Incorect | 0 |
19 | 84ms | 1548kb | Incorect | 0 |
20 | Depăşit | 2568kb | Time limit exceeded. | 0 |
Punctaj total | 45 |