0_0_29777872_3613.cpp: In function 'int main()':
0_0_29777872_3613.cpp:29:20: error: 'str' was not declared in this scope
if(str[i]=='H')h1++;
^
0_0_29777872_3613.cpp:29:32: error: 'h1' was not declared in this scope
if(str[i]=='H')h1++;
^
0_0_29777872_3613.cpp:30:22: error: 't1' was not declared in this scope
else t1++;
^
0_0_29777872_3613.cpp:31:20: error: 'str' was not declared in this scope
if(str[front++]=='H')h1--;
^
0_0_29777872_3613.cpp:31:24: error: 'front' was not declared in this scope
if(str[front++]=='H')h1--;
^
0_0_29777872_3613.cpp:31:38: error: 'h1' was not declared in this scope
if(str[front++]=='H')h1--;
^
0_0_29777872_3613.cpp:32:22: error: 't1' was not declared in this scope
else t1--;
^
0_0_29777872_3613.cpp:33:20: error: 'h1' was not declared in this scope
if(h1==h/2&&t1==t/2){
^
0_0_29777872_3613.cpp:33:24: error: 'h' was not declared in this scope
if(h1==h/2&&t1==t/2){
^
0_0_29777872_3613.cpp:33:29: error: 't1' was not declared in this scope
if(h1==h/2&&t1==t/2){
^
0_0_29777872_3613.cpp:33:33: error: 't' was not declared in this scope
if(h1==h/2&&t1==t/2){
^
0_0_29777872_3613.cpp:34:36: error: 'front' was not declared in this scope
cout<<2<<endl<<front<<" "<<i+1<<endl;
^
|