modification of https://users.rust-lang.org/t/why-does-cell-require-copy-instead-of-clone/5769
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
function s:n_GTGT() | |
let smartindent_save = &smartindent | |
set nosmartindent | |
normal! >> | |
let &smartindent = smartindent_save | |
endfunction | |
function s:x_GT() | |
let smartindent_save = &smartindent | |
set nosmartindent |
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
// includes {{{ | |
#include<iostream> | |
#include<iomanip> | |
#include<algorithm> | |
#include<vector> | |
#include<stack> | |
#include<queue> | |
#include<map> | |
#include<set> | |
#include<tuple> |
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
// https://wcipeg.com/submissions/src/613303 | |
#define NDEBUG | |
// includes {{{ | |
#include <algorithm> | |
#include <cassert> | |
#include <cmath> | |
#include <iomanip> | |
#include <iostream> | |
#include <map> |
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
// includes {{{ | |
#include <algorithm> | |
#include <cassert> | |
#include <cmath> | |
#include <iomanip> | |
#include <iostream> | |
#include <map> | |
#include <queue> | |
#include <random> | |
#include <set> |
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
// includes {{{ | |
#include<iostream> | |
#include<iomanip> | |
#include<algorithm> | |
#include<vector> | |
#include<stack> | |
#include<queue> | |
#include<map> | |
#include<set> | |
#include<tuple> |
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
// るまライブラリ : https://lumakernel.github.io/ecasdqina/ | |
// includes {{{ | |
#include<iostream> | |
#include<iomanip> | |
#include<algorithm> | |
#include<vector> | |
#include<stack> | |
#include<queue> | |
#include<deque> |
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
// includes {{{ | |
#include<iostream> | |
#include<iomanip> | |
#include<algorithm> | |
#include<vector> | |
#include<stack> | |
#include<queue> | |
#include<deque> | |
#include<map> | |
#include<set> |
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
sudo apt remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common | |
sudo apt install -y \ | |
liblua5.1-dev \ | |
luajit \ | |
libluajit-5.1 \ | |
python-dev \ | |
python3-dev \ | |
ruby-dev \ | |
libperl-dev \ |
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
// ==UserScript== | |
// @name DEFINE remover | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description remove DEFINE | |
// @author Luma | |
// @match https://beta.atcoder.jp/contests/*/tasks/* | |
// @match https://beta.atcoder.jp/contests/*/submit* | |
// @match https://*.contest.atcoder.jp/submit* | |
// @grant none |
NewerOlder