Compile Error
foo.cc:3:1: error: ISO C++ forbids declaration of ‘a’ with no type [-fpermissive] 3 | a(int n){ | ^ foo.cc: In function ‘int a(int)’: foo.cc:21:1: warning: no return statement in function returning non-void [-Wreturn-type] 21 | } | ^
信息
- 递交者
- 类型
- 递交
- 题目
- P2607 小杨的锻炼5级1 2023样卷
- 比赛
- 2025.7.21中级班练习
- 语言
- C++
- 递交时间
- 2025-07-21 21:21:45
- 评测时间
- 2025-07-22 11:06:17
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes