记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:8:2: warning: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
  scanf_s("%d", &a);
  ^~~~~~~
  scanf
/in/foo.c:25:2: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration]
  system("pause");
  ^~~~~~
/tmp/ccbg0efN.o: In function `main':
foo.c:(.text.startup+0x47): undefined reference to `scanf_s'
foo.c:(.text.startup+0x87): undefined reference to `scanf_s'
collect2: error: ld returned 1 exit status

信息

递交者
类型
递交
题目
3 有两个孩子的家庭个数
比赛
小兰赛 2018/12/2
语言
C
递交时间
2018-12-02 08:25:03
评测时间
2018-12-02 08:25:03
评测机
分数
0
总耗时
62ms
峰值内存
10.273 MiB