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
/* ********************************** | |
* 精简版头文件 修改自岛娘的头文件 | |
* By [email protected] | |
* 复制到你的代码头部即可使用 | |
* **********************************/ | |
#define T_ int //各种循环变量的类型,特殊情况可以改成long long | |
#define fuck(s_) {cout<<s_<<endl;return 0;} //输出s_的内容并结束程序:fuck("NO"); | |
/************************* | |
* 各种循环函数 | |
* re:3个参数:循环变量,起始值,终止值 |
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
/* ********************************** | |
* 精简版头文件 修改自岛娘的头文件 | |
* By [email protected] | |
* 复制到你的代码头部即可使用 | |
* **********************************/ | |
#define T_ int //各种循环变量的类型,特殊情况可以改成long long | |
#define fuck(s_) {cout<<s_<<endl;return 0;} //输出s_的内容并结束程序:fuck("NO"); | |
/************************* | |
* 各种循环函数 |
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
/* ********************************** | |
* 精简版头文件 修改自岛娘的头文件 | |
* By [email protected] | |
* 复制到你的代码头部即可使用 | |
* **********************************/ | |
#define T_ int //各种循环变量的类型,特殊情况可以改成long long | |
#define fuck(s_) {cout<<s_<<endl;return 0;} //输出s_的内容并结束程序:fuck("NO"); | |
/************************* | |
* 各种循环函数 |
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
template <class T> | |
class MyFormatting; | |
typedef boost::variant<bool, int, std::string> var_t; | |
template <> | |
class MyFormatting<int> | |
{ | |
private: | |
const int& nucleus; |
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
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 |
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
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 |
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
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 |
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
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 |
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> | |
#include <cstddef> //size_t类型在cstddef中被定义 | |
#include <cassert> //assert宏在cassert中被定义 | |
#include <cstring> //strlen函数 | |
using namespace std; | |
const size_t SLEN=30; | |
/* 这一行定义了一个值为30,类型是int的名叫SLEN的常量 |
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
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 |
OlderNewer