Macros and templates for competitive programming mainly topcoder