记录详情

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:8:10: error: expected expression before '%' token
  scanf_s(%d, &a);
          ^
/in/foo.c:15:6: error: 'i' undeclared (first use in this function)
 for (i = 0; i <9 ; i++)
      ^
/in/foo.c:15:6: note: each undeclared identifier is reported only once for each function it appears in

信息

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