QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#755940#9576. Ordainer of Inexorable Judgmentucup-team5716#Compile Error//C++143.0kb2024-11-16 18:28:122024-11-16 18:28:12

Details

cc1plus: error: ‘::main’ must return ‘int’
answer.code: In function ‘int main()’:
answer.code:81:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   81 |         scanf("%lld%lld%lld%lld%Lf",&n,&X,&Y,&d,&t);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
answer.code:82:24: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   82 |         fo(i,1,n) scanf("%lld%lld",x + i,y + i),upd(x[i],y[i]);
      |                   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~