Pagini recente » Borderou de evaluare (job #1485544) | Borderou de evaluare (job #2652335) | Borderou de evaluare (job #365043) | Borderou de evaluare (job #108206) | Borderou de evaluare (job #2849706)
Borderou de evaluare (job #2849706)
Raport evaluator
Compilare:
main.cpp: In function 'std::vector<int> zAlgo(std::string&)':
main.cpp:12:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for(int i = 1, left = 0, right = 0; i < s.size(); i ++) {
| ~~^~~~~~~~~~
main.cpp:15:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | while(i + z[i] < s.size() and s[z[i]] == s[i + z[i]])
| ~~~~~~~~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:42:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | for(int i = v.size() + 1; i <= s.size() + 1 ; i ++) {
| ~~^~~~~~~~~~~~~~~
main.cpp:53:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | for(int i = 1; i <= v.size() / 2; i ++)
| ~~^~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 184kb | Corect | 3 |
| 2 | 2ms | 184kb | Corect | 3 |
| 3 | 2ms | 184kb | Corect | 3 |
| 4 | 2ms | 184kb | Corect | 3 |
| 5 | 2ms | 184kb | Corect | 3 |
| 6 | 2ms | 184kb | Corect | 3 |
| 7 | 2ms | 184kb | Corect | 3 |
| 8 | 2ms | 262kb | Corect | 3 |
| 9 | 6ms | 1155kb | Corect | 3 |
| 10 | 6ms | 1290kb | Corect | 3 |
| 11 | 30ms | 4337kb | Corect | 4 |
| 12 | 6ms | 1024kb | Corect | 3 |
| 13 | 11ms | 2560kb | Corect | 3 |
| 14 | 34ms | 4444kb | Corect | 4 |
| 15 | 16ms | 2490kb | Corect | 3 |
| 16 | 11ms | 2609kb | Corect | 3 |
| 17 | 30ms | 4337kb | Corect | 4 |
| 18 | 16ms | 2510kb | Corect | 3 |
| 19 | 35ms | 7106kb | Corect | 3 |
| 20 | 58ms | 8691kb | Corect | 4 |
| 21 | 40ms | 6983kb | Corect | 3 |
| 22 | 34ms | 8134kb | Corect | 3 |
| 23 | 88ms | 13234kb | Corect | 4 |
| 24 | 49ms | 7979kb | Corect | 3 |
| 25 | 58ms | 10862kb | Corect | 4 |
| 26 | 111ms | 16248kb | Corect | 4 |
| 27 | 68ms | 11304kb | Corect | 3 |
| 28 | 67ms | 12992kb | Corect | 4 |
| 29 | 111ms | 16248kb | Corect | 4 |
| 30 | 149ms | 22040kb | Corect | 4 |
| Punctaj total | 100 |