Compile Error
foo.c: In function ‘main’: foo.c:7:9: warning: implicit declaration of function ‘scanf_s’; did you mean ‘scanf’? [-Wimplicit-function-declaration] 7 | scanf_s("%d",&m); | ^~~~~~~ | scanf foo.c: At top level: foo.c:21:12: error: expected declaration specifiers or ‘...’ before string constant 21 | printf("hello, world\n"); | ^~~~~~~~~~~~~~~~ foo.c:22:1: error: expected identifier or ‘(’ before ‘}’ token 22 | } | ^
信息
- 递交者
- 类型
- 递交
- 题目
- A3-2 素数专题:素数判断
- 比赛
- 南师大(含泰州学院)2024年新生赛(第一场)
- 语言
- C
- 递交时间
- 2024-08-16 18:37:35
- 评测时间
- 2024-08-16 18:37:35
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes