上一页 1 ··· 3 4 5 6 7 8 下一页

2017年8月11日

HDU 2050 折线分割平面

摘要: 我们看到过很多直线分割平面的题目,今天的这个题目稍微有些变化,我们要求的是n条折线分割平面的最大数目。比如,一条折线可以将平面分成两部分,两条折线最多可以将平面分成7部分,具体如下所示。 Input输入数据的第一行是一个整数C,表示测试实例的个数,然后是C 行数据,每行包含一个整数n(0<n<=10 阅读全文

posted @ 2017-08-11 15:07 FTA_Macro 阅读(122) 评论(0) 推荐(0) 编辑

2017年8月2日

HDU 1896 Stones [priority queue]

摘要: Because of the wrong status of the bicycle, Sempr begin to walk east to west every morning and walk back every evening. Walking may cause a little tir 阅读全文

posted @ 2017-08-02 23:57 FTA_Macro 阅读(133) 评论(0) 推荐(0) 编辑

CodeForces 825B Five-In-a-Row

摘要: Alice and Bob play 5-in-a-row game. They have a playing field of size 10 × 10. In turns they put either crosses or noughts, one at a time. Alice puts 阅读全文

posted @ 2017-08-02 08:54 FTA_Macro 阅读(419) 评论(0) 推荐(0) 编辑

2017年8月1日

CodeForces 831A Unimodal Array

摘要: Array of integers is unimodal, if: it is strictly increasing in the beginning; after that it is constant; after that it is strictly decreasing. The fi 阅读全文

posted @ 2017-08-01 22:20 FTA_Macro 阅读(408) 评论(0) 推荐(0) 编辑

CSU 1726 你经历过绝望吗?两次! [BFS]

摘要: Description 4月16日,日本熊本地区强震后,受灾严重的阿苏市一养猪场倒塌,幸运的是,猪圈里很多头猪依然坚强存活。当地15名消防员耗时一天解救围困的“猪坚强”。不过与在废墟中靠吃木炭饮雨水存活36天的中国汶川“猪坚强”相比,熊本的猪可没那么幸运,因为它们最终还是没能逃过被送往屠宰场的命运。 阅读全文

posted @ 2017-08-01 21:07 FTA_Macro 阅读(118) 评论(0) 推荐(0) 编辑

2017年7月31日

POJ 1915 Knight Moves [BFS]

摘要: Knight Moves Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 26844 Accepted: 12663 Description Background Mr Somurolov, fabulous chess-game 阅读全文

posted @ 2017-07-31 23:39 FTA_Macro 阅读(137) 评论(0) 推荐(0) 编辑

POJ 1579 Function Run Fun

摘要: Function Run Fun Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 19578 Accepted: 9887 Description We all love recursion! Don't we? Consider 阅读全文

posted @ 2017-07-31 22:36 FTA_Macro 阅读(218) 评论(0) 推荐(0) 编辑

HDU 2199 Can you solve this equation?

摘要: Can you solve this equation? Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description Now,given the equati 阅读全文

posted @ 2017-07-31 17:57 FTA_Macro 阅读(101) 评论(0) 推荐(0) 编辑

POJ 2785 4 Values whose Sum is 0

摘要: 4 Values whose Sum is 0 Time Limit: 15000MS Memory Limit: 228000K Total Submissions: 22691 Accepted: 6869 Case Time Limit: 5000MS Description The SUM 阅读全文

posted @ 2017-07-31 00:02 FTA_Macro 阅读(119) 评论(0) 推荐(0) 编辑

2017年7月30日

CSU 1826 Languages [map]

摘要: Description The Enterprise has encountered a planet that at one point had been inhabited. The only remnant from the prior civilization is a set of tex 阅读全文

posted @ 2017-07-30 19:22 FTA_Macro 阅读(367) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 下一页

导航