记录详情

Compile Error

foo.c: In function 'main':
foo.c:7:2: warning: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
  scanf_s("%d%d", &n1, &n2);
  ^~~~~~~
  scanf
/tmp/cc226e4I.o: In function `main':
foo.c:(.text.startup+0x30): undefined reference to `scanf_s'
foo.c:(.text.startup+0x59): undefined reference to `scanf_s'
foo.c:(.text.startup+0x91): undefined reference to `scanf_s'
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
A9-6 数组中增序子序列的个数
比赛
2021(四) 作业第二场:见面赛
语言
C
递交时间
2021-10-30 22:16:58
评测时间
2021-10-30 22:16:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes