transfer.cpp: In function 'std::vector<int> get_attachment(std::vector<int>)':
transfer.cpp:16:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | for(int i=0;i<source.size();i++)if(source[i] == 1)ans ^= (i+1);
| ~^~~~~~~~~~~~~~
transfer.cpp:31:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for(int i=0;i<add.size();i++)kk ^= add[i];
| ~^~~~~~~~~~~
transfer.cpp: In function 'std::vector<int> retrieve(std::vector<int>)':
transfer.cpp:41:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for(int i=0;i<data.size();i++)cout<<data[i];
| ~^~~~~~~~~~~~
transfer.cpp:44:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | for(int i=n;i<data.size()-1;i++)temp ^= data[i];
| ~^~~~~~~~~~~~~~
transfer.cpp:68:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
68 | for(int i=0;i<ans.size();i++)cout<<ans[i];
| ~^~~~~~~~~~~
transfer.cpp:81:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | for(int i=0;i<ans.size();i++)cout<<ans[i];
| ~^~~~~~~~~~~