QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#872728 | #8613. Cardinality | ucup-team6072# | Compile Error | / | / | C++20 | 2.2kb | 2025-01-26 04:00:36 | 2025-01-26 04:00:37 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:83:24: error: cannot convert ‘__gnu_cxx::__alloc_traits<std::allocator<std::vector<long long unsigned int> >, std::vector<long long unsigned int> >::value_type’ {aka ‘std::vector<long long unsigned int>’} to ‘long long unsigned int’ 83 | z += pc(masks[6 * j + k]); | ~~^~~~~~~~~~~~~~~~~~ | | | __gnu_cxx::__alloc_traits<std::allocator<std::vector<long long unsigned int> >, std::vector<long long unsigned int> >::value_type {aka std::vector<long long unsigned int>} answer.code:14:27: note: initializing argument 1 of ‘int pc(long long unsigned int)’ 14 | int pc(unsigned long long x) { | ~~~~~~~~~~~~~~~~~~~^