carnival.cpp: In function 'int pergunta(std::vector<int>)':
carnival.cpp:8:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<a.size();i++)cout<<a[i]+1<<" ";
~^~~~~~~~~
carnival.cpp: In function 'std::vector<int> ans(int, int)':
carnival.cpp:31:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int person=0;person<v2.size();person++){
~~~~~~^~~~~~~~~~
carnival.cpp:36:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int x=0;x<v1.size();x++){
~^~~~~~~~~~
carnival.cpp:46:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(R==festa.size())cor+=(1<<bit);
~^~~~~~~~~~~~~~
carnival.cpp:53:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int person=0;person<v2.size();person++){
~~~~~~^~~~~~~~~~
carnival.cpp: In function 'int main()':
carnival.cpp:65:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<V.size();i++){
~^~~~~~~~~
carnival.cpp:70:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v.size();i++){
~^~~~~~~~~