Pagini recente » Borderou de evaluare (job #944162) | Borderou de evaluare (job #1915802) | Borderou de evaluare (job #2681298) | Borderou de evaluare (job #233977) | Borderou de evaluare (job #1560818)
Borderou de evaluare (job #1560818)
Raport evaluator
Compilare:
user.cpp: In member function ‘std::pair<int, int> SufA::range(const char*) const’:
user.cpp:133: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:107:29: required from here
user.cpp:25: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:85:22: required from ‘void SufA::sais(int, T, int) [with T = const char*]’
user.cpp:107:29: required from here
user.cpp:25: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: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 | 452kb | OK | 5 |
2 | 0ms | 456kb | OK | 5 |
3 | 0ms | 460kb | OK | 5 |
4 | 0ms | 452kb | OK | 5 |
5 | 0ms | 448kb | OK | 5 |
6 | Depăşit | 6132kb | Time limit exceeded. | 0 |
7 | Depăşit | 5540kb | Time limit exceeded. | 0 |
8 | Depăşit | 6328kb | Time limit exceeded. | 0 |
9 | Depăşit | 6328kb | Time limit exceeded. | 0 |
10 | Depăşit | 6328kb | Time limit exceeded. | 0 |
11 | Depăşit | 6328kb | Time limit exceeded. | 0 |
12 | Depăşit | 6328kb | Time limit exceeded. | 0 |
13 | 80ms | 5800kb | OK | 5 |
14 | 92ms | 7648kb | OK | 5 |
15 | 96ms | 7648kb | OK | 5 |
16 | 96ms | 7648kb | OK | 5 |
17 | Depăşit | 9496kb | Time limit exceeded. | 0 |
18 | Depăşit | 4976kb | Time limit exceeded. | 0 |
19 | Depăşit | 4976kb | Time limit exceeded. | 0 |
20 | 80ms | 13192kb | OK | 5 |
Punctaj total | 50 |