记录详情

Compile Error

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

信息

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