This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Basic settings | |
" Set line numbers | |
set number | |
" Set relative line numbers to the current line where the cursor stays in | |
set relativenumber | |
" Set the spaces that one tab hit goes | |
set tabstop=4 | |
set shiftwidth=4 | |
set spell |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#define repIter(i,a,b) for(int i=a;i<b;i++) | |
#define rep(ele,elements) for(const auto& ele: elements) | |
void print(){cout<<'\n';} | |
void print(const vector<int>&num){ | |
repIter(i,0,num.size()){ | |
cout<<num[i] <<" "; | |
} | |
cout<<endl; |