0_0_30286263_5475.cpp: In function 'int main()':
0_0_30286263_5475.cpp:14:28: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(str[i]=="H") h++;
^
0_0_30286263_5475.cpp:17:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(str[i]=="H") x++;
^
0_0_30286263_5475.cpp:32:28: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(str[i+k-1]=="H") h--;
^
0_0_30286263_5475.cpp:34:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(str[j+k]=="H") h++;
^
|