Pagini recente » Borderou de evaluare (job #2164616) | Borderou de evaluare (job #1106340) | Borderou de evaluare (job #1612514) | Borderou de evaluare (job #1253155) | Borderou de evaluare (job #1560773)
Borderou de evaluare (job #1560773)
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, 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:185: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:186: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 | 488kb | OK | 5 |
2 | 0ms | 496kb | OK | 5 |
3 | 0ms | 492kb | OK | 5 |
4 | 0ms | 484kb | OK | 5 |
5 | 0ms | 480kb | OK | 5 |
6 | Depăşit | 6388kb | Time limit exceeded. | 0 |
7 | Depăşit | 6468kb | Time limit exceeded. | 0 |
8 | Depăşit | 7120kb | Time limit exceeded. | 0 |
9 | Depăşit | 7116kb | Time limit exceeded. | 0 |
10 | Depăşit | 7116kb | Time limit exceeded. | 0 |
11 | Depăşit | 7116kb | Time limit exceeded. | 0 |
12 | Depăşit | 7120kb | Time limit exceeded. | 0 |
13 | 80ms | 6204kb | OK | 5 |
14 | 100ms | 8052kb | OK | 5 |
15 | 100ms | 8056kb | OK | 5 |
16 | 100ms | 8052kb | OK | 5 |
17 | Depăşit | 10360kb | Time limit exceeded. | 0 |
18 | Depăşit | 5888kb | Time limit exceeded. | 0 |
19 | Depăşit | 5888kb | Time limit exceeded. | 0 |
20 | 72ms | 14240kb | Incorect | 0 |
Punctaj total | 45 |