- 博客(12)
- 收藏
- 关注
原创 解题报告:POJ 2965 The Pilots Brothers' refrigerator 两种做法
The Pilots Brothers' refrigeratorTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 22084 Accepted: 8533 Special JudgeDescriptionThe game “The Pilots B
2016-01-31 14:09:04 509
原创 解题报告 :POJ1061 青蛙的约会 数论/扩展欧几里德模板题
青蛙的约会Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 101361 Accepted: 19545Description两只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见一面。它们很高兴地发现它们住在同一条纬度线上,于是它们约定各自朝西跳,直到碰面为
2016-01-30 18:56:49 578
原创 解题报告:POJ 1753 Flip Game 简单深搜dfs
The Pilots Brothers' refrigeratorTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 22063 Accepted: 8525 Special JudgeDescriptionThe game “The Pilots B
2016-01-30 16:01:23 371
原创 解题报告:POJ 1837 Balance 01背包变形
DescriptionGigel has a strange "balance" and he wants to poise it. Actually, the device is different from any other ordinary balance.It orders two arms of negligible weight and each arm's leng
2016-01-30 13:07:03 447
原创 解题报告:Radar Installation 一道贪心,不算难
DescriptionAssume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a point locating in the sea side. And any radar installation, l
2016-01-25 17:18:07 612
原创 解题报告:Spell checker 模拟/string
DescriptionYou, as a member of a development team for a new spell checking program, are to write a module that will check the correctness of given words using a known dictionary of all correct wor
2016-01-24 20:24:55 399
原创 离散概率初步 一、全概率公式
前天看了下离散初步,打算写下了,这是第一部分,之后的不确定什么时候会上线。。。一、全概率公式:P(A)=P(A|B1)*P(B1)+P(A|B2)*P(B2)*……P(A|Bn)*P(Bn) P(B1)+P(B2)+……P(Bn)=1注:P(A|B1)表示在B1的条件下A发生的概率。
2016-01-21 21:37:55 2868
原创 解题报告:codeforces #339(Div.2)B.Gena's Code
B. Gena's Codetime limit pertest0.5 secondsmemory limit pertest256 megabytesinputstandard inputoutputstandard outputIt's the year4527 and the tanks game that we all know and love sti
2016-01-15 18:25:17 862
原创 解题报告:POJ_2923 Relocation 状态压缩+01背包
DescriptionEmma and Eric are moving to their new house they bought after returning from their honeymoon. Fortunately, they have a few friends helping them relocate. To move the furniture, they o
2016-01-14 11:44:33 489
原创 解题报告:HDU_1709 The Balance
DescriptionNow you are asked to measure a dose of medicine with a balance and a number of weights. Certainly it is not always achievable. So you should find out the qualities which cannot be measure
2016-01-02 23:45:56 284
原创 解题报告:POJ_1338 Ugly Numbers
DescriptionUgly numbers are numbers whose only prime factors are 2, 3 or 5. The sequence1, 2, 3, 4, 5, 6, 8, 9, 10, 12, ... shows the first 10 ugly numbers. By convention, 1 is included. G
2016-01-02 23:23:02 371
原创 解题报告:POJ_1833 排序
Description题目描述: 大家知道,给出正整数n,则1到n这n个数可以构成n!种排列,把这些排列按照从小到大的顺序(字典顺序)列出,如n=3时,列出1 2 3,1 3 2,2 1 3,2 3 1,3 1 2,3 2 1六个排列。任务描述: 给出某个排列,求出这个排列的下k个排列,如果遇到最后一个排列,则下1排列为第1个排列,即排列1 2 3…n。 比如:n
2016-01-02 23:14:33 1450
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人