- 博客(10)
- 收藏
- 关注
原创 NC4 判断链表中是否有环(遍历)
/*** Definition for singly-linked list.* class ListNode {* int val;* ListNode next;* ListNode(int x) {* val = x;* next = null;* }* }*/import java.util.*;public class Solution { public boolean hasCy...
2021-12-28 16:49:20 130
原创 HDU1128:Self Numbers(哈希)
Self NumbersTime Limit: 20000/10000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7485 Accepted Submission(s): 3296Problem DescriptionIn 1949 the
2016-09-13 15:44:27 215
原创 HDU1829:A Bug's Life(并查集)
Problem DescriptionBackground Professor Hopper is researching the sexual behavior of a rare species of bugs. He assumes that they feature two different genders and that they only interact with b
2016-08-19 15:57:32 251
原创 HDU1869:六度分离(Floyd)
六度分离Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8079 Accepted Submission(s): 3317Problem Description1967年,美国著名的社会学家斯坦利·米尔
2016-08-15 11:31:00 244
原创 HDU2094:产生冠军(拓扑排序)
产生冠军Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 14486 Accepted Submission(s): 6605Problem Description有一群人,打乒乓球比赛,两两捉对撕杀,每两个人之
2016-07-30 09:47:20 300
原创 HDU2647:Reward(拓扑排序)
RewardTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 7268 Accepted Submission(s): 2277Problem Description Dandelion’s uncle is a boss
2016-07-30 02:28:04 209
原创 HDU2952:Counting Sheep(DFS)
Counting SheepProblem DescriptionA while ago I had trouble sleeping. I used to lie awake, staring at the ceiling, for hours and hours. Then one day my grandmother suggested I tried counting
2016-07-14 16:01:57 221
原创 HDU2102:A计划(BFS)
HDU2012:A计划 可怜的公主在一次次被魔王掳走一次次被骑士们救回来之后,而今,不幸的她再一次面临生命的考验。魔王已经发出消息说将在T时刻吃掉公主,因为他听信谣言说吃公主的肉也能长生不老。年迈的国王正是心急如焚,告招天下勇士来拯救公主。不过公主早已习以为常,她深信智勇的骑士LJ肯定能将她救出。
2016-07-13 10:43:45 288
原创 HDU1518:Square(DFS)
Square Time Limit : 10000/5000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 80 Accepted Submission(s) : 33Font: Times New Roman | Verdana | Georgia Font Siz
2016-07-11 15:58:50 199
原创 HDU1548:A strange lift(BFS)
HDU1548:A strange lift(BFS)Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 49 Accepted Submission(s) : 22Font: Times New Roman | Verdana |
2016-07-11 15:41:07 239
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人