Skip to content

Anogh297/competitive-programming-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Competitive Programming Setup

This repository contains the setup I use for competitive programming in Visual Studio Code.

Prerequisites

Available Snippets

  • cpp: General C++ template
  • python: General Python template
  • etime: Log execution time to standard error stream
  • mp_hash: Add a custom hash function to use in unordered_map for O(n) complexity

Extra: Sublime text build system

{
  "shell_cmd": "g++ -Wl,-stack=268435456 -std=c++20 -Wall -Wextra -O2 \"${file}\" -o \"${file_base_name}\" && \"${file_base_name}\" < \"input.txt\" > \"output.txt\" && del \"${file_base_name}.exe\"",
  "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
  "working_dir": "${file_path}",
  "selector": "source.c++"
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published