Problem problemsetter
User wtnetlegend
Submission Time 2025-03-21 23:49:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

problemsetter.cpp: In function ‘int main()’:
problemsetter.cpp:29:33: error: ‘class __gnu_cxx::__normal_iterator<std::pair<int, int>*, std::vector<std::pair<int, int> > >’ has no member named ‘second’
29 | ans += max(0,*cansubmit.second-d);
| ^~~~~~