上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 33 下一页
摘要: 题目大意:在原串上,将字符串中‘ ’转化成%20后输出。 思路:计算出空格个数,从后往前处理 阅读全文
posted @ 2016-06-22 21:30 tcgoshawk 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 用常量字符串去赋值给指针和初始化数组的时候是不一样的。 阅读全文
posted @ 2016-06-20 21:50 tcgoshawk 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 要求描述:给你一个二维矩阵,每行从左到右递增,每列从上往下递增,给你一个val,让你判断值val是否在该矩阵中出现。 思路:从左下角,或者右上角去判断。如左下角,那么如果左下角的数字比val小,那么说明这一列已经不满足条件(因为从上往下递增),如果左下角的数字比val大,那么说明这一行不满足条件(因 阅读全文
posted @ 2016-06-20 21:35 tcgoshawk 阅读(180) 评论(0) 推荐(0) 编辑
摘要: Suspects Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Description As Sherlock Holmes was investigating a crime, 阅读全文
posted @ 2016-06-01 18:10 tcgoshawk 阅读(344) 评论(0) 推荐(0) 编辑
摘要: A. Message time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Dr. Moriarty is about to send 阅读全文
posted @ 2016-06-01 16:58 tcgoshawk 阅读(444) 评论(0) 推荐(0) 编辑
摘要: Bear and Forgotten Tree 3 time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Bear and Forgo 阅读全文
posted @ 2016-05-31 21:46 tcgoshawk 阅读(306) 评论(0) 推荐(0) 编辑
摘要: Recycling Bottles time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Recycling Bottles time 阅读全文
posted @ 2016-05-30 21:38 tcgoshawk 阅读(298) 评论(0) 推荐(0) 编辑
摘要: Regular Bridge time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output An undirected graph is ca 阅读全文
posted @ 2016-05-30 19:35 tcgoshawk 阅读(241) 评论(0) 推荐(0) 编辑
摘要: Divisibility by Eight time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Divisibility by Ei 阅读全文
posted @ 2016-05-30 18:44 tcgoshawk 阅读(523) 评论(0) 推荐(0) 编辑
摘要: Making Genome in Berland time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Making Genome in 阅读全文
posted @ 2016-05-29 18:55 tcgoshawk 阅读(446) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 33 下一页