QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#502303 | #9156. 百万富翁 | gg_gong# | Compile Error | / | / | C++14 | 1.4kb | 2024-08-03 03:22:33 | 2024-08-03 03:22:33 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int solve_real(int)’: answer.code:42:29: 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>; size_type = long unsigned int]’ (did you forget the ‘()’ ?) 42 | if((int)vec.size%2==1) | ~~~~^~~~ | () answer.code: In function ‘int solve_small(int)’: answer.code:27:1: warning: control reaches end of non-void function [-Wreturn-type] 27 | } | ^