• + 2 comments

    For what it's worth, I think that the actual difficulty of the problem is medium level, but there were several different tasks that you had to do rather than the single task that most other questions ask of you.

    It's medium in that you can be inefficient in both time and space and use no algorithms or data structures other than arrays/vectors (although I created a custom class to make things easier) and come up with the solution.

    So still medium, but definitely more than 30 points ... took me like 200 lines of code to solve.