Solutions to problems in some online judge systems