自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

转载 Linux Bash对拍

代码:#!/bin/bashwhile true; do./rand > input //数据生成器./test < input > output //测试程序./std < input > stdout //标程if diff output stdout; then printf "Accepted\n" //正确else print...

2017-04-13 20:40:00 235

转载 Epic Moments

网络流序号要考虑超级源和超级汇SAP要记得即使还原当前弧二分图匹配中v、w要取局部变量RMQ时记得开大数组树链剖分记得结点要变为线段树中的下标转载于:https://www.cnblogs.com/Krew/p/6245948.html...

2017-01-03 18:44:00 157

转载 Sublime Text 配置代码

#include <cstdio>#include <cstdlib>#include <cstring>#include <algorithm>#include <vector>#define rep(i,x,y) for (int i=x;i<=y;i++)#define dep(i,y,x) for (...

2016-09-05 22:46:00 206

转载 干货收集

树的Prufer编码及应用:http://www.mengchunlei.net/2015/06/21/%E6%A0%91%E7%9A%84prufer%E7%BC%96%E7%A0%81/http://blog.csdn.net/bingshangjiguang/article/details/6016676BZOJ 1005:http://ydcydcy1.blog.163....

2016-08-16 20:33:00 135

转载 输入输出优化函数

在输入输出量十分大的时候,为了优化I/O时间,可以编写自己的输入输出函数,原理:逐字符输入输出比有cstdio快。#include <cstdio>#include <cstdlib>#include <cstring>#include <algorithm>#include <cctype>#define rep...

2016-04-01 20:13:00 172

转载 STL的使用

Vector:不定长数组Vector是C++里的不定长数组,相比传统数组vector主要更灵活,便于节省空间,邻接表的实现等。而且它在STL中时间效率也很高效:几乎与数组不相上下。#include <cstdio>#include <cstdlib>#include <algorithm>#include <vector> //...

2016-01-21 15:34:00 145

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除