Main.cpp: In function 'int32_t main()':
Main.cpp:38:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for(int i = 1; i<ps_filt.size(); i+=2) {
| ~^~~~~~~~~~~~~~~
Main.cpp:39:59: error: unable to find numeric literal operator 'operator""first'
39 | if(ps_filt[i].second % 2 || (ps_filt[i].first-ps_filt[i-1.first])%2) {
| ^~~~~~~
Main.cpp:39:59: note: use '-fext-numeric-literals' to enable more built-in suffixes
Main.cpp:37:6: warning: unused variable 'ans' [-Wunused-variable]
37 | int ans = 0;
| ^~~