candies.cpp: In function 'std::vector<int> distribute_candies(std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
candies.cpp:89:9: error: expected primary-expression before '/' token
89 | /for(auto it : V) printf("%lld ", it); printf("\n");
| ^
candies.cpp:89:10: error: expected primary-expression before 'for'
89 | /for(auto it : V) printf("%lld ", it); printf("\n");
| ^~~
candies.cpp:111:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
111 | for(; pt<V2.size() && V2[pt].first<=x2; pt++)
| ~~^~~~~~~~~~
candies.cpp:126:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
126 | for(; pt<V2.size(); pt++)
| ~~^~~~~~~~~~