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:21:36.891Z","handle":"2020-07-25T14:21:36.891Z","cache_start":"2020-07-25T14:21:36.899Z","read_cases":"2020-07-25T14:21:37.004Z","judge":"2020-07-25T14:21:37.005Z","done":"2020-07-25T14:21:41.410Z"}