摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1399题目大意:找到满足i*i*i+j*(j+1)*(j+2)/6形式且小于等于n的最大值。 1 #include 2 #include 3 4 using namespace std; 5 6 in... 阅读全文
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1711题目大意:在母链中找到子链的位置,输出开始的位置。 1 #include 2 #include 3 using namespace std; 4 int lens,lenc,next[10000... 阅读全文
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1686题目大意:寻找子链在母链中出现的次数。 1 #include 2 #include 3 #include 4 using namespace std; 5 int next[10010],su... 阅读全文