QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#712928#5. 在线 O(1) 逆元liuenciCompile Error//C++14172b2024-11-05 17:31:052024-11-05 22:08:01

详细

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 ‘void init(int)’:
answer.code:5:1: error: ‘n’ was not declared in this scope
    5 | n=1e8+10;
      | ^