bobek.cpp:7:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
7 | main(){
| ^~~~
bobek.cpp: In function 'int main()':
bobek.cpp:18:22: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for(int i = 0;i < a.size();i ++){
| ~~^~~~~~~~~~
bobek.cpp:27:22: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for(int i = 0;i < b.size();i ++){
| ~~^~~~~~~~~~
bobek.cpp:35:21: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for(int i = 0;i < suma.size();i ++){
| ~~^~~~~~~~~~~~~
bobek.cpp:37:21: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | while(i + 1 < suma.size() && suma[i + 1] == suma[i]) ++ i , ++ oc;
| ~~~~~~^~~~~~~~~~~~~