记录详情

Compile Error

foo.cc:56:2: error: stray '\357' in program
  cout << fixed << setprecision(2) << b.getsum() << endl;
  ^
foo.cc:56:2: error: stray '\274' in program
foo.cc:56:2: error: stray '\210' in program
foo.cc:56:2: error: stray '\357' in program
foo.cc:56:2: error: stray '\274' in program
foo.cc:56:2: error: stray '\211' in program
foo.cc: In function 'int main()':
foo.cc:56:40: error: invalid use of non-static member function
  cout << fixed << setprecision(2) << b.getsum() << endl;
                                        ^
foo.cc: In instantiation of 'T Array<T>::getsum() [with T = int]':
foo.cc:55:19:   required from here
foo.cc:39:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^

自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)

信息

递交者
类型
递交
题目
P1011 数组类模版Array[综合题]
语言
C++
递交时间
2020-04-12 22:31:45
评测时间
2020-04-12 22:31:45
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes