paprike.cpp: In function 'void solve(int, int)':
paprike.cpp:17:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<vec[n].size()&&w[n]+vec[n][i]<=k;i++)
~^~~~~~~~~~~~~~
paprike.cpp: In function 'int main()':
paprike.cpp:24:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d%d",&n,&k),i=1;i<=n;i++)
~~~~~~~~~~~~~~~~~~~^~~~
paprike.cpp:25:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&arr[i]);
~~~~~^~~~~~~~~~~~~~
paprike.cpp:27:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
~~~~~^~~~~~~~~~~~~~