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:32:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
32 | scanf("%d %d",&t,&y);
| ~~~~~^~~~~~~~~~~~~~~
bitaro.cpp:33:31: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
33 | for(i=1;i<=y;i++)scanf("%d",&c[i]),vis[c[i]]=true;
| ~~~~~^~~~~~~~~~~~