Problem ontheedge
User G92
Submission Time 2024-07-31 17:45:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ontheedge.cpp: In function ‘int main()’:
ontheedge.cpp:35:20: error: no match for ‘operator[]’ (operand types are ‘std::multiset<long long int>’ and ‘long long int’)
35 | if(i==x-1 && psum[x-1]==0)
| ^