Problem laughter
User cookiemonster735
Submission Time 2026-11-18 20:10:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

laughter.cpp: In function ‘bool check(long long int)’:
laughter.cpp:50:24: error: could not convert ‘(it = mpr.std::map<long long int, std::vector<long long int> >::end())’ from ‘std::_Rb_tree_iterator<std::pair<const long long int, std::vector<long long int> > >’ to ‘bool’
50 | if (it = mpr.end()) return true;
| ~~~^~~~~~~~~~~
| |
| std::_Rb_tree_iterator<std::pair<const long long int, std::vector<long long int> > >