Compile Error
foo.cc: In function 'int main()': foo.cc:5:5: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'? 5 | scanf_s("%d %d", &year, &month); | ^~~~~~~ | scanf foo.cc:13:10: error: expected primary-expression before ':' token 13 | case :printf("30\n"); break; | ^ foo.cc:16:5: error: return-statement with no value, in function returning 'int' [-fpermissive] 16 | return ; | ^~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1024 某月的天数
- 语言
- C++
- 递交时间
- 2022-07-08 20:40:21
- 评测时间
- 2022-07-08 20:40:21
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes