accepted programs on several OJ (written in Java)