标签:简单 name har col kmp map day 注意 部分
——\(Memory\_of\_winter\)
博客模板链接
如平衡树,网络流,最短路,\(\mathrm{LCT}\),\(\mathrm{LCA}\),可并堆,\(\mathrm{tarjan}\)缩点,\(\mathrm{ODT}\),\(\mathrm{KMP}\),\(\mathrm{AC}\)自动机等
namespace io {
struct istream {
#define M (1 << 25)
char buf[M], *ch = buf - 1;
inline istream() { fread(buf, 1, M, stdin); }
inline istream& operator >> (int &x) {
while (isspace(*++ch));
for (x = *ch & 15; isdigit(*++ch); ) x = x * 10 + (*ch & 15);
return *this;
}
#undef M
} cin;
struct ostream {
#define M (1 << 23)
char buf[M], *ch = buf - 1;
inline ostream& operator << (int x) {
if (!x) { *++ch = '0'; return *this; }
static int S[10], *top; top = S;
while (x) { *++top = x % 10 ^ 48; x /= 10; }
for (; top != S; --top) *++ch = *top;
return *this;
}
inline ostream& operator << (const char x) {*++ch = x; return *this;}
inline ~ostream() { fwrite(buf, 1, ch - buf + 1, stdout); }
#undef M
} cout;
}
如果考场没有\(\mathrm{vim}\)我也没办法,希望我\(\mathrm{dev}\)还用的习惯
se nu rnu ts=4 sw=4 ci si list lcs=tab:\|\- go=
" syntax on
" filetype plugin indent on
se guifont=Courier\_New:h14
colorscheme desert
map <F9> <ESC>:w<CR>:!g++ -o "%<" "%" -Wall -Wl,--stack=16777216<CR><CR>
map <C-F9> <ESC>:w<CR>:!g++ -o "%<" "%" -Wall -Wl,--stack=16777216 -std=c++11 -O2<CR><CR>
map <F10> <ESC>:!"%<"<CR><CR>
map <F11> <F9><F8>
map ya <ESC>gg<S-V>G"+y
imap <F9> <ESC>:w<CR>:!g++ -o "%<" "%" -Wall -Wl,--stack=16777216<CR><CR>
imap <C-F9> <ESC>:w<CR>:!g++ -o "%<" "%" -Wall -Wl,--stack=16777216 -std=c++11 -O2<CR><CR>
imap <F10> <ESC>:!"%<"<CR><CR>
imap <F11> <F9><F8>
imap <C-s> <TAB><BS><ESC>:w<CR>a
map <C-s> <ESC>:w<CR>
@echo off
:loop
gen.exe > in.in
S.exe < in.in > S.out
M.exe < in.in > M.out
fc S.out M.out
if not errorlevel 1 goto loop
pause
\(26\)号下午泼一泼隔膜,调整心态,不要影响到第二天
把\(Day1\)出问题的地方重新复习一下
不一定会有。如果有的话可能直接附在后面,也可能是链接
标签:简单 name har col kmp map day 注意 部分
原文地址:https://www.cnblogs.com/Memory-of-winter/p/11860982.html