Main.cpp: In function 'll solve(ll, ll, ll)':
Main.cpp:16:7: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | if(a==P.size()) return 0;
| ~^~~~~~~~~~
Main.cpp: In function 'int main()':
Main.cpp:5:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
5 | #define rep(a, b) for(int a = 0; a < (b); ++a)
| ^
Main.cpp:34:3: note: in expansion of macro 'rep'
34 | rep(i, P.size()) {
| ^~~
Main.cpp:5:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
5 | #define rep(a, b) for(int a = 0; a < (b); ++a)
| ^
Main.cpp:39:5: note: in expansion of macro 'rep'
39 | rep(j, P.size()) if(T[i].st==P[j]) {
| ^~~