Pagini recente » Borderou de evaluare (job #9071) | Borderou de evaluare (job #83383) | Borderou de evaluare (job #18221) | Borderou de evaluare (job #58774) | Borderou de evaluare (job #2849705)
Borderou de evaluare (job #2849705)
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:59:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | for(int i = v.size() + 1; i <= s.size() + 1 ; i ++) {
| ~~^~~~~~~~~~~~~~~
main.cpp:72:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | for(int i = 1; i <= v.size() / 2; i ++)
| ~~^~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 262kb | 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 | 184kb | Corect | 3 |
| 9 | 11ms | 1343kb | Corect | 3 |
| 10 | 6ms | 1290kb | Corect | 3 |
| 11 | 44ms | 4464kb | Corect | 4 |
| 12 | 11ms | 1306kb | Corect | 3 |
| 13 | 11ms | 2519kb | Corect | 3 |
| 14 | 44ms | 4362kb | Corect | 4 |
| 15 | 20ms | 2584kb | Corect | 3 |
| 16 | 16ms | 2707kb | Corect | 3 |
| 17 | 39ms | 4444kb | Corect | 4 |
| 18 | 20ms | 2523kb | Corect | 3 |
| 19 | 34ms | 7090kb | Corect | 3 |
| 20 | 106ms | 8667kb | Corect | 4 |
| 21 | 58ms | 7008kb | Corect | 3 |
| 22 | 38ms | 8216kb | Corect | 3 |
| 23 | 121ms | 13258kb | Corect | 4 |
| 24 | 68ms | 8105kb | Corect | 3 |
| 25 | 58ms | 10801kb | Corect | 4 |
| 26 | 144ms | 16289kb | Corect | 4 |
| 27 | 92ms | 11304kb | Corect | 3 |
| 28 | 68ms | 12967kb | Corect | 4 |
| 29 | 143ms | 16265kb | Corect | 4 |
| 30 | 202ms | 20230kb | Time limit exceeded | 0 |
| Punctaj total | 96 |