QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#66218#5015. 树hanjinghaoCompile Error//C++14411b2022-12-08 10:15:282022-12-08 10:15:29

Details

implementer.cpp: In function ‘void regduj260135279::init()’:
implementer.cpp:32:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   32 |                 scanf("%d",&n);
      |                 ~~~~~^~~~~~~~~
implementer.cpp:45:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   45 |                         scanf("%d%d",&u,&v);
      |                         ~~~~~^~~~~~~~~~~~~~
answer.code: In function ‘void solver(int, int, int)’:
answer.code:10:9: error: ‘judger’ has not been declared
   10 |         judger::t = judger::s;
      |         ^~~~~~
answer.code:10:21: error: ‘judger’ has not been declared
   10 |         judger::t = judger::s;
      |                     ^~~~~~