foo.cc: In function 'int main()':
foo.cc:32:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
~~~~~^~~~~~~~~
foo.cc:33:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++ )scanf("%d",&a[i]),pre[i]=pre[i-1]^a[i];
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-07-25T14:17:32.738Z","handle":"2020-07-25T14:17:32.738Z","cache_start":"2020-07-25T14:17:32.746Z","read_cases":"2020-07-25T14:17:46.063Z","judge":"2020-07-25T14:17:46.064Z","done":"2020-07-25T14:17:48.278Z"}