运行 ID 作者 题号 测评结果 分数 时间 内存 语言 代码长度 提交时间
225817 liu1371124 1123 - HYR 的方向判定 编译错误 0 0 MS 0 KB C 3247 3年前
暂时无法获取本题测试点详情。

Main.c: In function ‘main’:
Main.c:12:2: warning: implicit declaration of function ‘scanf_s’; did you mean ‘scanf’? [-Wimplicit-function-declaration]
12 | scanf_s("%d", &n1);
| ^~~~~~~
| scanf
/usr/bin/ld: /tmp/cck1WMmn.o: in function `main':
Main.c:(.text.startup+0x2d): undefined reference to `scanf_s'
/usr/bin/ld: Main.c:(.text.startup+0x61): undefined reference to `scanf_s'
/usr/bin/ld: Main.c:(.text.startup+0x76): undefined reference to `scanf_s'
/usr/bin/ld: Main.c:(.text.startup+0xe4): undefined reference to `scanf_s'
/usr/bin/ld: Main.c:(.text.startup+0xf5): undefined reference to `scanf_s'
/usr/bin/ld: /tmp/cck1WMmn.o:Main.c:(.text.startup+0x1bf): more undefined references to `scanf_s' follow
collect2: error: ld returned 1 exit status