随笔分类 - 字符串-杂题
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5311Hidden StringDescriptionToday is the 1st anniversary of BestCoder. Soda, the contest manager, gets a...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5427A problem of sortingDescriptionThere are many people's name and birth in a list.Your task is to prin...
阅读全文
摘要:题目连接http://poj.org/problem?id=3080Blue JeansDescriptionThe Genographic Project is a research partnership between IBM and The National Geographic Socie...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4150Powerful IncantationDescriptionSome dangerous Witches invaded the garden city! As a righteous magici...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1381Crazy SearchDescriptionMany people like to solve hard puzzles some of which may lead them to madness...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1228A + BDescription读入两个小于100的正整数A和B,计算A+B.需要注意的是:A和B的每一位数字由对应的英文单词给出.Input测试输入包含若干测试用例,每个测试用例占一行,格式为"A ...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5264pog loves szh IDescriptionPog has lots of strings. And he always mixes two equal-length strings. For...
阅读全文
摘要:原题链接:http://ac.jobdu.com/problem.php?pid=1528小白书上的做法,不过这个还要简单些。。。 1 #include 2 #include 3 #include 4 #include 5 #include 6 using std::max; 7 const int...
阅读全文
摘要:原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=1113字符串简单题:stl水过如下: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #inc...
阅读全文
摘要:原题链接:http://ac.jobdu.com/problem.php?pid=1525字符串简单题,注意开有结尾有空格的情况否则pe or wa 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #includ...
阅读全文
摘要:原题链接:http://ac.jobdu.com/problem.php?pid=1530字符串简单题,看似O(n^2)的复杂度10000的数据量会tle,其实最长不重复子串不超过26个嘛。。。如下: 1 #include 2 #include 3 #include 4 #include 5 #in...
阅读全文

浙公网安备 33010602011771号