QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#633130#7752. The Only Way to the Destinationucup-team4948#Compile Error//C++141.7kb2024-10-12 14:36:522024-10-12 14:37:02

Details

answer.code: In function ‘int main()’:
answer.code:53:52: error: ‘las’ was not declared in this scope; did you mean ‘lasl’?
   53 |                 for(;lasl<l&&w[lasl].x1<=w[j].x1;++las){
      |                                                    ^~~
      |                                                    lasl
answer.code:20:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   20 |     scanf("%d%d%d",&n,&m,&k);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~
answer.code:22:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   22 |         scanf("%d%d%d",&w[i].x1,&w[i].x2,&w[i].y);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~