Please, check time / mem constrains for Scala


#1

I checked a “complete” solution and it seems that there were no scala submissions passed yet. My solution is same as others, it gives correct results but can not pass the grader because of “Time Limit Exceeded”