码迷,mamicode.com
首页 >  
搜索关键字:names    ( 11603个结果
STL priority实例
1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 template 8 void dumpContents(const string & msg,PriorityQueue & pq) 9 ... ...
分类:其他好文   时间:2017-05-19 23:59:20    阅读次数:433
51nod 1307:绳子与重物
51nod 1307:绳子与重物 题目链接:http://www.51nod.com/onlineJudge/questionCode.html#!problemId=1307 题目大意:给定$n$条绳子,每条绳子有最大承重$C_i$,总量$W_i$和挂点$P_i$,问按顺序挂最多挂几条绳子. 并查 ...
分类:其他好文   时间:2017-05-19 23:43:53    阅读次数:322
计蒜客学习记录
#include<iostream> #include<cstdio> using namespace std; int str_len(char *str); int main() { char *str = new char[100]; //定义一个指针str,指向一个长度100的char数组 ...
分类:其他好文   时间:2017-05-19 23:43:06    阅读次数:173
UVa 1515 Pool construction (最小割)
题目链接:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&category=528&page=show_problem&problem=3916 题目大意:给定一个h*w的矩阵,每格是草地(#) ...
分类:其他好文   时间:2017-05-19 22:14:10    阅读次数:307
CentOS 7.2修改网卡名称
#!/bin/bash #Centos7.2修改网卡名称ens33为eth0 #2017/05/19 if [ -f /etc/sysconfig/grub ];then cp /etc/sysconfig/grub ./grub.conf sed -i '/GRUB_CMDLINE_LINUX/s... ...
分类:其他好文   时间:2017-05-19 17:43:35    阅读次数:213
最长不下降子序列--LIS
#include #include #include using namespace std; const int maxn = 100; int main() { int n; cin >> n; vector datas; while (n--) { int tem; cin >> tem; .... ...
分类:其他好文   时间:2017-05-19 11:15:54    阅读次数:161
ftp
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.IO;using System.Net; names ...
分类:其他好文   时间:2017-05-19 00:53:42    阅读次数:137
poj 1236 Network of Schools(tarjan缩点)
题目链接:http://poj.org/problem?id=1236 题意:给出n个学校和一些学校之间的网络链接关系,学校之间的网络是单向边,让你求出两个问题的答案,1.至少需要多少份软件,使得所有学校都可以收到。2.如果希望用一份软件就能够使所有学校收到需要添加几条边 题解:首先求强连通分量然后 ...
分类:Web程序   时间:2017-05-18 22:07:31    阅读次数:217
hdu 1879 继续畅通project
继续畅通project Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 13284 Accepted Submission(s): 5721 P ...
分类:其他好文   时间:2017-05-18 18:49:13    阅读次数:188
luogu P1396 营救
题目描述 “咚咚咚……”“查水表!”原来是查水表来了,现在哪里找这么热心上门的查表员啊!小明感动的热泪盈眶,开起了门…… 妈妈下班回家,街坊邻居说小明被一群陌生人强行押上了警车!妈妈丰富的经验告诉她小明被带到了t区,而自己在s区。 该市有m条大道连接n个区,一条大道将两个区相连接,每个大道有一个拥挤 ...
分类:其他好文   时间:2017-05-18 18:44:54    阅读次数:170
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!