lyuboyn.cpp: In function 'int Diff(const string&, const string&)':
lyuboyn.cpp:12:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a.length(); ++i)
~~^~~~~~~~~~~~
lyuboyn.cpp: In function 'void Get1(int)':
lyuboyn.cpp:27:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a.size(); ++i)
~~^~~~~~~~~~
lyuboyn.cpp:30:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int r = a.size() / 2, l = a.size() / 2 - 1; r < a.size(); ++r, --l)
~~^~~~~~~~~~
lyuboyn.cpp:32:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a.size(); ++i)
~~^~~~~~~~~~
lyuboyn.cpp:33:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
a[i].insert(a[i].begin(), (i < a.size() / 2 ? '0' : '1'));
~~^~~~~~~~~~~~~~
lyuboyn.cpp: In function 'void Get(int, int)':
lyuboyn.cpp:45:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; f && i < a.size(); i += 2)
~~^~~~~~~~~~
lyuboyn.cpp:46:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 1; f && j < a.size(); j += 2)
~~^~~~~~~~~~
lyuboyn.cpp:50:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = i + 1; k < a.size(); ++k)
~~^~~~~~~~~~
lyuboyn.cpp:54:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = j; k < a.size(); ++k)
~~^~~~~~~~~~
lyuboyn.cpp:61:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a.size(); ++i)
~~^~~~~~~~~~