Caisa is going to have a party and he needs to buy the ingredients for a big chocolate cake. For that he is going to the biggest supermarket in town.
Unfortunately, he has just s dollars for sugar. B...
分类:
其他好文 时间:
2014-08-30 21:47:30
阅读次数:
255
猜数字游戏是令系统随机产生一个100以内的正整数,用户输入一个数对其进行猜测,需要你编写程序自动对其与随机产生的被猜数进行比较,并提示大了(“Too big”),还是小了(“Too small”),相等表示猜到了。如果猜到,则结束程序。程序还要求统计猜的次数,如果1次猜出该数,提示“Bingo!”;...
分类:
其他好文 时间:
2014-08-30 19:00:29
阅读次数:
313
Go is one of the best tools out there today for heavy lifting and backend code. It’s my go to language when it’s time to bring out the big guns and I enjoy working with it immensely. That being ...
分类:
其他好文 时间:
2014-08-30 12:44:39
阅读次数:
223
#coding:utf-8
BUTTON = 'button' # 庄稼?????
L_BLIND = 'little_blind' # 小盲注
B_BLIND = 'big_blind' # 小盲注
SEAT = 'seat'
HOLD = 'hold' # 手牌
ASK = 'ask' # ?????
FIRST= 'first' # 第一次发三张牌...
分类:
其他好文 时间:
2014-08-30 02:25:08
阅读次数:
237
大意:有n个物品,告诉你每个物品的价值问能否分成价值a、b两份使{a > b && a + b == 总价值 && a - b尽量小}分析:多重背包代码: 1 #include 2 #include 3 #include 4 using namespace std; 5 6 const in...
分类:
其他好文 时间:
2014-08-29 23:52:18
阅读次数:
240
Our whole universe was in a hot dense state,Then nearly fourteen billion years ago expansion started. Wait...The Earth began to cool,The autotrophs be...
分类:
其他好文 时间:
2014-08-29 12:35:37
阅读次数:
220
Big Event in HDUCrawling in process...
Crawling failed
Time Limit:5000MS
Memory Limit:32768KB 64bit IO Format:%I64d & %I64u
Submit
Status
Description
Nowadays, we all know th...
分类:
其他好文 时间:
2014-08-28 16:58:30
阅读次数:
139
C - Big Event in HDU
Time Limit:5000MS Memory Limit:32768KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
Nowadays, we all know that Computer College is the biggest d...
分类:
其他好文 时间:
2014-08-28 09:44:29
阅读次数:
217
Problem Description
Last night, little erriyue had a horrible nightmare. He dreamed that he and his girl friend were trapped in a big maze separately. More terribly, there are two ghosts in the maz...
分类:
Web程序 时间:
2014-08-27 22:03:18
阅读次数:
255
题目地址:HDU 1171
还是水题。。普通的01背包。注意数组要开大点啊。。。。
代码如下:
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
int dp[260000], v...
分类:
其他好文 时间:
2014-08-27 22:02:29
阅读次数:
183