drivers::polygon_codeforces_com implementation.