杂
护理系程序猿
这个作者很懒,什么都没留下…
展开
-
vim配置(windows)
"~/.vimrc"vim config file"date 2018-12-26"Created by bert "blog:http://blog.51cto.com/zpf666""""""""""""""""""""""""""""""""""""""=>全局配置<="""""""""""""""""""""""""""""""""""""""关闭vi兼容模式"set nocompatible"设置历史记录步数"set history=1000"开启相关插件"转载 2022-04-28 19:24:57 · 522 阅读 · 0 评论 -
LIS树状数组板子
#include <cstdio>#include <algorithm>#include <cstring>using namespace std;int C[1100];const int MAXN = 10;void update(int x, int ans){ C[x] = ans ; while(x < MAXN){ C[x] = max(C[x] , ans) ; x += x&-x原创 2022-03-26 14:49:53 · 131 阅读 · 0 评论 -
2022湖南多校第一场(记录)
2022湖南多校第一场3.13ABCA签到题B方法一:模拟一个“回”型迷宫w w w w ww b b b ww b w b ww w w b wb b b b w方法二:从左上角开始模拟一个“拐角”型w b w b ww w w b wb b w b ww w w w wb b b b w(这题hxy秒杀的,我不会qwq)C...原创 2022-03-19 15:25:37 · 942 阅读 · 0 评论 -
线性筛素数(欧拉筛)
线性筛素数#include <iostream>#include <cstdio>#include <algorithm>#include <cstring>#include <cstdlib>#define in(a) a=read()#define REP(i,k,n) for(int i=k;i<=n;i++)using namespace std;inline int read(){ int x=0,f=1;转载 2022-03-09 15:13:38 · 103 阅读 · 0 评论