QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#758642#9587. 结课风云HuangHanShengCompile Error//C99464b2024-11-17 19:12:562024-11-17 19:12:57

詳細信息

answer.code: In function ‘main’:
answer.code:6:2: warning: implicit declaration of function ‘scanf_s’; did you mean ‘scanf’? [-Wimplicit-function-declaration]
    6 |  scanf_s("%d%d%d%d", &n,&a,&b,&c);
      |  ^~~~~~~
      |  scanf
/usr/bin/ld: /tmp/ccu69rMG.o: in function `main':
answer.code:(.text.startup+0x51): undefined reference to `scanf_s'
/usr/bin/ld: answer.code:(.text.startup+0x8d): undefined reference to `scanf_s'
/usr/bin/ld: answer.code:(.text.startup+0xb3): undefined reference to `scanf_s'
collect2: error: ld returned 1 exit status