clo.cpp: In function 'int main()':
clo.cpp:39:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<comp>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
39 | for(int i = 0; i < pay.size();i++){
| ~~^~~~~~~~~~~~
clo.cpp:19:13: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
clo.cpp:24:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
24 | scanf("%lld%lld%lld",&go.c,&go.r,&go.p);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clo.cpp:29:13: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
29 | scanf("%d",&q);
| ~~~~~^~~~~~~~~
clo.cpp:32:17: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
32 | scanf("%lld%lld%lld",&go.c,&go.r,&go.p);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~