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:26:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int person=0;person<v2.size();person++){
~~~~~~^~~~~~~~~~
carnival.cpp:31:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int x=0;x<v1.size();x++){
~^~~~~~~~~~
carnival.cpp:41:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(R==festa.size())cor+=(1<<bit);
~^~~~~~~~~~~~~~
carnival.cpp:47: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:57:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<V.size();i++){
~^~~~~~~~~
carnival.cpp:62:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v.size();i++){
~^~~~~~~~~