Compile Error
foo.cc: In function 'int main()': foo.cc:19:2: error: expected initializer before 'double' 19 | double s=0; | ^~~~~~ foo.cc:24:9: error: 'n' was not declared in this scope 24 | cin>>n[i][j]; | ^ foo.cc:25:4: error: 's' was not declared in this scope 25 | s+=n[i][j]; | ^ foo.cc:28:8: error: 's' was not declared in this scope 28 | cout<<s<<" "; | ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1091 二维数组 元素和及平均值
- 语言
- C++
- 递交时间
- 2022-07-16 19:58:03
- 评测时间
- 2022-07-16 19:58:03
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes