记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:20:5: warning: implicit declaration of function 'scanf_s' [-Wimplicit-function-declaration]
     scanf_s("%d", &n); 
     ^~~~~~~
/tmp/ccMUb0k3.o: In function `main':
foo.c:(.text.startup+0x29): undefined reference to `scanf_s'
foo.c:(.text.startup+0x89): undefined reference to `scanf_s'
collect2: error: ld returned 1 exit status

信息

递交者
类型
递交
比赛
2024春 悬赏令第八周
语言
C
递交时间
2024-06-08 19:38:24
评测时间
2024-06-09 16:40:10
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes