Pagini recente » Borderou de evaluare (job #249739) | Borderou de evaluare (job #2197415) | Borderou de evaluare (job #2702886) | Borderou de evaluare (job #2487249) | Borderou de evaluare (job #3189614)
Borderou de evaluare (job #3189614)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for(int i = 1; i < s.size(); i ++)
| ~~^~~~~~~~~~
main.cpp:25:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | while(i + z[i] < s.size() && s[i + z[i]] == s[z[i]])
| ~~~~~~~~~^~~~~~~~~~
main.cpp:35:70: warning: variable 'maxLength' set but not used [-Wunused-but-set-variable]
35 | int potentialMaxLength = s.size() / 3, ans = 0, currentMax = -1, maxLength = 0, ok = 0;
| ^~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | Incorect | 0 | 0 |
2 | 0ms | 303kb | Incorect | 0 | 0 |
3 | 0ms | 303kb | Incorect | 0 | 0 |
4 | 0ms | 303kb | Incorect | 0 |
5 | 0ms | 303kb | Incorect | 0 |
6 | 0ms | 303kb | Incorect | 0 |
7 | 0ms | 303kb | OK | 5 |
8 | 6ms | 3837kb | Incorect | 0 | 0 |
9 | 7ms | 4624kb | Incorect | 0 |
10 | 5ms | 5148kb | Incorect | 0 |
11 | 6ms | 4370kb | Incorect | 0 |
12 | 4ms | 4890kb | Incorect | 0 |
13 | 5ms | 5152kb | Incorect | 0 | 0 |
14 | 4ms | 3579kb | Incorect | 0 |
15 | 7ms | 4624kb | Incorect | 0 |
16 | 5ms | 3842kb | Incorect | 0 |
17 | 6ms | 5410kb | Incorect | 0 |
18 | 6ms | 4628kb | Incorect | 0 |
19 | 9ms | 5152kb | OK | 5 |
20 | 6ms | 5410kb | Incorect | 0 |
Punctaj total | 0 |