meetings.cpp: In function 'long long int solve(std::vector<int>)':
meetings.cpp:9:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | #define f(i,a,b) for(int i=a;i<b;i++)
......
33 | f(i,0,A.size()) res[i]=0;
| ~~~~~~~~~~~~
meetings.cpp:33:3: note: in expansion of macro 'f'
33 | f(i,0,A.size()) res[i]=0;
| ^
meetings.cpp:9:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | #define f(i,a,b) for(int i=a;i<b;i++)
......
34 | f(i,1,A.size()-1){
| ~~~~~~~~~~~~~~
meetings.cpp:34:3: note: in expansion of macro 'f'
34 | f(i,1,A.size()-1){
| ^
meetings.cpp:56:11: warning: integer overflow in expression of type 'int' results in '502109225' [-Woverflow]
56 | ll ans=N*inf;
| ~^~~~
meetings.cpp:9:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | #define f(i,a,b) for(int i=a;i<b;i++)
......
57 | f(i,1,A.size()-1) minm(ans,res[i]);
| ~~~~~~~~~~~~~~
meetings.cpp:57:3: note: in expansion of macro 'f'
57 | f(i,1,A.size()-1) minm(ans,res[i]);
| ^