bobek.cpp: In function 'void calc(std::vector<long long int>&, std::vector<long long int>&)':
bobek.cpp:16:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | for (int j = 0;j < v.size();j++){
| ~~^~~~~~~~~~
bobek.cpp: In function 'int main()':
bobek.cpp:41:18: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | while (p < rv.size() && rv[p]+e <= k) p++;
| ~~^~~~~~~~~~~
bobek.cpp:27:16: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
27 | ll k; scanf("%d %lld", &n, &k);;
| ~~~~~^~~~~~~~~~~~~~~~~~~
bobek.cpp:29:20: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
29 | ll v; scanf("%lld", &v);
| ~~~~~^~~~~~~~~~~~
bobek.cpp:33:20: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
33 | ll v; scanf("%lld", &v);
| ~~~~~^~~~~~~~~~~~