bitaro.cpp: In function 'int main()':
bitaro.cpp:26:34: warning: capture of variable 'ma' with non-automatic storage duration
26 | sort(v.begin(),v.end(),[&ma](int a,int b){return ma[a]>ma[b];});
| ^~
bitaro.cpp:6:5: note: 'int ma [100005]' declared here
6 | int ma[N],c[N],dpp[N],ans;
| ^~
bitaro.cpp:13:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | scanf("%d %d %d",&n,&m,&q);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:15:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | scanf("%d %d",&a,&b);
| ~~~~~^~~~~~~~~~~~~~~
bitaro.cpp:31:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
31 | scanf("%d %d",&t,&y);
| ~~~~~^~~~~~~~~~~~~~~
bitaro.cpp:32:31: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
32 | for(i=1;i<=y;i++)scanf("%d",&c[i]),vis[c[i]]=true;
| ~~~~~^~~~~~~~~~~~