QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#345475#7933. Build PermutationGuanYunchangCompile Error//C991.0kb2024-03-06 23:58:372024-03-06 23:58:37

详细

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