QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#297214#5404. 述树术hyforces#Compile Error//C++201.2kb2024-01-04 06:49:472024-04-28 08:30:44

Details

implementer.cpp: In function ‘int main()’:
implementer.cpp:124:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  124 |     scanf("%d%d", &n, &m);
      |     ~~~~~^~~~~~~~~~~~~~~~
implementer.cpp:127:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  127 |         scanf("%d%d", &a, &b);
      |         ~~~~~^~~~~~~~~~~~~~~~
implementer.cpp:145:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  145 |     scanf("%d", &test_stat);
      |     ~~~~~^~~~~~~~~~~~~~~~~~
answer.code: In function ‘void solve(int)’:
answer.code:11:15: error: ‘Query’ was not declared in this scope
   11 |         int z=Query(qq);
      |               ^~~~~
answer.code:30:20: error: ‘Query’ was not declared in this scope
   30 |                 if(Query(tq)==csz-1)hi=mid;
      |                    ^~~~~
answer.code:33:13: error: ‘Report’ was not declared in this scope
   33 |             Report(ul[lo],a);
      |             ^~~~~~