2016年7月3日

HDU5706 GirlCat

摘要: 问题链接:HDU5706 GirlCat。虽然是一个DFS问题,数据表示简单,用C语言编写程序。给二维字符数组一个边界,程序逻辑就简洁多了,也许可以达到空间换时间的效果,空间换可阅读性是做到了。C语言的二维数组是按行存放的,其每一行的首地址是可以获得的。有了边界之后,... 阅读全文

posted @ 2016-07-03 21:39 海岛Blog 阅读(214) 评论(0) 推荐(0) 编辑

HDU2022 海选女主角

摘要: 问题链接:HDU2022 海选女主角。入门训练题,用C语言编写程序。问题简述:参见上述链接。问题分析:不需要使用数组的,一边输入一边处理足以对付一切。程序说明:(略)。这只不过是一个一般套路而已。使用数组来做的,可以飘过。在不影响程序逻辑简洁的情况下,空间要能省则省。... 阅读全文

posted @ 2016-07-03 07:52 海岛Blog 阅读(187) 评论(0) 推荐(0) 编辑

687E: TOF

摘要: Codeforces Round #360 Editorial [+ Challenges!]E. TOFtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputo... 阅读全文

posted @ 2016-07-03 06:42 海岛Blog 阅读(282) 评论(0) 推荐(0) 编辑

687D: Dividing Kingdom II

摘要: Codeforces Round #360 Editorial [+ Challenges!]B. Lovely Palindromestime limit per test1 secondmemory limit per test256 megabytesinput... 阅读全文

posted @ 2016-07-03 06:38 海岛Blog 阅读(159) 评论(0) 推荐(0) 编辑

687D: Dividing Kingdom II

摘要: Codeforces Round #360 Editorial [+ Challenges!]B. Lovely Palindromestime limit per test1 secondmemory limit per test256 megabytesinput... 阅读全文

posted @ 2016-07-03 06:38 海岛Blog 阅读(137) 评论(0) 推荐(0) 编辑

687C: The values you can make

摘要: Codeforces Round #360 Editorial [+ Challenges!]C. The Values You Can Maketime limit per test2 secondsmemory limit per test256 megabyte... 阅读全文

posted @ 2016-07-03 06:23 海岛Blog 阅读(143) 评论(0) 推荐(0) 编辑

687C: The values you can make

摘要: Codeforces Round #360 Editorial [+ Challenges!]C. The Values You Can Maketime limit per test2 secondsmemory limit per test256 megabyte... 阅读全文

posted @ 2016-07-03 06:23 海岛Blog 阅读(131) 评论(0) 推荐(0) 编辑

导航