![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
杭电OJ
杭电OJ
细水长流者
讨厌我所讨厌的,喜欢我所喜欢的东西~
展开
-
HDOJ 1711 Number Sequence(KMP算法)
HDOJ 1711 Number Sequence—KMP算法题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1711题目描述:Given two sequences of numbers : a[1], a[2], … , a[N], and b[1], b[2], … , b[M] (1 <= M <= 10000, 1 <...原创 2020-04-26 21:31:24 · 317 阅读 · 0 评论 -
HDOJ 1875---畅通工程再续(最小生成树普利姆算法)
HDOJ 1875—畅通工程再续(最小生成树普利姆算法)题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1875题目描述:相信大家都听说一个“百岛湖”的地方吧,百岛湖的居民生活在不同的小岛中,当他们想去其他的小岛时都要通过划小船来实现。现在政府决定大力发展百岛湖,发展首先要解决的问题当然是交通问题,政府决定实现百岛湖的全畅通!经过考察小组RPRu...原创 2020-04-22 19:37:34 · 239 阅读 · 0 评论 -
HDOJ1233之还是畅通工程---最小生成树(普利姆)
HDOJ之还是畅通工程—最小生成树(普利姆)题目描述:某省调查乡村交通状况,得到的统计表中列出了任意两村庄间的距离。省政府“畅通工程”的目标是使全省任何两个村庄间都可以实现公路交通(但不一定有直接的公路相连,只要能间接通过公路可达即可),并要求铺设的公路总长度为最小。请计算最小的公路总长度。Input测试输入包含若干测试用例。每个测试用例的第1行给出村庄数目N ( < 100 );随...原创 2020-04-21 16:39:03 · 257 阅读 · 0 评论 -
杭电oj 2102 A计划
Problem Description可怜的公主在一次次被魔王掳走一次次被骑士们救回来之后,而今,不幸的她再一次面临生命的考验。魔王已经发出消息说将在T时刻吃掉公主,因为他听信谣言说吃公主的肉也能长生不老。年迈的国王正是心急如焚,告招天下勇士来拯救公主。不过公主早已习以为常,她深信智勇的骑士LJ肯定能将她救出。现据密探所报,公主被关在一个两层的迷宫里,迷宫的入口是S(0,0,0),公主的位置用...原创 2019-09-21 14:38:29 · 404 阅读 · 0 评论 -
HDOJ A + B Problem II
A + B Problem IIA + B Problem IITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 509429 Accepted Submission(s): 97805Problem DescriptionI...原创 2020-01-15 14:19:45 · 187 阅读 · 0 评论 -
杭电1028
Problem Description“Well, it seems the first problem is too easy. I will let you know how foolish you are later.” feng5166 says.“The second problem is, given an positive integer N, we define an equa...原创 2019-06-18 21:49:40 · 294 阅读 · 0 评论 -
杭电oj 5391 Zball in Tina Town
Zball in Tina TownTime Limit: 3000/1500 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 1931 Accepted Submission(s): 978Problem Description Tina Town is a frie原创 2016-11-05 09:56:01 · 413 阅读 · 0 评论 -
HDOJ 5944 Fxx and string
Fxx and stringTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others) Total Submission(s): 766 Accepted Submission(s): 336Problem Description Young theoretical compute原创 2016-11-03 20:55:04 · 274 阅读 · 0 评论 -
5821 杭电OJ Ball
BallTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 906 Accepted Submission(s): 532Problem Description ZZX has a sequence of boxes numbered原创 2016-08-30 11:18:18 · 433 阅读 · 0 评论 -
杭电OJ 5831 Rikka with Parenthesis II
Rikka with Parenthesis IITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 603 Accepted Submission(s): 344Problem DescriptionAs原创 2016-08-13 10:56:21 · 262 阅读 · 0 评论 -
杭电OJ 5826 physics
physicsTime Limit: 6000/3000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 413 Accepted Submission(s): 265Problem DescriptionThere are n balls on原创 2016-08-13 10:51:42 · 242 阅读 · 0 评论 -
杭电OJ 5821 Ball
Problem DescriptionZZX has a sequence of boxes numbered 1,2,...,n. Each box can contain at most one ball.You are given the initial configuration of the balls. For 1≤i≤n, if the i-th box原创 2016-08-13 10:41:49 · 307 阅读 · 0 评论 -
杭电oj 5813 Elegant Construction
Problem DescriptionBeing an ACMer requires knowledge in many fields, because problems in this contest may use physics, biology, and even musicology as background. And now in this problem, you are being原创 2016-08-11 10:38:42 · 263 阅读 · 0 评论 -
杭电OJ 5818 Joint Stacks
Problem DescriptionA stack is a data structure in which all insertions and deletions of entries are made at one end, called the "top" of the stack. The last entry which is inserted is the first one原创 2016-08-10 20:54:46 · 286 阅读 · 0 评论