Problem | wheelofmisfortune |
---|---|
User | ThatOneGuy |
Submission Time | 2024-04-05 13:51:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
wheelofmisfortune.cpp: In function ‘int countWheels(int, int)’:
wheelofmisfortune.cpp:23:75: error: ‘class std::vector<int>’ has no member named ‘count’
23 | if (abs(nextValue - lastValue) <= k && !forbiddenPairs[lastValue].count(nextValue)) {
| ^~~~~