Skip to content

Instantly share code, notes, and snippets.

View htfy96's full-sized avatar
🐢
WFH

Zheng Luo htfy96

🐢
WFH
View GitHub Profile
@htfy96
htfy96 / my acm template
Last active August 29, 2015 14:20
my acm template
/* **********************************
* 精简版头文件 修改自岛娘的头文件
* By lz96@foxmail.com
* 复制到你的代码头部即可使用
* **********************************/
#define T_ int //各种循环变量的类型,特殊情况可以改成long long
#define fuck(s_) {cout<<s_<<endl;return 0;} //输出s_的内容并结束程序:fuck("NO");
/*************************
* 各种循环函数
* re:3个参数:循环变量,起始值,终止值
/* **********************************
* 精简版头文件 修改自岛娘的头文件
* By lz96@foxmail.com
* 复制到你的代码头部即可使用
* **********************************/
#define T_ int //各种循环变量的类型,特殊情况可以改成long long
#define fuck(s_) {cout<<s_<<endl;return 0;} //输出s_的内容并结束程序:fuck("NO");
/*************************
* 各种循环函数
/* **********************************
* 精简版头文件 修改自岛娘的头文件
* By lz96@foxmail.com
* 复制到你的代码头部即可使用
* **********************************/
#define T_ int //各种循环变量的类型,特殊情况可以改成long long
#define fuck(s_) {cout<<s_<<endl;return 0;} //输出s_的内容并结束程序:fuck("NO");
/*************************
* 各种循环函数
template <class T>
class MyFormatting;
typedef boost::variant<bool, int, std::string> var_t;
template <>
class MyFormatting<int>
{
private:
const int& nucleus;
set nocompatible
filetype on
filetype plugin on
set autoindent
set number
set nocompatible
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
set nocompatible
filetype on
filetype plugin on
set autoindent
set number
set nocompatible
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
@htfy96
htfy96 / .vimrc
Created September 15, 2015 10:53
set nocompatible
if &term =~ '^\(xterm\|screen\)$' && $COLORTERM == 'gnome-terminal'
set t_Co=256
endif
filetype on
filetype plugin on
set autoindent
set number
set nocompatible
filetype off " required
@htfy96
htfy96 / .vimrc
Created September 27, 2015 03:16
set nocompatible
set shell=/bin/bash
if &term =~ '^\(xterm\|screen\)$' && $COLORTERM == 'gnome-terminal'
set t_Co=256
endif
filetype on
filetype plugin on
set autoindent
set number
set nocompatible
#include <iostream>
#include <cstddef> //size_t类型在cstddef中被定义
#include <cassert> //assert宏在cassert中被定义
#include <cstring> //strlen函数
using namespace std;
const size_t SLEN=30;
/* 这一行定义了一个值为30,类型是int的名叫SLEN的常量
set nocompatible
set guiheadroom=-20
set shell=/bin/bash
if &term =~ '^\(xterm\|screen\)$' && $COLORTERM == 'gnome-terminal'
set t_Co=256
endif
filetype on
filetype plugin on
set autoindent
set number