记录详情

Compile Error

/in/foo.c: In function 'input':
/in/foo.c:5:3: warning: implicit declaration of function 'scanf_s' [-Wimplicit-function-declaration]
   scanf_s("%d", &a[i]);
   ^~~~~~~
/in/foo.c: In function 'main':
/in/foo.c:21:8: warning: unused variable 'count' [-Wunused-variable]
  int n,count=0;
        ^~~~~
/tmp/ccH1FRoW.o: In function `input':
foo.c:(.text+0x2d): undefined reference to `scanf_s'
/tmp/ccH1FRoW.o: In function `main':
foo.c:(.text.startup+0x21): undefined reference to `scanf_s'
foo.c:(.text.startup+0x4d): undefined reference to `scanf_s'
collect2: error: ld returned 1 exit status

信息

递交者
类型
递交
题目
1-4 最大值的个数
比赛
2023 程序设计与基础(单个的数组)
语言
C
递交时间
2023-11-21 14:13:51
评测时间
2023-11-21 14:13:51
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes