QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#488497 | #9156. 百万富翁 | hyforces# | Compile Error | / | / | C++20 | 1.0kb | 2024-07-24 08:41:10 | 2024-07-24 08:41:10 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int findLargest(std::vector<int>)’: answer.code:21:31: error: request for member ‘begin’ in ‘v.std::vector<int>::operator[](((std::vector<int>::size_type)a))’, which is of non-class type ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type’ {aka ‘int’} 21 | if(count(v[a].begin(),v[a].end(),0)==0)return v[a]; | ^~~~~ answer.code:21:44: error: request for member ‘end’ in ‘v.std::vector<int>::operator[](((std::vector<int>::size_type)a))’, which is of non-class type ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type’ {aka ‘int’} 21 | if(count(v[a].begin(),v[a].end(),0)==0)return v[a]; | ^~~