beauty.cpp: In function 'void solve(std::vector<int>, int, int)':
beauty.cpp:18:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for(ll i=0;i<s[k].sz;i++){
| ^
beauty.cpp: In function 'int main()':
beauty.cpp:26:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
26 | freopen("stdin.in","r",stdin);freopen("stdout.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
beauty.cpp:26:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
26 | freopen("stdin.in","r",stdin);freopen("stdout.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~