Compile Error

/in/foo.cc:4:19: error: ISO C++ forbids declaration of 'ouputs' with no type [-fpermissive]
 ouputs(int n,int a)//output high is n, triangle //a mean square before triangle
                   ^
/in/foo.cc: In function 'int ouputs(int, int)':
/in/foo.cc:24:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:27:10: warning: unused variable 'j' [-Wunused-variable]
  int n,i,j,a;
          ^
/in/foo.cc:27:12: warning: unused variable 'a' [-Wunused-variable]
  int n,i,j,a;
            ^

信息

递交者
类型
递交
题目
P1053 *组成的图形(5)
语言
C++
递交时间
2024-03-31 13:30:53
评测时间
2024-03-31 13:30:53
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes