Problem | showertheduck |
---|---|
User | leyi |
Submission Time | 2023-12-29 17:19:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
showertheduck.cpp: In function ‘int main()’:
showertheduck.cpp:15:7: error: ‘class std::set<long long int>’ has no member named ‘push_back’
15 | v[0].push_back(arr[0]);
| ^~~~~~~~~
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]);
| ^