Compile Error
foo.c: In function ‘main’: foo.c:21:5: warning: implicit declaration of function ‘scanf_s’; did you mean ‘scanf’? [-Wimplicit-function-declaration] 21 | scanf_s("%d", &n); | ^~~~~~~ | scanf /nix/binutils-2.42/bin/ld: /tmp/ccXX1GBs.o: in function `main': foo.c:(.text.startup+0x13): undefined reference to `scanf_s' /nix/binutils-2.42/bin/ld: foo.c:(.text.startup+0x3e): undefined reference to `scanf_s' collect2: error: ld returned 1 exit status
正在同步测试数据,请稍后
信息
- 递交者
- 类型
- 递交
- 题目
- 4 排序中的交换次数
- 语言
- C
- 递交时间
- 2024-09-23 17:36:02
- 评测时间
- 2024-09-23 17:36:02
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes