首页 > 2014年07月21日 > 全部分享
HDUJ 3177 Crixalis's Equipment 贪心
Crixalis's Equipment Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2568    Accepted Submission(s): 1059 Problem Description Crixalis ...
分类:其他   时间:2014-07-21 11:21:44    收藏:0  评论:0  赞:0  阅读:215
UVA - 10537 The Toll! Revisited (最短路变形逆推)
Description Problem G Toll! Revisited Input: Standard Input Output: Standard Output Time Limit: 1 Second   Sindbad the Sailor sold 66 silver spoons to the Sultan of Samarkand. The selling...
分类:其他   时间:2014-07-21 13:34:57    收藏:0  评论:0  赞:0  阅读:455
hdu4632Palindrome subsequence (求回文数,区间DP)
Problem Description In mathematics, a subsequence is a sequence that can be derived from another sequence by deleting some elements without changing the order of the remaining elements. For example, ...
分类:其他   时间:2014-07-21 11:13:44    收藏:0  评论:0  赞:0  阅读:246
晒订单赢图灵图书,《第一行代码——Android》福利活动劲爆来袭!
我的著作《第一行代码——Android》已经预售几天了,这段时间也有不少朋友早早地就订购了这本书,感谢大家对我一如既往的支持,在离发货还有十几天的时候就预订了这本书。 为了特别感谢在预售期就这么支持我的朋友们,现在图灵公司大力支持下举办一个晒订单赢图灵图书的活动,欢迎已经订购和准备订购的朋友们积极参与进来。如果你还没有订购,只需在7月31号之前下单,就可以参与此活动,购买地址见左侧导航栏。 活动介绍 凡是在预售期间(即7月31号之前)订购《第一行代码——Android》这本书的朋友们,都可参与晒订单赢图灵图...
分类:移动平台   时间:2014-07-21 11:28:44    收藏:0  评论:0  赞:0  阅读:301
linux下apache+tomcat的配置实现
apache-tomcat的配置 首先下载软件包 apache-tomcat-6.0.33.tar.gz  tomcat-connectors-1.2.32-src.tar.gz httpd-2.2.17.tar.gz          jdk-6u25-linux-i586-rpm.bin 1.安装JDK chmod +x jdk-6u25-linux-i586.bin  ./j...
分类:系统服务   时间:2014-07-21 11:24:44    收藏:0  评论:0  赞:0  阅读:369
hdu 1873看病要排队(优先队列)
# include # include # include using namespace std; struct node { int y; int val; int num; friend bool operatorn2.num;//从小到大 return...
分类:其他   时间:2014-07-21 11:36:44    收藏:0  评论:0  赞:0  阅读:203
hdu 1896 Stones(优先队列)
# include # include # include using namespace std; struct node { int pos; int d; int num; friend bool operator n2.d;//仍的距离从小到大 return...
分类:其他   时间:2014-07-21 11:43:44    收藏:0  评论:0  赞:0  阅读:182
编程算法 - 堆(heap) 代码(C)
堆(heap) 代码(C)本文地址: http://blog.csdn.net/caroline_wendy堆(heap)作为二叉树的重要应用, 时间复杂度O(logn), 需要熟练的写出其代码, 基本代码如下, 需要背写.代码:/* * main.cpp * * Created on: 2014.7.20 * Author: spike */ /*eclipse cdt,...
分类:其他   时间:2014-07-21 11:47:44    收藏:0  评论:0  赞:0  阅读:218
Android编程之LayoutInflater的inflate方法实例
LayoutInflater的inflate方法实例...
分类:移动平台   时间:2014-07-21 11:35:44    收藏:0  评论:0  赞:0  阅读:261
函数参数传递方式详解
1. 函数参数传递方式之一:值传递   (1)值传递的一个错误认识 先看如下的一个问题: void Exchg1(int x, int y) /* 定义中的x,y变量被称为Exchg1函数的形式参数 */ {   int tmp;   tmp = x;    x= y;    y= tmp;   printf("x = %d, y = %d.\n", x, y); } 问:...
分类:其他   时间:2014-07-21 11:24:44    收藏:0  评论:0  赞:0  阅读:366
C++ - 库函数优先级队列(priority_queue)输出最小值 代码
库函数优先级队列(priority_queue)输出最小值 代码本文地址: http://blog.csdn.net/caroline_wendy库函数优先级队列(priority_queue)的实现方式是堆(heap), 默认是输出最大值.输出最小值, 需要指定参数, priority_queue, greater >代码:/* * main.cpp * * Created on: 20...
分类:编程语言   时间:2014-07-21 11:46:44    收藏:0  评论:0  赞:0  阅读:684
php学习之道:坑爹的file_exists
介绍   我发现了一个问题,今天与大家分享。我把整个过程描述一下。   问题     公司有个框架是基于smarty写的,我负责php的升级,维护人员把新环境布上来之后,测试人员找我提出经常报错(错误:提示找不到文件的)。   我追踪了一下代码,原来是smarty的这个地方报的错误。      错误:这里报出文件不存在。   思考过程: ...
分类:Web开发   时间:2014-07-21 11:17:44    收藏:0  评论:0  赞:0  阅读:321
poj3056The Bavarian Beer Party (不交差配对,区间DP)
Problem Description The professors of the Bayerische Mathematiker Verein have their annual party in the local Biergarten. They are sitting at a round table each with his own pint of beer. As a ceremo...
分类:其他   时间:2014-07-21 11:31:44    收藏:0  评论:0  赞:0  阅读:310
最长公共递增子序列【模板】
虽然很多人说记模板提升空间有限,但是对于我这种菜鸟级别的人来说。能做的也只有记记模板了! 希望这个模板能帮到你,如果有更好的模板记得告诉我哦!!谢谢。 二维代码: #include #include #include using namespace std; int n,m,a[505],b[505],dp[505][505]; int LICS() { int max,i,j; mem...
分类:其他   时间:2014-07-21 11:42:44    收藏:0  评论:0  赞:0  阅读:184
Intent 用法全面总结
调用拨号程序      // 给移动客服10086拨打电话 Uri uri = Uri.parse("tel:10086"); Intent intent = new Intent(Intent.ACTION_DIAL, uri); startActivity(intent); 发送短信或彩信      // 给10086发送内容为“Hello”的短信 Uri uri = Uri.par...
分类:其他   时间:2014-07-21 11:34:44    收藏:0  评论:0  赞:0  阅读:434
POJ 2485 Highways 最小生成树
Highways Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 21545   Accepted: 9935 Description The island nation of Flatopia is perfectly flat. Unfortunately, F...
分类:其他   时间:2014-07-21 11:23:44    收藏:0  评论:0  赞:0  阅读:283
HDU 3397 Sequence operation (线段树,成段更新,区间合并)
http://acm.hdu.edu.cn/showproblem.php?pid=3397 Sequence operation Time Limit: 10000/5000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 5801    Accepted Subm...
分类:其他   时间:2014-07-21 11:45:44    收藏:0  评论:0  赞:0  阅读:479
经验总结20--C#模拟WEB请求
很多语言可以使用代码进行WEB请求,获取到需要的数据。 方便调用别人的接口,自己进行处理。 HttpWebRequest request = WebRequest.Create(url) as HttpWebRequest;                 request.Method = "GET";                 request.ContentType = "appl...
分类:Web开发   时间:2014-07-21 11:18:35    收藏:0  评论:0  赞:0  阅读:325
POJ 2635 The Embarrassed Cryptographer
The Embarrassed Cryptographer Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 11984 Accepted: 3196 Description The young and very promising cryptographer Odd Even has implemente...
分类:其他   时间:2014-07-21 11:43:35    收藏:0  评论:0  赞:0  阅读:271
树状数组_POJ树状数组初探
本文出自:http://blog.csdn.net/svitter...
分类:其他   时间:2014-07-21 11:14:35    收藏:0  评论:0  赞:0  阅读:172
1617条   上一页 1 ... 36 37 38 39 40 ... 81 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!