自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 资源 (13)
  • 问答 (7)
  • 收藏
  • 关注

原创 深度优先搜索和广度优先搜索

//DFS#include #include #include using namespace std;vector > V; //邻接表vector visit;int n;//点数int m;//边数vector ans;void dfs(int n){ ans.push_back(n); visit[n] = 1; for(int j=0;j<V[

2016-11-29 15:54:22 238

原创 USACO Transformations

/*ID:fan19132LANG:C++TASK:transform*/#include"iostream"#include"stdio.h"#include"stdlib.h"#include"string.h"int n;char a[11][11],b[11][11],c[11][11];intcheck(){ for(int i=0;i<n;i++){

2016-11-24 13:50:16 261

原创 USACO Milking Cows

题意:给定一个n然后给出n个区间然后求出最大连续区间长度和最大不连续空间长度/*ID: 19132PROG: milk2LANG: C++*/#include"iostream"#include"stdio.h"#include"string.h"int Max(int a,int b){ return a>b?a:b;}int Min(int a,in

2016-11-21 20:47:00 709

原创 USACO Broken Necklace

题意: 输入n 输入一个长度为n的字符串 把它看成一个环 然后从环的任意一个位置断开 选出其中最大的q。 q的定义: 断开的字符串从两边取,w可以看成任意的颜色,然后取除‘w’之外遇到的第一种颜色,继续取直到遇到除了’w’和第一种颜色之外的颜色停止。 例如rrrwwwbr 从左取只能取6个,从右取只能取

2016-11-21 13:29:45 221

原创 USACO Friday the Thirteenth

/*ID: fan19132PROG: fridayLANG: C++*/#include"stdio.h"#include"string.h"struct person{ char name[20]; int money;}persons[15];int leap_month_day[13]={0,31,29,31,30,31,30,31,31,30,31,30

2016-11-21 12:39:34 348

原创 HDOJ 2091 空心三角形

#include"iostream"using namespace std;int main(){ char c; int n; int first = 1; /* * 5-1=4 * * 5-2=3 * * * **********

2016-11-17 22:02:40 998

原创 POJ 1611 并查集

KEY小的数当根#include #include #include using namespace std;int const max_person = 30000+5;int const max_group = 500+5;int rank[max_person];int father[max_person];void init(int n){ fo

2016-11-16 19:26:09 187

原创 2524 克鲁斯卡尔算法

#include"iostream"#include"stdio.h"#include"algorithm"#include"stdlib.h"using namespace std;const int maxn = 50000+5;int pre[maxn];void init(int n){ for(int i=1;i<=n;i++) pre[i] = i

2016-11-15 16:06:40 227

原创 POJ 1861 克鲁斯卡尔算法

#include #include #include using namespace std;const int maxn = 1000+5;const int maxm = 15000+5;struct E{ int x; int y; int len; int flag; E(){ x=y=len=fl

2016-11-15 15:25:22 318

原创 Haskell(一 ) ------ Windos下环境配置

步骤去官网下载安装包然后运行安装包路径最好就不要改了。打开命令行输入 cabal user-config init 会出现默认的放置配置文件的地址,然后到那个文件夹下修改config文件。添加 extra-prog-path: 文件安装路径\Haskell Platform\8.0.1\msys\usr\bin extra-lib-dirs: 文件安装路径\Haskell Platfor

2016-11-09 17:05:09 5752

原创 Windows 下配置 Common Lisp 环境

第一种方式:直接下载clisp+lispide这个方式是最简单的。第二种方式:下载slime+sbcl+emacs这个是标配在windows下下载sbcl 注意一下别下载成linux下的安装好sbcl重启 环境变量才生效当重启之后cmd窗口下输入sbcl出现的不是 错误以下就说明安装成功了c:\Users\cnm\Desktop>sbclvalidation

2016-11-07 19:25:41 1888

安装包ruby2

rubyrubyrubyrubyrubyrubyrubyrubyrubyrubyrubyrubyrubyrubyrubyrubyrubyruby

2018-01-31

阿帕奇tomcat8.5

apache tomcat 8.5<br>apache tomcat 8.5<br>apache tomcat 8.5<br>apache tomcat 8.5<br>apache tomcat 8.5<br>apache tomcat 8.5<br>apache tomcat 8.5<br>apache tomcat 8.5<br>apache tomcat 8.5<br>apache tomcat 8.5<br>apache tomcat 8.5<br>apache tomcat 8.5<br>apache tomcat 8.5<br>apache tomcat 8.5<br>apache tomcat 8.5<br>apache tomcat 8.5<br>apache tomcat 8.5<br>apache tomcat 8.5<br>apache tomcat 8.5<br>apache tomcat 8.5<br>

2018-01-22

mybatis笔记(二)

mybatis3 mysql-connector-java5 jdk1.7 mybatis3 mysql-connector-java5 jdk1.7

2018-01-15

mybatis笔记源码

mybatis-3.2.7 mysql-connector-java-5.1.45 必要的jar包,项目源码就是mybatis1.zip

2018-01-15

emacs-25.1x86_64

emacs

2016-11-07

clisp-2.49-win32-mingw-big.exe

Lisp编译器

2016-11-07

ckeditor和ckfinder

ckfinder ckeditor 文本编辑器 图片上传

2016-10-30

httpd-2.4.23-x64-vc11.zip

Apache 2.4.23 x64

2016-09-10

tomcat.zip

直接解压到c盘

2016-09-05

refman-5.1.mysql.tar.gz

mysql 英文官方文档

2016-09-05

深入理解计算机系统.pdf

计算机 系统

2016-09-03

《模糊数学》.pdf

2016-09-02

《汇编语言》王爽.pdf

汇编 微机原理

2016-09-02

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

TA关注的人

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