sparklers.cpp: In function 'std::vector<std::pair<long long int, long long int> > calc(std::vector<std::pair<long long int, long long int> >)':
sparklers.cpp:15:6: warning: unused variable 'm' [-Wunused-variable]
15 | ll m=T.size()-1;
| ^
sparklers.cpp: In function 'bool check(ll)':
sparklers.cpp:35:11: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | while(l1<P.size() && l2<Q.size()) {
| ~~^~~~~~~~~
sparklers.cpp:35:26: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | while(l1<P.size() && l2<Q.size()) {
| ~~^~~~~~~~~
sparklers.cpp:45:8: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | if(l1<P.size() && l2<Q.size()) {
| ~~^~~~~~~~~
sparklers.cpp:45:23: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | if(l1<P.size() && l2<Q.size()) {
| ~~^~~~~~~~~
sparklers.cpp:46:12: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | if(l1+1<P.size() || l2+1<Q.size()) return false;
| ~~~~^~~~~~~~~
sparklers.cpp:46:29: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | if(l1+1<P.size() || l2+1<Q.size()) return false;
| ~~~~^~~~~~~~~
sparklers.cpp:51:11: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | while(l1<P.size()) {
| ~~^~~~~~~~~
sparklers.cpp:56:11: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | while(l2<Q.size()) {
| ~~^~~~~~~~~