xorsum.cpp: In function 'int main()':
xorsum.cpp:34:28: warning: too many arguments for format [-Wformat-extra-args]
34 | for(i=0;i<M;i++) scanf("%lld",&tt[i].first.first,&tt[i].first.second,&tt[i].second);
| ^~~~~~
xorsum.cpp:31:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
31 | scanf("%lld",&N);
| ~~~~~^~~~~~~~~~~
xorsum.cpp:32:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
32 | for(i=1;i<=N;i++) scanf("%lld",&all[i]);
| ~~~~~^~~~~~~~~~~~~~~~
xorsum.cpp:33:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
33 | scanf("%lld",&M);
| ~~~~~^~~~~~~~~~~
xorsum.cpp:34:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
34 | for(i=0;i<M;i++) scanf("%lld",&tt[i].first.first,&tt[i].first.second,&tt[i].second);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~