2013年8月3日

POJ 2392 Space Elevator

摘要: Space ElevatorTime Limit:1000MSMemory Limit:65536KTotal Submissions:7150Accepted:3352DescriptionThe cows are going to space! They plan to achieve orbit by building a sort of space elevator: a giant tower of blocks. They have K (1 #include #include #include using namespace std;typedef struct{ int ... 阅读全文

posted @ 2013-08-03 21:42 lzm风雨无阻 阅读(267) 评论(0) 推荐(0) 编辑

POJ 2385 Apple Catching

摘要: Apple CatchingTime Limit:1000MSMemory Limit:65536KTotal Submissions:6350Accepted:3077DescriptionIt is a little known fact that cows love apples. Farmer John has two apple trees (which are conveniently numbered 1 and 2) in his field, each full of apples. Bessie cannot reach the apples when they are o 阅读全文

posted @ 2013-08-03 14:57 lzm风雨无阻 阅读(687) 评论(0) 推荐(0) 编辑

POJ 2356 Find a multiple

摘要: Find a multipleTime Limit:1000MSMemory Limit:65536KTotal Submissions:4934Accepted:2139Special JudgeDescriptionThe input contains N natural (i.e. positive integer) numbers ( N #include using namespace std;int n;int num[10005];int result[10005];int visted[10005];bool DFS(int nCount, int sum){ if (n... 阅读全文

posted @ 2013-08-03 10:35 lzm风雨无阻 阅读(184) 评论(0) 推荐(0) 编辑

导航