排序:
默认
按更新时间
按访问量

换博客了

一个是自己买的域名吗,兴趣使然:新博客 另一个是自己重新注册的csdn 强迫症患者:csdn

2018-01-10 20:49:12

阅读数:107

评论数:0

mac sublime 配置c++ 做个笔记给以后的自己

c++ 格式化代码cool format:进入formatter setting 修改配置; Please visit http://akof1314.github.io/CoolFormat/doc/index.html for more information [SynTidy] C++=&q...

2017-10-27 20:23:06

阅读数:126

评论数:0

mac gdb调试 解决warning: unhandled dyld version (15) [Inferior 1 (process 660) exited normally]

打开终端 运行 vim .gdbinit在里面添加set startup-with-shell off问题解决

2017-10-27 00:35:58

阅读数:534

评论数:0

ac自动机模版

后缀数组 #include <iostream> #include <cstdio> #include <cstring>using namespace std; const int maxn=200000+100;int wa[maxn], wb[maxn],...

2017-10-24 23:41:26

阅读数:86

评论数:0

xcode 如何使用#include <bits/stdc++.h>

进入Xcode的目录 usr-》include-》c++—》v1 创建一个名为bits的文件夹 在里面添加一个stdc++.h std++.h的内容为: // C++ includes used for precompiling -*- C++ -*- // Copyright (...

2017-09-01 01:10:47

阅读数:208

评论数:0

uva 307 bfs优化剪枝

题目大意:将n节木棒接成m个长度相等的木条,要求木条的长度尽可能的短#include <bits/stdc++.h>using namespace std; #define LL long long #define LD long double #define SC(t,x) stat...

2017-08-05 20:10:11

阅读数:132

评论数:0

uva 12096 115 页

#include <iostream> #include <cstdio> #include <set> #include <vector> #include <map> #include <stack> #include ...

2017-08-05 20:08:18

阅读数:103

评论数:0

uva 540 117 页

#include <iostream> #include <cstdio> #include <algorithm> #include <vector> #include <queue> #include <map> usin...

2017-08-05 20:07:38

阅读数:91

评论数:0

uva 136 120页

#include <queue> #include <cstdio> #include <iostream> #include <algorithm> #include <set> #define ll long long using ...

2017-08-05 20:06:47

阅读数:92

评论数:0

uva 400 Unix ls 127页

#include <iostream> #include <cstdio> #include <algorithm> #include <string> using namespace std; const int maxcol=60; const ...

2017-08-05 20:06:08

阅读数:126

评论数:0

51nod 1212 模板

N个点M条边的无向连通图,每条边有一个权值,求该图的最小生成树。 Input 第1行:2个数N,M中间用空格分隔,N为点的数量,M为边的数量。(2 <= N <= 1000, 1 <= M <= 50000) 第2 - M + 1行:每行3个数S E W,分别表示M...

2017-08-05 20:04:21

阅读数:94

评论数:0

Uva 514 刘汝佳141页

There is a famous railway station in PopPush City. Country there is incredibly hilly. The station was built in last century. Unfortunately, funds we...

2017-08-05 20:02:59

阅读数:98

评论数:0

poj 2386 bfs

DescriptionDue to recent rains, water has pooled in various places in Farmer John’s field, which is represented by a rectangle of N x M (1 <= N &l...

2017-08-04 04:48:02

阅读数:195

评论数:0

大一的自己

大一的我唯唯诺诺,不知道该专心做什么,今天一晚无眠,在B站上看了很久CLS的视频,启发很大,希望自己这一次不是三分钟的热度,真的要决定该做什么了,希望现在并没有很迟。 总结:大一上学期,正常学习,觉得C语言很牛逼,大学之前也没有接触过电脑编程这一块,花了半学期自己搞完了C语言,觉得没什么压力了,...

2017-08-04 04:18:55

阅读数:218

评论数:0

hdu 4006 优先队列

Xiao Ming and Xiao Bao are playing a simple Numbers game. In a round Xiao Ming can choose to write down a number, or ask Xiao Bao what the kth great ...

2017-07-30 14:13:43

阅读数:152

评论数:0

zoj 2724 优先队列

Message queue is the basic fundamental of windows system. For each process, the system maintains a message queue. If something happens to this proces...

2017-07-30 14:12:48

阅读数:126

评论数:0

poj 3320 尺取法

Jessica’s a very lovely girl wooed by lots of boys. Recently she has a problem. The final exam is coming, yet she has spent little time on it. If she...

2017-07-30 14:11:55

阅读数:151

评论数:0

poj 2456 二分

Farmer John has built a new long barn, with N (2 <= N <= 100,000) stalls. The stalls are located along a straight line at positions x1,…,xN (0 ...

2017-07-30 14:10:29

阅读数:103

评论数:0

poj 3061 尺取法

A sequence of N positive integers (10 < N < 100 000), each of them less than or equal 10000, and a positive integer S (S < 100 000 000) are ...

2017-07-29 22:04:18

阅读数:97

评论数:0

hdu 1029 Ignatius and the Princess IV

#include <cstdio> #include <algorithm> #include <iostream> #include <map> #include <vector>using namespace std; #define...

2017-07-29 22:02:52

阅读数:103

评论数:0

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