QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#766611#9553. The HermitHuangHanShengCompile Error//C++20963b2024-11-20 17:57:112024-11-20 17:57:14

详细

answer.code: In function ‘int man()’:
answer.code:25:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   25 |     scanf("%d %d",&m,&n);
      |     ~~~~~^~~~~~~~~~~~~~~
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x24): undefined reference to `main'
collect2: error: ld returned 1 exit status