- 博客(9)
- 收藏
- 关注
原创 dijkstra算法 最短路径 hdu2544
模板引用 http://www.cnblogs.com/mycapple/archive/2012/08/21/2649274.html这个算法离散课张院长讲过 不过那个时候只是讲了算法的实现 并没有讲代码 不过算法的过程弄懂了 代码琢磨一下就弄懂了 就这样。算法显示看别人的A的代码的 然后自己琢磨 能够自己打出来了 然后自己打出来 能A了。 。。。 下面是代码加自己写的注释。。。 #in
2015-07-20 15:32:47
277
原创 STL 初步 Lower_bound( first,last,x)函数的作用
欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦:Markdown和扩展Markdown简洁的语法代码块高亮图片链接和图片上传LaTex数学公式UML序列图和流程图离线写博客导入导出Markdown文件丰富的快捷键快捷键加粗 Ctrl + B 斜体 Ctrl + I 引用 Ctrl
2015-03-29 00:51:42
385
原创 Digital Roots 思路简单 【水】
Digital RootsTime Limit: 1 Sec Memory Limit: 32 MBSubmit: 14 Solved: 6[Submit][Status][Web Board]DescriptionThe digital root of a positive integer is found by summing the digits of
2015-03-27 23:00:04
458
原创 思路很简单系列 不过带坑【水水水】
Rightmost DigitTime Limit: 1 Sec Memory Limit: 32 MBSubmit: 21 Solved: 5[Submit][Status][Web Board]DescriptionGiven a positive integer N, you should output the most right digit of
2015-03-27 22:57:11
292
原创 有趣的编码累加问题 Encoding 【水】
EncodingTime Limit: 1 Sec Memory Limit: 32 MBSubmit: 23 Solved: 8[Submit][Status][Web Board]DescriptionGiven a string containing only 'A' - 'Z', we could encode it using the follow
2015-03-27 22:52:56
360
原创 关于数字5的任性切割【切割的特效 duang~ 水】
排序Time Limit: 1 Sec Memory Limit: 32 MBSubmit: 47 Solved: 11[Submit][Status][Web Board]Description输入一行数字,如果我们把这行数字中的‘5’都看成空格,那么就得到一行用空格分割的若干非负整数(可能有些整数以‘0’开头,这些头部的‘0’应该被忽略掉,除非这个整数就
2015-03-27 22:47:51
523
原创 Balloon Comes!【水题中的水题】
Balloon Comes!Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 102 Solved: 44[Submit][Status][Web Board]DescriptionThe contest starts now! How excited it is to see balloons floating a
2015-03-27 22:43:36
419
转载 The Hardest Problem Ever【字符串处理 水题】
The Hardest Problem EverTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 74 Solved: 34[Submit][Status][Web Board]DescriptionJulius Caesar lived in a time of danger and intrigue. The h
2015-03-27 22:36:08
377
原创 字符的大写转小写【24K纯水】
字符的大写转小写Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 140 Solved: 48[Submit][Status][Web Board]Description字符串处理问题是程序设计中要求细心的一个环节,细心和良好的RP是你AC这道题目的关键^_^!题目的意思很简单,对于每个输入的字符串(
2015-03-27 22:29:59
901
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人