Compile Error
foo.cc:4:1: error: ISO C++ forbids declaration of ‘ouputs’ with no type [-fpermissive] 4 | ouputs(int n,int a) | ^~~~~~ foo.cc: In function ‘int ouputs(int, int)’: foo.cc:24:1: warning: no return statement in function returning non-void [-Wreturn-type] 24 | } | ^ foo.cc: In function ‘int main()’: foo.cc:27:17: warning: unused variable ‘j’ [-Wunused-variable] 27 | int n,i,j,a; | ^ foo.cc:27:19: warning: unused variable ‘a’ [-Wunused-variable] 27 | int n,i,j,a; | ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1053 *组成的图形(5)
- 语言
- C++
- 递交时间
- 2024-03-31 13:33:53
- 评测时间
- 2024-03-31 13:33:53
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes