Runtime Error
In member function 'void Vector3Array::input()', inlined from 'int main()' at /in/foo.cc:81:14: /in/foo.cc:53:13: warning: 'arr.Vector3Array::arr' may be used uninitialized [-Wmaybe-uninitialized] 53 | arr[i]=Vector3(x,y,z); | ^~~ /in/foo.cc: In function 'int main()': /in/foo.cc:80:18: note: 'arr' declared here 80 | Vector3Array arr(n); | ^~~
信息
- 递交者
- 类型
- 自测
- 题目
- P1018 OO4-2 向量的比较、赋值及向量集合类的排序
- 语言
- C++
- 递交时间
- 2025-03-29 18:42:25
- 评测时间
- 2025-03-29 18:42:25
- 评测机
- 分数
- 0
- 总耗时
- 2ms
- 峰值内存
- 476.0 KiB