ho_t2.cpp: In function 'int main()':
ho_t2.cpp:30:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(it<0) continue; val=I[it];
^~
ho_t2.cpp:30:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(it<0) continue; val=I[it];
^~~
ho_t2.cpp:32:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(it<0) continue; val=O[it];
^~
ho_t2.cpp:32:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(it<0) continue; val=O[it];
^~~
ho_t2.cpp:34:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(it<0) continue; val=J[it];
^~
ho_t2.cpp:34:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(it<0) continue; val=J[it];
^~~
ho_t2.cpp:18:9: warning: unused variable 'j' [-Wunused-variable]
int i, j;
^
ho_t2.cpp:20:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%s", &N, &K, S+1);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~