Problem for Treaps.
Problem: https://www.spoj.com/problems/ADACROP/6
My solution (using Treap for every type of vegetable): https://ideone.com/te9lsN4
PLEASE, help me find what am I missing.
I debug it at least 5 times and I overthinked it… every corner case and etc.
I’ve been torturing myself for a week now. I just can’t explain why WA on Test Case 15?
created
last reply
- 2
replies
- 537
views
- 2
users
- 1
like
- 2
links