foo.cc: In function 'int main()':
foo.cc:7:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
foo.cc:12:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
foo.cc:14:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
foo.cc:16:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&b[i]);
^
自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
Cannot connect to sandbox service
Error: Cannot connect to sandbox service
at exports.run (/root/jd5/judger/sandbox/executionServer.js:77:15)
at process._tickCallback (internal/process/next_tick.js:68:7)
[]