Pagini recente » Borderou de evaluare (job #2545548) | Borderou de evaluare (job #1406149) | Borderou de evaluare (job #3163661)
Borderou de evaluare (job #3163661)
Raport evaluator
Compilare:
main.cpp: In function 'void kmp(std::string&, std::vector<int>&)':
main.cpp:11:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | for(int i = 1; i < a.size(); i ++)
| ~~^~~~~~~~~~
main.cpp: In function 'void solve(int, std::string&, std::vector<int>&)':
main.cpp:30:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for(int i = startPoz; i < s.size() && !ok; i ++)
| ~~^~~~~~~~~~
main.cpp:42:18: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | if(pi[i] == b.size())
main.cpp: In function 'int main()':
main.cpp:72:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | while(i < t.size() && t[i] == '*')
| ~~^~~~~~~~~~
main.cpp:80:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
80 | while(i < t.size())
| ~~^~~~~~~~~~
main.cpp:83:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | while(i < t.size() && t[i] !='*')
| ~~^~~~~~~~~~
main.cpp:88:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
88 | while(i < t.size() && t[i] == '*')
| ~~^~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | OK | 10 | 10 |
2 | 0ms | 303kb | OK | 10 | 10 |
3 | 0ms | 303kb | OK | 10 | 10 |
4 | 0ms | 303kb | OK | 10 | 10 |
5 | 0ms | 303kb | OK | 10 | 60 |
6 | 0ms | 303kb | OK | 10 |
7 | 0ms | 303kb | OK | 10 |
8 | 0ms | 303kb | OK | 10 |
9 | 0ms | 303kb | OK | 10 |
10 | 0ms | 303kb | OK | 10 |
Punctaj total | 100 |