码迷,mamicode.com
首页 > 其他好文
ExtFloodFill 可以填充不规则区域
ExtFloodFill functionTheExtFloodFillfunction fills an area of the display surface with the current brush.SyntaxC++BOOL ExtFloodFill( _In_HDC hdc, _In_...
分类:其他好文   时间:2014-10-23 23:54:08    阅读次数:254
hihoCoder 1037 数字三角形 最详细的解题报告
题目来源:hihoCoder 1037 数字三角形解题思路:请好好看看 提示一、提示二、提示三具体算法(java版,可以直接AC)import java.util.Scanner;public class Main { public static int[][] rewards; pub...
分类:其他好文   时间:2014-10-23 23:55:08    阅读次数:222
jdk环境变量配置
1.在系统变量里新建JAVA_HOME变量,变量值为:C:\Program Files\Java\jdk1.6.0_14(根据自己的安装路径填写)2.在系统变量里新建CLASSPATH变量,变量值为:.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar3.在Path...
分类:其他好文   时间:2014-10-23 23:53:36    阅读次数:366
tomcat脚本简要分析
tomcat的脚本在bin目录下,有:catalina、startup、shutdown、setenv、digest、version等。 其中catalina 脚本 用于启动和关闭tomcat 服务器 ,是tomcat中最关键的脚本。 startup 脚本 和shutdown 脚本等 都是使用...
分类:其他好文   时间:2014-10-23 22:51:52    阅读次数:261
Django 1.7 新数据迁移工具 (migrations) 的使用和如何从 South 升级转换
在1.6之前, Django只支持添加新的model到数据库, 而无法编辑或修改已经存在的model. 在当时, 这些Django缺失的功能可以通过South实现. 按照官方文档的说明,支持得最好的是postgresql数据库,其次是mysql,目前s...
分类:其他好文   时间:2014-10-23 22:52:20    阅读次数:209
EC应用之多平台接口远程调用
在传统的网络应用编写中都是通过接收消息处理然后应答,但在.net 3.0后提供了一个基于业务接口调用的网络交互体系WCF.基于WCF .NET程序可以通过接口调用的方式进行远程业务调用处理.由于WCF是MS提供...
分类:其他好文   时间:2014-10-23 22:52:24    阅读次数:390
HDU 5073 Galaxy(居然是暴力)
Problem Description Good news for us: to release the financial pressure, the government started selling galaxies and we can buy them from now on! The first one who bought a galaxy was Tianming Yun an...
分类:其他好文   时间:2014-10-23 22:51:27    阅读次数:228
Power Strings (poj 2406 KMP)
Language: Default Power Strings Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 33205   Accepted: 13804 Description Given two strings a and b we define a...
分类:其他好文   时间:2014-10-23 22:50:27    阅读次数:198
poj 2184 Cow Exhibition 01背包变形
点击打开链接链接 Cow Exhibition Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 9288   Accepted: 3551 Description "Fat and docile, big and dumb, they look so ...
分类:其他好文   时间:2014-10-23 22:50:23    阅读次数:189
POJ 2828 Buy Tickets(线段树)
Language: Default Buy Tickets Time Limit: 4000MS   Memory Limit: 65536K Total Submissions: 13847   Accepted: 6926 Description Railway tickets were difficult to buy ar...
分类:其他好文   时间:2014-10-23 22:49:24    阅读次数:299
LeetCode ZigZag Conversion
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) P A H N A P L S I I ...
分类:其他好文   时间:2014-10-23 22:50:37    阅读次数:150
HDU 4005 The war(双连通好题)
HDU 4005 The war 题目链接 题意:给一个连通的无向图,每条边有一个炸掉的代价,现在要建一条边(你不不知道的),然后你要求一个你需要的最少代价,保证不管他建在哪,你都能炸掉使得图不连通 思路:炸肯定要炸桥,所以先双连通缩点,得到一棵树,树边是要炸的,那么找一个最小值的边,从该边的两点出发,走的路径中,把两条包含最小值的路径,的两点连边,形成一个环,这个环就保证了最低...
分类:其他好文   时间:2014-10-23 22:49:48    阅读次数:238
判断机器是大端小端
#include #include #if 0 bool isBigEndian(void) {     int var = 0x12345678;     char *p = (char *)&var;     return *p == 0x12; } #endif #if 0 bool isLittleEndian(void) {     int var ...
分类:其他好文   时间:2014-10-23 22:49:16    阅读次数:167
HDoj-1058-Humble Numbers
Humble Numbers Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 17723    Accepted Submission(s): 7706 Problem Description A number whose...
分类:其他好文   时间:2014-10-23 22:48:59    阅读次数:566
UVA 147 Dollars (DP)
New Zealand currency consists of $100, $50, $20, $10, and $5 notes and $2, $1, 50c, 20c, 10c and 5c coins. Write a program that will determine, for any given amount, in how many ways that amount may b...
分类:其他好文   时间:2014-10-23 22:49:46    阅读次数:247
SDUT 1232-猴子分桃(逆推)
猴子分桃 Time Limit: 1000ms   Memory limit: 65536K  有疑问?点这里^_^ 题目描述 老猴子辛苦了一辈子,给那群小猴子们留下了一笔巨大的财富——一大堆桃子。老猴子决定把这些桃子分给小猴子。 第一个猴子来了,它把桃子分成五堆,五堆一样多,但还多出一个。它把剩下的一个留给老猴子,自己拿走其中的一堆。 第二个...
分类:其他好文   时间:2014-10-23 22:49:47    阅读次数:224
简单表视图
从现在开始进入表视图UITableView,同属UISrollView子类。 包括两个协议UITableViewDelegate, UITableViewDataSource 有一些概念 - 表头视图 header view - 表脚视图 footer view - 单元格 cell - 节 section - 节头 section header - 节脚 section foot...
分类:其他好文   时间:2014-10-23 22:48:23    阅读次数:217
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!