记录详情

Compile Error

foo.c:15:6: warning: return type of 'main' is not 'int' [-Wmain]
 void main()
      ^~~~
foo.c: In function 'main':
foo.c:20:2: warning: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
  scanf_s("%d %d %d", &m, &n, &k);
  ^~~~~~~
  scanf
/tmp/ccLHf3vn.o: In function `main':
foo.c:(.text.startup+0x3b): undefined reference to `scanf_s'
foo.c:(.text.startup+0x85): undefined reference to `scanf_s'
collect2: error: ld returned 1 exit status
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1013 花生采摘
语言
C
递交时间
2021-08-12 12:11:53
评测时间
2021-08-12 12:11:53
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes