topcoder SRM567 contest code