QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#99903#5. 在线 O(1) 逆元el_tunelCompile Error//C++112.0kb2023-04-23 23:29:002024-11-05 21:48:36

Details

implementer.cpp: In function ‘int main()’:
implementer.cpp:22:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   22 |         scanf("%d", &n);
      |         ~~~~~^~~~~~~~~~
answer.code: In function ‘int inv(int)’:
answer.code:65:14: error: ‘LIMIT’ was not declared in this scope
   65 |     if (a <= LIMIT)
      |              ^~~~~
answer.code:73:14: error: ‘LIMIT’ was not declared in this scope
   73 |     if (b <= LIMIT)
      |              ^~~~~