foo.cc: In function 'void updata(int, int, int)':
foo.cc:26:25: warning: value computed is not used [-Wunused-value]
for(int i=x;i<Max1;i+lowbit(i))
~^~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:36:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
~~~~~^~~~~~~~~
foo.cc:41:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a[i],&b[i]);
~~~~~^~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。