JK.cpp: In function 'void getPi(std::__cxx11::string, int*)':
JK.cpp:10:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1, j = 0; i < S.size(); i++) {
~~^~~~~~~~~~
JK.cpp: In function 'int main()':
JK.cpp:54:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < S.size(); i++) {
~~^~~~~~~~~~
JK.cpp:60:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < S.size(); i++) if(fa[i] == i) V.push_back(i);
~~^~~~~~~~~~
JK.cpp:69:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < V.size(); i++) {
~~^~~~~~~~~~
JK.cpp:81:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < S.size(); i++) {
~~^~~~~~~~~~