Pagini recente » Borderou de evaluare (job #758638) | Borderou de evaluare (job #60420) | Borderou de evaluare (job #355133) | Borderou de evaluare (job #268758) | Borderou de evaluare (job #1560821)
Borderou de evaluare (job #1560821)
Raport evaluator
Compilare:
user.cpp: In member function ‘std::pair<int, int> SufA::range(const char*) const’:
user.cpp:132:29: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses]
next = lr == elcp[i+lr] < cp;
^
user.cpp: In instantiation of ‘void SufA::sais(int, T, int) [with T = const char*]’:
user.cpp:106:29: required from here
user.cpp:24:5: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
|| s[i] == s[i+1] && t[i+1];
^
user.cpp: In instantiation of ‘void SufA::sais(int, T, int) [with T = int*]’:
user.cpp:84:22: required from ‘void SufA::sais(int, T, int) [with T = const char*]’
user.cpp:106:29: required from here
user.cpp:24:5: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
user.cpp: In function ‘int main()’:
user.cpp:184: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:185: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:187:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
user.cpp:194:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nq);
^
user.cpp:197:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | OK | 5 |
2 | 0ms | 308kb | OK | 5 |
3 | 0ms | 304kb | OK | 5 |
4 | 0ms | 300kb | OK | 5 |
5 | 0ms | 304kb | OK | 5 |
6 | Depăşit | 5992kb | Time limit exceeded. | 0 |
7 | Depăşit | 5544kb | Time limit exceeded. | 0 |
8 | Depăşit | 6072kb | Time limit exceeded. | 0 |
9 | Depăşit | 6072kb | Time limit exceeded. | 0 |
10 | Depăşit | 6072kb | Time limit exceeded. | 0 |
11 | Depăşit | 6072kb | Time limit exceeded. | 0 |
12 | Depăşit | 6072kb | Time limit exceeded. | 0 |
13 | 80ms | 5544kb | OK | 5 |
14 | 92ms | 7392kb | OK | 5 |
15 | 96ms | 7392kb | OK | 5 |
16 | 96ms | 7392kb | OK | 5 |
17 | Depăşit | 9480kb | Time limit exceeded. | 0 |
18 | Depăşit | 4836kb | Time limit exceeded. | 0 |
19 | Depăşit | 4836kb | Time limit exceeded. | 0 |
20 | 80ms | 12936kb | OK | 5 |
Punctaj total | 50 |