运行 ID | 作者 | 题号 | 测评结果 | 分数 | 时间 | 内存 | 语言 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
349111 | 刘杰 | 1568 - [算法课蛮力法] 柠檬水找零 | 编译错误 | 0 | 0 MS | 0 KB | C++ | 673 | 2年前 |
Main.cc: In function ‘int main()’:
Main.cc:17:25: error: invalid use of member function ‘std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
17 | for(int i = 0; i < arr.size; i++) {
| ~~~~^~~~
| ()