bartender.cpp: In function 'std::vector<int> BlendWines(int, std::vector<int>)':
bartender.cpp:41:13: warning: unused variable 'i' [-Wunused-variable]
for(int i: r) v.pb(max(1, n-(n-k)));
^
taster.cpp: In function 'std::vector<int> SortWines(int, std::vector<int>)':
taster.cpp:38:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<ans.size(); i++) if(ans[i]==1) p.pb(i);
~^~~~~~~~~~~
taster.cpp:39:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<p.size(); i++){
~^~~~~~~~~
taster.cpp:40:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=i+1; j<p.size(); j++){
~^~~~~~~~~
taster.cpp:36:9: warning: unused variable 'n' [-Wunused-variable]
int n=a.size();
^