I am not sure why all other platforms work very well with jvm (java, kotlin), python while only spoj cannot?
Is there something wrong with spoj’s infrastructure in general?
Why not just giving a big enough memory and timeout in general to all solutions and if the solution is slow, just tell the users smt like “90% of submissions using your language are faster than your solution”.