carnival.cpp: In function 'int pergunta(std::vector<int>)':
carnival.cpp:14:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<a.size();i++){
~^~~~~~~~~
carnival.cpp:21:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<a.size();i++)cout<<a[i]+1<<" ";
~^~~~~~~~~
carnival.cpp:31:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<a.size();i++){
~^~~~~~~~~
carnival.cpp: In function 'std::vector<int> ans(int, int)':
carnival.cpp:54:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int person=0;person<v2.size();person++){
~~~~~~^~~~~~~~~~
carnival.cpp:59:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int x=0;x<v1.size();x++){
~^~~~~~~~~~
carnival.cpp:69:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(R==festa.size())cor+=(1<<bit);
~^~~~~~~~~~~~~~
carnival.cpp:76: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:94:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<V.size();i++){
~^~~~~~~~~
carnival.cpp:99:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v.size();i++){
~^~~~~~~~~