Run smoothly on my computer but got weird output in the online judging system.Scared to pee.