http://acm.hdu.edu.cn/showproblem.php?pid=4123
Problem Description
Bob wants to hold a race to encourage people to do sports. He has got trouble in choosing the route. There are N houses and N...
分类:
其他好文 时间:
2015-07-17 22:43:59
阅读次数:
209
Problem Description
Alice and Bob are playing a game on an undirected graph with n (n is even) nodes and m edges. Every node i has its own weight Wv, and every edge e has its own weight We.
They...
分类:
其他好文 时间:
2015-07-17 19:00:04
阅读次数:
111
前言
Bob大叔提出并发扬了S.O.L.I.D五大原则,用来更好地进行面向对象编程,五大原则分别是:
The Single Responsibility Principle(单一职责SRP)The Open/Closed Principle(开闭原则OCP)The Liskov Substitution Principle(里氏替换原则LSP)The Interface Segrega...
分类:
编程语言 时间:
2015-07-17 14:05:31
阅读次数:
148
1021: [SHOI2008]Debt 循环的债务Time Limit:1 SecMemory Limit:162 MBSubmit:694Solved:356[Submit][Status][Discuss]DescriptionAlice、Bob和Cynthia总是为他们之间混乱的债务而烦恼,...
分类:
其他好文 时间:
2015-07-17 13:57:36
阅读次数:
113
题目传送门 1 /* 2 题意:bob按照指定顺序行走,他的狗可以在他到达下一个点之前到一个景点并及时返回,问狗最多能走多少个景点 3 匈牙利算法:按照狗能否顺利到一个景点分为两个集合,套个模板 4 */ 5 #include 6 #include 7 #inclu...
分类:
编程语言 时间:
2015-07-16 21:58:05
阅读次数:
148
在JS中经常会用到DOM,document object modle,即文档对象模型。其实就是在我们打开一个网页之后会自动建立的一个模型。首先我们先实例一个网页: bob's love bob's love list movie music food 那么像上面的这个...
分类:
Web程序 时间:
2015-07-16 07:03:58
阅读次数:
154
DescriptionAlice and Bob decide to play a new stone game.At the beginning of the game they pick n(1#include#includeusing namespace std;int n,a[11];int...
分类:
其他好文 时间:
2015-07-15 22:10:37
阅读次数:
131
学习廖雪峰老师的Python教程,在循环的课后习题中发现了一个问题。name = ['micheal','bob','jack']for name in name: print(name)print(name)print(name[0])上面的代码运行的结果for这一条语句里面出现两个name,.....
分类:
编程语言 时间:
2015-07-15 13:02:42
阅读次数:
116
Problem Description
Alice and Bob are playing a kind of special game on an N*M board (N rows, M columns). At the beginning, there are N*M coins in this board with one in each grid and every coin ma...
分类:
其他好文 时间:
2015-07-14 13:37:50
阅读次数:
135
这本Game Programming Patterns游戏编程模式是由Bob Nystrom(一位在EA待过7年,有着20年游戏开发经历的工程师编写)。
本书将告诉你,什么模式能够帮你理清和优化你的游戏,如何根据你的需求灵活的组织你所需要的设计模式。...
分类:
其他好文 时间:
2015-07-13 22:25:46
阅读次数:
209