Coder Social home page Coder Social logo

mishra-tanay / sublimeandcpp Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 51 KB

Useful Competitive Programming Addons for Sublime Text Editor

segment-tree competitive-programming competitive-coding sublime-text-3 sublime-snippets cpp competitive-programming-algorithms

sublimeandcpp's Introduction

Sublime-Snippets

Usefull Competitive Programming Snippets

Steps 1. Install Sublime-Text-Editor 3 2. Copy required snippets to your "Sublime-text-3/Packages/User" Folder

Macros that you might need to include in your cpp file a. #define ll long long int b. #define mod 1e9+7

Tip: You can use AStyleFormatter to format c++ files which provides you an option to autoformat on save.

TabTriggers

BIT : sublime_bit
Bitmasks : sublime_bitmasks
DIGIT-DP : sublime_digitdp
DSU : sublime_dsu
Modular Exponentiation : sublime_exponentMod
Get Day from Date : sublime_getdayofweek
Modular Algebra : sublime_modalgebra
Mod Inverse : sublime_modinverse
nCr mod P : sublime_nCrmodp
next-greater-in-array : sublime_nextgreater
Ordered Set : sublime_orderedset
Classic Segment tree : sublime_segmenttree
Set Precision : sp
Sieve of Eratosthenes : sublime_sieve
Smallest Prime Factor : sublime_sievespf
Topological Sort : sublime_topologicalsort
Tries on bits : sublime_trieonbits
LCA using Segment Tree : sublime_lcaseg
Tries on words : sublime_triesonwords

Sublime Build Systems

cppbuildwithtimeout : Kills programs automatically after 0.5s
buildc++ : Normal g++ build system

sublimeandcpp's People

Contributors

mishra-tanay avatar mishratanayy avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

sublimeandcpp's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.