C++ Competitive Programming Template

Check this for fast I/O template:

https://www.geeksforgeeks.org/fast-io-for-competitive-programming/
In file templates, you can use text, code, comments, and predefined variables. A list of predefined variables is available below. When you use these variables in templates, they expand into corresponding values later in the editor.

By using the #parse directive, you can include templates from the Includes tab. To include a template, specify the full name of the template as a parameter in quotation marks (for example, #parse("File Header").
List of predefined variables
${DATE}   Current system date
${DAY}   Current day of the month
${DAY_NAME_SHORT}   First three letters of the current day name (for example, Mon, Tue, and so on)
${DAY_NAME_FULL}   Full name of the current day (Monday, Tuesday, and so on)
${DIR_PATH}   Path to the directory of the new file (relative to the project root)
${DS}   Dollar sign ($). This variable is used to escape the dollar character, so that it is not treated as a prefix of a template variable.
${FILE_NAME}   Name of the new file
${PROBLEM_GROUP_NAME}   Contest or category name of the problem for which this file template is used
${HOUR}   Current hour
${MINUTE}   Current minute
${SECOND}   Current second
${MONTH}   Current month
${MONTH_NAME_SHORT}   The first 3 letters of the current month name (for example, Jan, Feb, and so on)
${MONTH_NAME_FULL}   Full name of the current month (for example, January, February, and so on).
${NAME}   Name of the new entity (file, type, interface, and so on)
${ONLINE_JUDGE_NAME}   Name of your online judge for (for example, CodeChef, Codeforces, and so on).
${ORGANIZATION_NAME}   Name of your organization specified in the project settings
${PROBLEM_NAME}   Name of the Problem for which this file template is used
${PRODUCT_NAME}   Name of the IDE
${PROJECT_NAME}   Name of the current project
${TIME}   Current system time
${USER}   System login name of the current user
${YEAR}   Current year