Problem lineup
User sussygoose
Submission Time 2026-02-20 14:39:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lineup.cpp: In function ‘int main()’:
lineup.cpp:23:17: error: request for member ‘second’ in ‘cnt.std::unordered_map<long long int, long long int>::operator[](l_b)’, which is of non-class type ‘std::unordered_map<long long int, long long int>::mapped_type’ {aka ‘long long int’}
23 | if (cnt[l_b].second == 0) no--;
| ^~~~~~