Pagini recente » Borderou de evaluare (job #2361723) | Borderou de evaluare (job #1138141) | Borderou de evaluare (job #844318) | Borderou de evaluare (job #2991382) | Borderou de evaluare (job #1560742)
Borderou de evaluare (job #1560742)
Raport evaluator
Compilare:
user.cpp: In member function ‘std::pair<int, int> SufA::range(const string&) const’:
user.cpp:134: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, const T&, int) [with T = std::basic_string<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, const T&, int) [with T = int*]’:
user.cpp:84:22: required from ‘void SufA::sais(int, const T&, int) [with T = std::basic_string<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:187: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:188: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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 480kb | OK | 5 |
2 | 0ms | 488kb | OK | 5 |
3 | 0ms | 484kb | OK | 5 |
4 | 0ms | 480kb | OK | 5 |
5 | 0ms | 476kb | OK | 5 |
6 | Depăşit | 8028kb | Time limit exceeded. | 0 |
7 | Depăşit | 6468kb | Time limit exceeded. | 0 |
8 | Depăşit | 6784kb | Time limit exceeded. | 0 |
9 | Depăşit | 7112kb | Time limit exceeded. | 0 |
10 | Depăşit | 7116kb | Time limit exceeded. | 0 |
11 | Depăşit | 7112kb | Time limit exceeded. | 0 |
12 | Depăşit | 6784kb | Time limit exceeded. | 0 |
13 | 88ms | 7784kb | OK | 5 |
14 | Depăşit | 10160kb | Time limit exceeded. | 0 |
15 | Depăşit | 10160kb | Time limit exceeded. | 0 |
16 | Depăşit | 10160kb | Time limit exceeded. | 0 |
17 | Depăşit | 13068kb | Time limit exceeded. | 0 |
18 | Depăşit | 5892kb | Time limit exceeded. | 0 |
19 | Depăşit | 5888kb | Time limit exceeded. | 0 |
20 | 80ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 30 |