garage.cpp: In function 'int main()':
garage.cpp:7:15: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | ll n,m; scanf("%lld %lld",&n,&m);
| ~~~~~^~~~~~~~~~~~~~~~~~~
garage.cpp:9:28: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | for(ll i=1;i<=n;i++) scanf("%lld",&r[i]);
| ~~~~~^~~~~~~~~~~~~~
garage.cpp:11:28: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | for(ll i=1;i<=m;i++) scanf("%lld",&h[i]);
| ~~~~~^~~~~~~~~~~~~~
garage.cpp:19:16: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | ll act; scanf("%lld",&act);
| ~~~~~^~~~~~~~~~~~~