QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#300617#7184. Transport Plusesucup-team2880#Compile Error//C++202.2kb2024-01-08 15:15:182024-01-08 15:15:19

Details

answer.code:89:2: error: ‘fafaes’ does not name a type
   89 | }fafaes
      |  ^~~~~~
answer.code: In function ‘int main()’:
answer.code:82:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   82 |         scanf("%d%d",&n,&t);
      |         ~~~~~^~~~~~~~~~~~~~
answer.code:83:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   83 |         scanf("%d%d",&st.x,&st.y);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~
answer.code:84:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   84 |         scanf("%d%d",&ed.x,&ed.y);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~
answer.code:85:25: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   85 |         rep(i,1,n) scanf("%d%d",&a[i].x,&a[i].y);
      |                    ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~