自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

null

null

  • 博客(6)
  • 资源 (8)
  • 收藏
  • 关注

原创 PAT5-08. 迷你搜索引擎

#include#include#include#include#include#include#includeusing namespace std;string line[10000];unordered_map >infile;string filename[100];unordered_map >in_line;void readfile(int fileth){

2015-02-27 18:27:52 1312

原创 pat4-06

最后一个case没过,真奇怪#include#include#includeusing namespace std;typedef vector::iterator itr;bool isbst(itr beg,itr end){ if(end-beg<=2)return true; itr mid=find_if(beg+1,end,[&](int x)->bool{ret

2015-02-26 00:53:37 322

原创 pat3-05

#include#includeusing namespace std;const int n=9999999;int val[n];int main(){ int nth,cnt=0; scanf("%d",&nth); while(scanf("%d",&val[cnt]),val[cnt]>=0) ++cnt; if(nth>cnt) printf("

2015-02-25 00:17:08 324

原创 pat2-13

#include#includeusing namespace std;int main(){ int n;scanf("%d",&n); int nth=(2*n-1)/2; vectora(n),b(n); for(auto &x:a)scanf("%d",&x); for(auto &x:b)scanf("%d",&x); int i=0,j=0; for(

2015-02-24 23:10:47 347

原创 pat2-09

#include#includeusing namespace std;int main(){  int n;cin>>n;  vectorbox(n,100);  int used=0;  while(n--){    int weight;cin>>weight;    auto it=find_if(box.begin(),box.end(),[&](in

2015-02-24 20:43:17 336

原创 pat2-06

以为是考察大数加法,用大数加法试了一下,超时了,才发现这样是绕弯路,得抄近路才行大数加法版本:#include#includeusing namespace std;typedef list num;num operator+(num a,num b){ // plus b to a if(a.size()<b.size()) a.swap(b); a.push_fr

2015-02-24 10:49:29 351

ffmpeg-win64-shared&static;.zip

ffmpeg的x64可执行文件,包括static版本和shared版本

2019-09-29

Learn Windows PowerShell 3 in a Month of Lunches, 2nd Edition.pdf

Learn Windows PowerShell 3 in a Month of Lunches

2017-01-05

MinGW5.1.6_X86.zip

x86下的MinGW,全套工具链,省得到处找了

2016-06-16

emacs_23.1.0.0

windows X64下emacs,编译器还是emacs好用

2015-05-04

redis-2.8.19源码

redis工程源码,在src文件夹里,研究源码的童鞋可以看看

2015-05-04

mingw gcc/g++_for_windowsX64

X64下mingw,g++版本4.9,支持c++11、c++14

2015-04-17

mingw_5.0.2.exe

mingw,window下的coding工具

2014-08-16

Linux内核设计与实现(LKD)_中文_第三版

linux内核入门书籍,《深入了解Linux内核》的导论,适合菜鸟.

2014-08-16

空空如也

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

TA关注的人

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