ho_t2.cpp: In function 'long long int get(long long int, long long int)':
ho_t2.cpp:32:22: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long long int' [-Wsign-compare]
32 | if(l<k || c.size()-u<k)
| ~~~~~~~~~~^~
ho_t2.cpp: In function 'void solve()':
ho_t2.cpp:52:11: warning: comparison of integer expressions of different signedness: 'long long int' and 'long long unsigned int' [-Wsign-compare]
52 | for(i=0;i<b.size()-k+1;i++){
| ~^~~~~~~~~~~~~
ho_t2.cpp:40:6: warning: unused variable 'J' [-Wunused-variable]
40 | int J=0,O=0,I=0;
| ^
ho_t2.cpp:40:10: warning: unused variable 'O' [-Wunused-variable]
40 | int J=0,O=0,I=0;
| ^
ho_t2.cpp:40:14: warning: unused variable 'I' [-Wunused-variable]
40 | int J=0,O=0,I=0;
| ^
ho_t2.cpp: At global scope:
ho_t2.cpp:59:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
59 | main(){
| ^~~~
ho_t2.cpp: In function 'void fopn(std::string)':
ho_t2.cpp:14:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | freopen((name+".in").c_str(),"r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ho_t2.cpp:15:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | freopen((name+".out").c_str(),"w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~