codes which are committed to POJ (Peking University Online Judge System)