码迷,mamicode.com
首页 >  
搜索关键字:bob    ( 1241个结果
The Single Responsibility Principle
The Single Responsibility PrincipleRobert C. Martin (Uncle Bob)ONE OF THE MOST FOUNDATIONAL PRINCIPLES OF GOOD DESIGN IS: Gather together those things that change for the same reason, and separate tho...
分类:其他好文   时间:2015-06-11 09:26:36    阅读次数:115
oj 小黑熊偷玉米
Description 小黑熊的邻居bob 家里种了好多玉米,玉米是排成一条线 ,贪吃的小黑熊想去偷一个玉米,但是bob家的玉米实在是太多了,所以小黑熊决定选择一个区间[l,r]去偷,因为小黑熊的幸运数是k,所以它决定就去偷在它选择的区间里第k大的一个玉米。 现在请你帮助小黑熊计算一下它将偷的玉米有多大吧 Input 第一行包含一个数n(n 第二行包含n个正整数(每个数不超过...
分类:其他好文   时间:2015-06-10 14:17:04    阅读次数:117
LightOJ1020(博弈)
Alice and Bob are playing a game with marbles; you may have played this game in childhood. The game is playing by alternating turns. In each turn a player can take exactly one or two marbles.Both Alice...
分类:其他好文   时间:2015-06-09 22:05:33    阅读次数:166
hihoCoder#: 博弈游戏·Nim游戏
【题目链接】:click here~~ 【题目大意】: #1163 : 博弈游戏·Nim游戏 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 今天我们要认识一对新朋友,Alice与Bob。 Alice与Bob总是在进行各种各样的比试,今天他们在玩一个取石子的游戏。 在这个游戏中,Alice和Bob放置了...
分类:其他好文   时间:2015-06-09 08:31:05    阅读次数:178
js 中的for...in循环
in:其左边是一个字符串或可以转换成字符串,右边是一个对象或数组例:var person={firstname:"Bob", lastname:"Kin"}; for(x in person) { text = text + person[x]; } document.write(tex...
分类:Web程序   时间:2015-06-08 14:39:51    阅读次数:117
2013湘潭赛
XTU1168 Alice and Bob 因为数据只有10000范围,直接递推就可以了 #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define out(x) cout<<#x<...
分类:其他好文   时间:2015-06-04 09:55:02    阅读次数:155
hdu 4597 Play Game 区间dp
Play GameTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4597DescriptionAlice and Bob are playing a game. There ar...
分类:其他好文   时间:2015-06-02 21:47:58    阅读次数:146
CSU1655: 文本计算器
1655: 文本计算器 Time Limit: 1 Sec  Memory Limit: 128 MB Submit: 58  Solved: 16 [Submit][Status][Web Board] Description Bob讨厌复杂的数学运算. 看到练习册上的算术题,Bob很是头痛. 为了完成作业,Bob想要你帮忙写一个文本版的四则运算计算器. 这个计算器的功能需...
分类:其他好文   时间:2015-05-31 20:14:38    阅读次数:134
The Professional Programmer
The Professional ProgrammerRobert C. Martin (Uncle Bob)WHAT iS A PROFESSiONAL PROGRAMMER? The single most important trait of a professional programmer is personal responsibility. Professional programm...
分类:其他好文   时间:2015-05-29 12:10:03    阅读次数:195
json和jsonp
JSON是一种基于文本的数据交换方式JSONP是JSON的一种“使用模式”,可用于解决主流浏览器的跨域数据访问的问题。JSON实例:// 描述一个人var person = { "Name": "Bob", "Age": 32, "Company": "IBM", "Engi...
分类:Web程序   时间:2015-05-27 19:00:26    阅读次数:119
1241条   上一页 1 ... 91 92 93 94 95 ... 125 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!