Pagini recente » Borderou de evaluare (job #199967) | Borderou de evaluare (job #2331372) | Borderou de evaluare (job #1209716) | Borderou de evaluare (job #1400580) | Borderou de evaluare (job #1560419)
Borderou de evaluare (job #1560419)
Raport evaluator
Compilare:
user.cpp: In member function ‘std::pair<int, int> SufA::range(const string&)’:
user.cpp:152:29: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses]
next = lr == elcp[i+lr] < cp;
^
user.cpp:155:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (cp < t.size() && t[cp] == s[k+cp]) cp++;
^
user.cpp:156:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (cp == t.size()) {
^
user.cpp:180:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (cp < t.size()) {
^
user.cpp:187:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (elcp[i-1] < t.size()) {
^
user.cpp:201:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (elcp[i] < t.size()) {
^
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:223: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:224: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 | 484kb | OK | 5 |
3 | 0ms | 488kb | OK | 5 |
4 | 0ms | 480kb | OK | 5 |
5 | 0ms | 480kb | OK | 5 |
6 | Depăşit | 8020kb | Time limit exceeded. | 0 |
7 | Depăşit | 6468kb | Time limit exceeded. | 0 |
8 | Depăşit | 7120kb | Time limit exceeded. | 0 |
9 | Depăşit | 6780kb | Time limit exceeded. | 0 |
10 | Depăşit | 7120kb | Time limit exceeded. | 0 |
11 | Depăşit | 7112kb | Time limit exceeded. | 0 |
12 | Depăşit | 7116kb | Time limit exceeded. | 0 |
13 | 84ms | 7784kb | OK | 5 |
14 | Depăşit | 10164kb | Time limit exceeded. | 0 |
15 | Depăşit | 10164kb | Time limit exceeded. | 0 |
16 | Depăşit | 10164kb | Time limit exceeded. | 0 |
17 | Depăşit | 13064kb | Time limit exceeded. | 0 |
18 | Depăşit | 5880kb | Time limit exceeded. | 0 |
19 | Depăşit | 5884kb | Time limit exceeded. | 0 |
20 | 80ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 30 |