Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:231:31: error: cannot bind non-const lvalue reference of type 'int&' to an rvalue of type 'int' 231 | init_2(i, ed, -score[i]); | ^~~~~~~~~ /in/foo.cc:62:34: note: initializing argument 3 of 'void init_2(int&, int&, int&)' 62 | void init_2(int &x, int &y, int &z) { | ~~~~~^
信息
- 递交者
- 类型
- 递交
- 题目
- P1607 植物大战僵尸
- 语言
- C++
- 递交时间
- 2025-06-13 11:16:39
- 评测时间
- 2025-06-13 11:16:39
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes