JK.cpp: In function 'void recur(int, long long unsigned int)':
JK.cpp:13:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (idx == str.size())
^
JK.cpp:19:21: warning: array subscript has type 'char' [-Wchar-subscripts]
if (val[str[idx]])
^
JK.cpp:21:29: warning: array subscript has type 'char' [-Wchar-subscripts]
putchar(val[str[idx]]);
^
JK.cpp:26:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < rem.size(); i++)
^
JK.cpp:34:25: warning: array subscript has type 'char' [-Wchar-subscripts]
val[str[idx]] = rem[i];
^
JK.cpp:37:33: warning: array subscript has type 'char' [-Wchar-subscripts]
putchar(val[str[idx]]);
^
JK.cpp: In function 'int main()':
JK.cpp:58:18: warning: array subscript has type 'char' [-Wchar-subscripts]
if (yes[t]) continue;
^
JK.cpp:59:14: warning: array subscript has type 'char' [-Wchar-subscripts]
yes[t] = true;
^