码迷,mamicode.com
首页 >  
搜索关键字:ma    ( 3043个结果
ZOJ - 1008 Gnome Tetravex
DFS题,类似八皇后问题,题目有点长,看了老半天才看懂。特别是上下左右数字要注意。还要注意剪枝,另外空行不能多输,输多了不能AC(运行速度有点慢,能AC但1940ms,估计还有待优化) 1 #include 2 #include 3 const int maxn=25+5; 4 int num[ma...
分类:其他好文   时间:2014-07-18 09:24:14    阅读次数:213
[Android Memory] 使用 Eclipse Memory Analyzer 进行堆转储文件分析
转载地址:http://www.ibm.com/developerworks/cn/opensource/os-cn-ecl-ma/index.htmlEclipse Memory Analyzer(MAT)是著名的跨平台集成开发环境 Eclipse Galileo 版本的 33 个组成项目中之一,...
分类:移动开发   时间:2014-07-16 18:27:53    阅读次数:413
hdu--1081--最大子矩阵和
一般 做这题之前应该先去做下 hdu的1003----这是 一维上的 最大连续和矩阵么 就是二维了嘛~我一开始 走进了个错误的方向... 我去计算了第X行前Y个数的和...这是不对的我们这里也同样用到了 前缀和的思想 但应该去计算前X个行第Y个数的和这样 假如 有个matrix[j][y] - ma...
分类:其他好文   时间:2014-07-16 17:57:52    阅读次数:173
Validating Receipts Locally
Validating Receipts Locally Perform receipt validation immediately after your app is launched, before displaying any user interface or spawning any child processes. Implement this check in the ma...
分类:其他好文   时间:2014-07-16 11:48:20    阅读次数:267
python自动化管理mysql主从同步
mysql多实例1.my.cnf通过定义mysqldconfig类mysqld_vars={}从里面获得很多配置文件相关参数写入字典mysql.py2.initDB初始化数据库3.修改权限4.rc脚本启动5.check检查一下配置文件,配置文件与mysql变量同步6.值其实一样,不让显示7.Popen调用mysql-e命令SQLIOSeconds_Behind_Ma..
分类:数据库   时间:2014-07-15 10:55:19    阅读次数:398
Spoj 9887 Binomial coefficients 构造
题目链接:点击打开链接 #include #include #include #include #include using namespace std; const int MAX_N = 507; const long long INF = (long long)1e15; typedef long long ll; typedef pair pii; ll C[MAX_N][MA...
分类:其他好文   时间:2014-07-15 10:44:20    阅读次数:229
hdu 2023 求平均成绩
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2023题目大意:求每个学生的平均成绩和每门课的平均成绩,并输出各科成绩均大于等于平均成绩的学生数量。注意格式:每个测试实例后面跟一个空行。 1 #include 2 #include 3 int ma.....
分类:其他好文   时间:2014-07-15 00:44:23    阅读次数:311
DELL R720服务器安装Windows Server 2008 R2 操作系统图文详解
DELL R720服务器安装Windows Server 2008 R2 操作系统图文详解说明:此文章中部分图片为网络搜集,所以不一定为DELL R720服务器安装界面,但可保证界面内容接近DELL R720安装界面一、安装前准备物品DELL R720服务器及其相关硬件DELL Systems Ma...
分类:Windows程序   时间:2014-07-14 23:37:51    阅读次数:526
hdu 2485 Destroying the bus stations 迭代加深搜索
求最少去掉几个公交站使得从s到t的最短路径大于k。迭代加深搜索。#include #include #include using namespace std;#define maxn 60#define maxm 50000int n,m,K,cnt,up;int head[maxn],pre[ma...
分类:其他好文   时间:2014-07-14 09:29:57    阅读次数:221
LeetCode——Best Time to Buy and Sell Stock III
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may complete at most two transactions. Note: You ma...
分类:其他好文   时间:2014-07-13 13:55:14    阅读次数:305
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!