Pagini recente » Borderou de evaluare (job #10065) | Borderou de evaluare (job #1892620) | Borderou de evaluare (job #2909379) | Borderou de evaluare (job #305764) | Borderou de evaluare (job #2809061)
Borderou de evaluare (job #2809061)
Raport evaluator
Compilare:
main.cpp: In function 'std::vector<int> z_function(std::string)':
main.cpp:17:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for(int i = 1; i < s.size(); i++) {
| ~~^~~~~~~~~~
main.cpp:24:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | while(i + z[i] < s.size() && s[i + z[i]] == s[z[i]]) {
| ~~~~~~~~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:68:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
68 | for(int i = z.size() - 1; i >= 2 * z.size() / 3; i--) {
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp:69:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
69 | if(i + z[i] == s.size() && f[z[i]] >= 2) {
| ~~~~~~~~~^~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 184kb | Incorect | 0 | 0 |
2 | 2ms | 184kb | OK | 5 | 5 |
3 | 2ms | 184kb | Incorect | 0 | 0 |
4 | 2ms | 184kb | Incorect | 0 |
5 | 2ms | 184kb | Incorect | 0 |
6 | 2ms | 184kb | Incorect | 0 |
7 | 2ms | 184kb | OK | 5 |
8 | 29ms | 9625kb | Incorect | 0 | 0 |
9 | 39ms | 12107kb | Incorect | 0 |
10 | 38ms | 13737kb | Incorect | 0 |
11 | 35ms | 11165kb | Incorect | 0 |
12 | 38ms | 13099kb | Incorect | 0 |
13 | 39ms | 13406kb | Incorect | 0 | 0 |
14 | 29ms | 9166kb | Incorect | 0 |
15 | 39ms | 11890kb | Incorect | 0 |
16 | 30ms | 9674kb | Incorect | 0 |
17 | 39ms | 14336kb | Incorect | 0 |
18 | 38ms | 12394kb | Incorect | 0 |
19 | 39ms | 13869kb | OK | 5 |
20 | 38ms | 14422kb | Incorect | 0 |
Punctaj total | 5 |