QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#403353#7897. Largest Digitjxy2012Compile Error//C++23791b2024-05-02 09:09:052024-05-02 09:09:05

详细

answer.code: In function ‘int main()’:
answer.code:30:28: error: ‘res’ was not declared in this scope
   30 |             printf("%d\n", res);
      |                            ^~~
answer.code:17:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   17 |     scanf("%d", &_);
      |     ~~~~~^~~~~~~~~~
answer.code:20:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   20 |         scanf("%d%d%d%d", &la, &ra, &lb, &rb);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~