ho_t2.cpp: In function 'void solve()':
ho_t2.cpp:32:15: warning: array subscript has type 'char' [-Wchar-subscripts]
32 | d[a[i]].pb(i);
| ^
ho_t2.cpp:33:25: warning: comparison of integer expressions of different signedness: 'std::deque<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
33 | while(d['J'].size() >= k){
| ~~~~~~~~~~~~~~^~~~
ho_t2.cpp:38:26: warning: comparison of integer expressions of different signedness: 'std::deque<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
38 | if(d['J'].size() >= k && d['O'].size() >= k && d['I'].size() >= k)
| ~~~~~~~~~~~~~~^~~~
ho_t2.cpp:38:48: warning: comparison of integer expressions of different signedness: 'std::deque<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
38 | if(d['J'].size() >= k && d['O'].size() >= k && d['I'].size() >= k)
| ~~~~~~~~~~~~~~^~~~
ho_t2.cpp:38:70: warning: comparison of integer expressions of different signedness: 'std::deque<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
38 | if(d['J'].size() >= k && d['O'].size() >= k && d['I'].size() >= k)
| ~~~~~~~~~~~~~~^~~~
ho_t2.cpp:26:9: warning: unused variable 'q' [-Wunused-variable]
26 | int q , i , j , m ,n, z ,s = 0 , f, l , r , k , x , y , mn = 1e9 , mx = 0;
| ^
ho_t2.cpp:26:17: warning: unused variable 'j' [-Wunused-variable]
26 | int q , i , j , m ,n, z ,s = 0 , f, l , r , k , x , y , mn = 1e9 , mx = 0;
| ^
ho_t2.cpp:26:21: warning: unused variable 'm' [-Wunused-variable]
26 | int q , i , j , m ,n, z ,s = 0 , f, l , r , k , x , y , mn = 1e9 , mx = 0;
| ^
ho_t2.cpp:26:27: warning: unused variable 'z' [-Wunused-variable]
26 | int q , i , j , m ,n, z ,s = 0 , f, l , r , k , x , y , mn = 1e9 , mx = 0;
| ^
ho_t2.cpp:26:30: warning: unused variable 's' [-Wunused-variable]
26 | int q , i , j , m ,n, z ,s = 0 , f, l , r , k , x , y , mn = 1e9 , mx = 0;
| ^
ho_t2.cpp:26:38: warning: unused variable 'f' [-Wunused-variable]
26 | int q , i , j , m ,n, z ,s = 0 , f, l , r , k , x , y , mn = 1e9 , mx = 0;
| ^
ho_t2.cpp:26:41: warning: unused variable 'l' [-Wunused-variable]
26 | int q , i , j , m ,n, z ,s = 0 , f, l , r , k , x , y , mn = 1e9 , mx = 0;
| ^
ho_t2.cpp:26:45: warning: unused variable 'r' [-Wunused-variable]
26 | int q , i , j , m ,n, z ,s = 0 , f, l , r , k , x , y , mn = 1e9 , mx = 0;
| ^
ho_t2.cpp:26:53: warning: unused variable 'x' [-Wunused-variable]
26 | int q , i , j , m ,n, z ,s = 0 , f, l , r , k , x , y , mn = 1e9 , mx = 0;
| ^
ho_t2.cpp:26:57: warning: unused variable 'y' [-Wunused-variable]
26 | int q , i , j , m ,n, z ,s = 0 , f, l , r , k , x , y , mn = 1e9 , mx = 0;
| ^
ho_t2.cpp:26:73: warning: unused variable 'mx' [-Wunused-variable]
26 | int q , i , j , m ,n, z ,s = 0 , f, l , r , k , x , y , mn = 1e9 , mx = 0;
| ^~