2015年7月9日

POJ 1045:Bode Plot

摘要: Bode PlotTime Limit:1000MSMemory Limit:10000KTotal Submissions:13392Accepted:8462DescriptionConsider the AC circuit below. We will assume that the cir... 阅读全文

posted @ 2015-07-09 10:10 光速小子 阅读(177) 评论(0) 推荐(0) 编辑

2015年7月8日

POJ 1004:Financial Management

摘要: Financial ManagementTime Limit:1000MSMemory Limit:10000KTotal Submissions:165062Accepted:61316DescriptionLarry graduated this year and finally has a j... 阅读全文

posted @ 2015-07-08 22:36 光速小子 阅读(135) 评论(0) 推荐(0) 编辑

POJ 1003:Hangover

摘要: HangoverTime Limit:1000MSMemory Limit:10000KTotal Submissions:109231Accepted:53249DescriptionHow far can you make a stack of cards overhang a table? I... 阅读全文

posted @ 2015-07-08 22:28 光速小子 阅读(142) 评论(0) 推荐(0) 编辑

int *const 与const int *问题

摘要: 自己一直就不太清楚int *const与const int*之间的差别,总是弄混,今天势必拿一个程序验证一下。一个指针是有两个属性的,一个是它指向的地方,一个是它指向地方上的内容。两者的差别也在此。const究竟修饰的是什么。代码:#include using namespace std;int m... 阅读全文

posted @ 2015-07-08 12:09 光速小子 阅读(402) 评论(0) 推荐(0) 编辑

POJ 1126:Simply Syntax

摘要: Simply SyntaxTime Limit:1000MSMemory Limit:10000KTotal Submissions:5264Accepted:2337DescriptionIn the land of Hedonia the official language is Hedonia... 阅读全文

posted @ 2015-07-08 10:00 光速小子 阅读(197) 评论(0) 推荐(0) 编辑

2015年7月5日

51nod 算法马拉松3 A:序列分解

摘要: 序列分解SystemMessage(命题人)基准时间限制:1秒 空间限制:131072KB 分值:40小刀和大刀是双胞胎兄弟。今天他们玩一个有意思的游戏。 大刀给小刀准备了一个长度为n的整数序列。小刀试着把这个序列分解成两个长度为n/2的子序列。这两个子序列必须满足以下两个条件:1.他们不能相互重叠... 阅读全文

posted @ 2015-07-05 20:37 光速小子 阅读(141) 评论(0) 推荐(0) 编辑

HDU 1576:A/B

摘要: A/BTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2811Accepted Submission(s): 2079Problem Descrip... 阅读全文

posted @ 2015-07-05 20:20 光速小子 阅读(139) 评论(0) 推荐(0) 编辑

POJ 1320:Street Numbers

摘要: Street NumbersTime Limit:1000MSMemory Limit:10000KTotal Submissions:2753Accepted:1530DescriptionA computer programmer lives in a street with houses nu... 阅读全文

posted @ 2015-07-05 19:40 光速小子 阅读(181) 评论(0) 推荐(0) 编辑

POJ 2593&&2479:Max Sequence

摘要: Max SequenceTime Limit:3000MSMemory Limit:65536KTotal Submissions:16329Accepted:6848DescriptionGive you N integers a1, a2 ... aN (|ai| #include #inclu... 阅读全文

posted @ 2015-07-05 14:47 光速小子 阅读(130) 评论(0) 推荐(0) 编辑

POJ 2115:C Looooops

摘要: C LooooopsTime Limit:1000MSMemory Limit:65536KTotal Submissions:19536Accepted:5204DescriptionA Compiler Mystery: We are given a C-language style for l... 阅读全文

posted @ 2015-07-05 13:39 光速小子 阅读(127) 评论(0) 推荐(0) 编辑

导航