king.cpp: In function 'long long int SendInfo(std::vector<int>, std::vector<int>)':
king.cpp:13:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(j<C.size()&&W[i]>C[j]) j++;
~^~~~~~~~~
king.cpp:14:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j>=C.size()){
~^~~~~~~~~~
king.cpp:8:10: warning: unused variable 'cnt' [-Wunused-variable]
int j=0,cnt=0,bef=0;
^~~
king.cpp:9:12: warning: unused variable 'ret' [-Wunused-variable]
long long ret=0;
^~~
vassal.cpp: In function 'void Init(long long int, std::vector<int>)':
vassal.cpp:8:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<C.size();i++){
~^~~~~~~~~