...no matter what you have in your code
That's because you removed the ;after }.
good catch. adding ; back solves the problem. but omitting ; in other problems work just fine. I think something is different in OJ system for this problem
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.