QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#755925#9576. Ordainer of Inexorable Judgmentucup-team5716#Compile Error//C++142.9kb2024-11-16 18:24:572024-11-16 18:24:57

Details

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