码迷,mamicode.com
首页 > 其他好文
Prime Distance(二次筛素数)
Description The branch of mathematics called number theory is about properties of numbers. One of the areas that has captured the interest of number theoreticians for thousands of years is the qu...
分类:其他好文   时间:2014-08-06 19:06:42    阅读次数:319
hdu 3001 状压DP
http://acm.hdu.edu.cn/showproblem.php?pid=3001 因为数组开的不够大,WA了1个多小时没查出来哪里错误。。。 学到:1、经过每个点k次 转化为k进制就可以了,其他类比TSP的状压 #include #include #include #include #include #include #include #include u...
分类:其他好文   时间:2014-08-06 19:06:14    阅读次数:277
New Hire Training Experience
Game Description: 1. In a closed door, there will be a circle, and 30 numbers in the circle. 2. Each team (about 10 people) need to take number out of the circle by ascend order. 3. Each team has...
分类:其他好文   时间:2014-08-06 19:06:02    阅读次数:359
玩转Bash脚本:变量基本概念及其初始化
与其他语言不同的是Bash属于无类型语言,如果强要说一种类型,可以认为都是字符串。本文介绍Bash变量基本概念以及初始化的三种方式。另外还有赋随机值的方法。...
分类:其他好文   时间:2014-08-06 19:05:52    阅读次数:224
OPPO通过AWS节约大量成本提供海外服务
手机行业变化较快, OPPO需要尽快将配合手机使用的服务在海外部署完成以便尽早推动后续工作。经过综合考虑,OPPO发现使用AWS云服务所需的部署时间比自建海外数据中心更少,成本也更低。并且现有技术人员能够比较平滑的过度到使用AWS的云服务上。再加上AWS提供了非常详细的开发文档和用于交流的开发社区,工作中遇到的问题都能得到解决,所以OPPO最终决定使用AWS的云服务进行海外市的拓展。...
分类:其他好文   时间:2014-08-06 19:05:32    阅读次数:249
查看scn headroom变化趋势的几种方法
查看scn headroom变化趋势的几种方法...
分类:其他好文   时间:2014-08-06 19:05:22    阅读次数:290
hdu 1054 Strategic Game (最小顶点覆盖+稀疏图)
Strategic Game Time Limit: 20000/10000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 4889    Accepted Submission(s): 2225 Problem Description Bob enjoy...
分类:其他好文   时间:2014-08-06 19:05:02    阅读次数:256
maven详解之生命周期与插件(二)
maven的插件解析原理和正确的插件配置方式。...
分类:其他好文   时间:2014-08-06 19:04:52    阅读次数:182
OpenERP-限制高级搜索字段范围(Restrict the fields can be seen in "advanced search")
因为高级搜索包含对象的所有字段,默认没有做限制。有时候不希望暴露太多字段给用户,所以可以使用如下方法,使高级搜索与普通搜索的字段范围相同。 By default, the advanced search function can search by all of the object's fields. But sometimes, we don't want the user to know...
分类:其他好文   时间:2014-08-06 19:04:11    阅读次数:215
基于ini配置文件实现多维数组数据的按行存储和读取
需求是为一个多维数组对象的数据按行存储到文件,需要键值对区分层级,对每个对象描述清晰。类似的格式如下: 上图中的数据对应的就是如下的数组(php 语言): $arr = array( '10003' => array( 'id' => 10003, ...
分类:其他好文   时间:2014-08-06 19:03:52    阅读次数:342
HDU1495 非常可乐 【BFS】
非常可乐 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4832    Accepted Submission(s): 1944 Problem Description 大家一定觉的运动以后喝可乐是一件很惬意的事...
分类:其他好文   时间:2014-08-06 19:03:22    阅读次数:258
POJ1159 Palindrome 【动态规划】
Palindrome Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 52571   Accepted: 18124 Description A palindrome is a symmetrical string, that is, a string read...
分类:其他好文   时间:2014-08-06 19:03:12    阅读次数:194
hdu 2074 叠筐 好有意思的画图题
中心花色与外筐花色字符从内层起交错相叠,多筐相叠时,最外筐的角总是被打磨掉。叠筐与叠筐之间应有一行间隔。 好有意思的画图题....
分类:其他好文   时间:2014-08-06 19:03:02    阅读次数:211
zoj 3471 状压DP
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=4257 难度远不及我之前发的... 但是我第一次的思路竟然错了,因为dp方程想设计成二维,但是弄错,也没发现原因,,, 改为一维:dp[s]:状态为s的时候,得到的最大能量,其中s第i位为1表示,i已经被撞毁 #include #include #include ...
分类:其他好文   时间:2014-08-06 19:02:42    阅读次数:250
HDU1213 How Many Tables 【并查集】
How Many Tables Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 13360    Accepted Submission(s): 6539 Problem Description Today is ...
分类:其他好文   时间:2014-08-06 19:02:32    阅读次数:242
空心三角形(杭电2091)
/*空心三角形  Problem Description 把一个字符三角形掏空,就能节省材料成本,减轻重量,但关键是为了追求另一种视觉效果。在设计的过程中,需要给出各种花纹的材料和大小尺寸的三角形样板,通过电脑临时做出来,以便看看效果。 Input 每行包含一个字符和一个整数n(0 Output 每个样板三角形之间应空上一行,三角形的中间为空。显然行末没有多余的空格。 Sample ...
分类:其他好文   时间:2014-08-06 19:02:22    阅读次数:246
POJ2255 Tree Recovery 【树的遍历】
Tree Recovery Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 11365   Accepted: 7128 Description Little Valentine liked playing with binary trees very much...
分类:其他好文   时间:2014-08-06 19:02:12    阅读次数:233
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!