QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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]; | ^~~