Pagini recente » Borderou de evaluare (job #3355002) | Borderou de evaluare (job #3319271) | Borderou de evaluare (job #3307642) | Borderou de evaluare (job #3349449) | Borderou de evaluare (job #3349077)
Borderou de evaluare (job #3349077)
Raport evaluator
Compilare:
main.cpp: In function 'void calc_z(std::string&, std::string&)':
main.cpp:14:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | for(int i=1; i<str.size(); i++)
| ~^~~~~~~~~~~
main.cpp:17:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | while(i+z[i]<str.size() && str[z[i]]==str[i+z[i]])
| ~~~~~~^~~~~~~~~~~
main.cpp:25:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | for(int i=0; i<s1.size(); i++)
| ~^~~~~~~~~~
main.cpp:34:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | for(int i=1; i<str.size(); i++)
| ~^~~~~~~~~~~
main.cpp:37:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | while(i+r_z[i]<str.size() && str[r_z[i]]==str[i+r_z[i]])
| ~~~~~~~~^~~~~~~~~~~
main.cpp:46:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | for(int i=0; i<s1.size(); i++)
| ~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:63:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
63 | if(x>0 && y<s1.size()-1) ans=min(z[y+1], r_z[x-1]);
| ~^~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 303kb | Incorect | 0 | 0 |
| 2 | 0ms | 303kb | Incorect | 0 | 0 |
| 3 | 0ms | 557kb | Incorect | 0 | 0 |
| 4 | 0ms | 557kb | Incorect | 0 | 0 |
| 5 | 2ms | 2019kb | Incorect | 0 | 0 |
| 6 | 3ms | 2019kb | Incorect | 0 | 0 |
| 7 | 3ms | 2019kb | Incorect | 0 | 0 |
| 8 | 3ms | 2019kb | Incorect | 0 | 0 |
| 9 | 32ms | 16973kb | Incorect | 0 | 0 |
| 10 | 57ms | 16916kb | Incorect | 0 | 0 |
| 11 | 99ms | 30396kb | Incorect | 0 | 0 |
| 12 | 98ms | 30494kb | Incorect | 0 |
| 13 | 99ms | 30371kb | Incorect | 0 |
| 14 | 99ms | 30351kb | Incorect | 0 |
| 15 | 59ms | 5058kb | OK | 5 |
| 16 | 97ms | 30261kb | Incorect | 0 | 0 |
| 17 | 93ms | 30355kb | Incorect | 0 |
| 18 | 94ms | 30269kb | Incorect | 0 |
| 19 | 94ms | 30306kb | Incorect | 0 |
| 20 | 93ms | 30285kb | OK | 5 |
| Punctaj total | 0 |