Problem showertheduck
User leyi
Submission Time 2023-12-29 17:19:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

showertheduck.cpp: In function ‘int main()’:
showertheduck.cpp:27:55: error: no match for ‘operator[]’ (operand types are ‘std::set<long long int>’ and ‘long long int’)
27 | for(int i=0; i<v[n-1].size(); i++) ans=max(ans,v[n-1][i]);
| ^