sparklers.cpp: In function 'bool check(std::vector<long long int>, std::vector<long long int>)':
sparklers.cpp:11:7: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | if(i<a.size()&&a[i]>=mn)mx=max(mx,a[i++]);
| ~^~~~~~~~~
sparklers.cpp:12:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | else if(j<b.size()&&b[j]<=mx)mn=min(mn,b[j++]);
| ~^~~~~~~~~
sparklers.cpp:15:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | return i==a.size()&&j==b.size();
| ~^~~~~~~~~~
sparklers.cpp:15:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | return i==a.size()&&j==b.size();
| ~^~~~~~~~~~
sparklers.cpp: In function 'int main()':
sparklers.cpp:33:10: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
33 | mid=top+bot>>1;
| ~~~^~~~
sparklers.cpp:29:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
29 | scanf("%i %i %lld",&n,&k,&t);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
sparklers.cpp:30:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
30 | for(int i=1;i<=n;i++)scanf("%lld",&x[i]);
| ~~~~~^~~~~~~~~~~~~~