- 博客(24)
- 资源 (20)
- 问答 (14)
- 收藏
- 关注
原创 2016寒假个人赛(1)C(背包)
C - CTime Limit:3000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionGiven a set of n items, each with a weight w[i] and a value v[i], determine
2016-01-29 17:48:07 302
原创 2016寒假个人赛(1)J(模拟)
J - JTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionZB loves watching RunningMan! There's a game in RunningMan called 100 vs 10
2016-01-29 17:41:06 669
原创 2016寒假个人赛(1)A(贪心)
A - ATime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionWhile HIT ACM Group finished their contest in Shanghai and is heading back Ha
2016-01-29 17:34:40 339
原创 2016寒假个人赛(1)B(数学)
B - BTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionTwo different circles can have at most four common tangents.The picture b
2016-01-29 17:30:47 366
原创 BestCoder Round #69 (div.2)-Baby Ming and phone number(模拟)
Baby Ming and phone number Accepts: 111 Submissions: 878 Time Limit: 3000/1500 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)问题描述铭宝宝收集了很多手机号码,没错,他想卖手机号码赚钱。他觉得
2016-01-24 16:23:13 379
原创 BestCoder Round #69-Baby Ming and Weight lifting(暴力)
Baby Ming and Weight lifting Accepts: 335 Submissions: 1474 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)问题描述铭宝宝喜欢举重运动,他有一个杠铃杆(重量忽略),和
2016-01-24 16:18:21 431
原创 Codeforces Round #340 (Div. 2)-B. Chocolate(组合数学的乘法计数)
B. Chocolatetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBob loves everything sweet. His favorite chocol
2016-01-24 13:40:06 660
原创 Codeforces Round #340 (Div. 2)-A. Elephant(贪心)
A. Elephanttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAn elephant decided to visit his friend. It turn
2016-01-24 13:35:34 338
原创 Educational Codeforces Round 6-C. Pearls in a Row(贪心)
C. Pearls in a Rowtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n pearls in a row. Let's enume
2016-01-22 01:16:10 336
原创 Educational Codeforces Round 6-B. Grandfather Dovlet’s calculator(简单模拟)
B. Grandfather Dovlet’s calculatortime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOnce Max found an electro
2016-01-22 01:12:41 501
原创 Educational Codeforces Round 6-A. Professor GukiZ's Robot(简单几何)
A. Professor GukiZ's Robottime limit per test0.5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputProfessor GukiZ makes a new ro
2016-01-22 01:09:43 356
原创 codeforces546-Soldier and Badges(模拟)
Soldier and BadgesTime Limit:3000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 546BAppoint description: System Crawler (2016-01-14)
2016-01-19 23:33:58 425
转载 数学和编程
转载自:http://kb.cnblogs.com/page/524548/ 好些人来信问我,要成为一个好的程序员,数学基础要达到什么样的程度?十八年前,当我成为大学计算机系新生的时候,也为同样的问题所困扰。面对学数学,物理等学科的同学,我感到自卑。经常有人说那些专业的知识更加精华一些,难度更高一些,那些专业的人毕业之后如果做编程工作,水平其实
2016-01-19 21:40:17 511
原创 Codeforces Round #339 (Div. 2)-B. Gena's Code(字符串模拟)
B. Gena's Codetime limit per test0.5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIt's the year 4527 and the tanks game that
2016-01-15 12:05:05 426
原创 Codeforces Round #339 (Div. 2)-A. Link/Cut Tree(幂的应用)
A. Link/Cut Treetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputProgrammer Rostislav got seriously interes
2016-01-15 11:22:41 497
原创 Educational Codeforces Round 5-C. The Labyrinth(简单dfs)
C. The Labyrinthtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a rectangular field of n × m cells. Eac
2016-01-12 12:07:18 694
原创 Educational Codeforces Round 5-B. Dinner with Emma(贪心)
B. Dinner with Emmatime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputJack decides to invite Emma out for a dinner. Jack
2016-01-12 09:51:41 508
原创 Educational Codeforces Round 5-A. Comparing Two Long Integers(模拟)
A. Comparing Two Long Integerstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given two very long integers a,
2016-01-12 09:46:06 458
转载 堆与堆排序
转载自:http://www.cnblogs.com/AndyJee/p/4612821.html(算法)堆与堆排序主要内容:1、什么是堆?2、如何建堆3、堆排序4、参考代码 一、什么是堆?“堆”是个很有趣的数据结构,是个完全二叉树。“堆”的特性:每个节点的键值一定总是大于(或小于)它的父节点(大于:称为“最大堆”,小于:称为“最小堆”),或者说
2016-01-09 17:35:28 403
原创 Codeforces Round #338 (Div. 2)B. Longtail Hedgehog(贪心+dp)
B. Longtail Hedgehogtime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThis Christmas Santa gave Masha a magic picture
2016-01-09 10:16:50 415
原创 Codeforces Round #338 (Div. 2)Bulbs(简单模拟)
A. Bulbstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya wants to turn on Christmas lights consisting of m bulbs
2016-01-09 10:09:05 500
转载 数字雨
#include #include #include #define FONTWIDTH 0x10#define FONTHEIGHT 0x14#define SCREENWIDTH ScreenX / FONTWIDTH#define SCREENHEIGHT ScreenY / FONTHEIGHT#define MAXLENGTH 0x20LRESULT CALLBACK
2016-01-06 09:51:38 1269
转载 SDK变量命名习惯小结
转载自:http://blog.csdn.net/crazw/article/details/8128793大写的标示符:前缀 英语 类型CS class style 类风格选项CW
2016-01-06 09:43:35 603
原创 BestCoder Round #68 (div.2)-tree(并查集)
tree Accepts: 143 Submissions: 807 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)问题描述有一个树(nn个点, n-1n−1条边的联通图),点标号从11~nn,树的边权是00或11.求离每个点最
2016-01-04 13:42:39 363
下面的Pascal代码能帮我翻译为c++吗??
2015-06-06
如何使用类指针数组实现以下的代码??
2015-06-05
下面的代码数组不是越界了吗??为什么还可以运行而且不报错??
2015-05-14
int createBiTree( BiTree &r)这里是什么意思???
2015-05-14
下面的代码dfs剪枝的if语句是什么意思????
2015-05-03
如何用构造函数来初始化????
2015-04-23
如何设计bool operator才能使set在结构体中用?
2015-03-15
如何用深度搜索出需要的那条路?c++
2015-02-01
struct结构体的是什么情况?c++
2015-01-29
c++,如何优化程序才不超时?(在线等)
2015-01-19
聪明的员工(c或c++)
2015-01-16
oj 题聪明的员工怎么做?
2015-01-16
一个道c++的题(用c++做,要详细代码)
2014-12-28
如何建立c++的简单链表?
2014-12-20
TA创建的收藏夹 TA关注的收藏夹
TA关注的人