Pagini recente » Borderou de evaluare (job #1128171) | Borderou de evaluare (job #1205695) | Borderou de evaluare (job #915195) | Borderou de evaluare (job #2047493) | Borderou de evaluare (job #1560835)
Borderou de evaluare (job #1560835)
Raport evaluator
Compilare:
user.cpp: In member function ‘std::pair<int, int> SufA::range(const char*) const’:
user.cpp:134:35: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses]
next = right == elcp[i+right] < cp;
^
user.cpp: In instantiation of ‘void SufA::sais(int, T, int) [with T = const char*]’:
user.cpp:108: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:86:22: required from ‘void SufA::sais(int, T, int) [with T = const char*]’
user.cpp:108:29: required from here
user.cpp:24:5: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
user.cpp: In function ‘int main()’:
user.cpp:186: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:187: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:189:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
user.cpp:196:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nq);
^
user.cpp:199: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 | 304kb | OK | 5 |
| 3 | 0ms | 308kb | 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 | 96ms | 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 | 4844kb | Time limit exceeded. | 0 |
| 20 | 80ms | 12936kb | OK | 5 |
| Punctaj total | 50 |