- 博客(26)
- 收藏
- 关注
原创 HDU2081 手机短号【水题】
手机短号Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 36652 Accepted Submission(s): 22281Problem Description大家都知道,手机号是一个11位长的数字串,同时,作为学生,还可以申请加...
2018-06-30 22:49:39 2075
原创 HDU1276 士兵队列训练问题【模拟+array+vector+list】
士兵队列训练问题Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11849 Accepted Submission(s): 5194Problem Description某部队进行新兵队列训练,将新兵从一开始按顺序依次编号,并排成一行...
2018-06-30 20:44:24 1197 1
原创 HDU1172 猜数字【暴力+进制】
猜数字Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7025 Accepted Submission(s): 3829Problem Description猜数字游戏是gameboy最喜欢的游戏之一。游戏的规则是这样的:计算机随...
2018-06-30 11:01:27 798
原创 HDU3371 Connect the Cities【Kruskal算法+并查集】
Connect the CitiesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 24232 Accepted Submission(s): 5527Problem DescriptionIn 2100, since the sea...
2018-06-29 14:46:46 403
原创 POJ1251 ZOJ1406 HDU1301 UVALive2539 Jungle Roads【Kruskal算法+并查集】
Jungle RoadsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 30648 Accepted: 14347DescriptionThe Head Elder of the tropical island of Lagrishan has a problem. A burst of foreign aid money was...
2018-06-28 15:29:34 465
原创 POJ1317 UVA641 UVALive5327 HDU1129 ZOJ1006 Do the Untwist【密码】
Do the UntwistTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 3523 Accepted: 2143DescriptionCryptography deals with methods of secret communication that transform a message (the plaintext) i...
2018-06-28 10:31:35 487
原创 POJ2349 ZOJ1914 UVA10369 Arctic Network【Kruskal算法+并查集】
Arctic NetworkTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 25651 Accepted: 7884DescriptionThe Department of National Defence (DND) wishes to connect several northern outposts by a wireles...
2018-06-26 10:06:29 365
原创 UVA908 Re-connecting Computer Sites【Kruskal算法+并查集】
Consider the problem of selecting a set T of high-speed lines for connecting N computer sites, from a universe of M high-speed lines each connecting a pair of computer sites. Each high-speed line has ...
2018-06-24 22:57:30 431
原创 POJ2485 Highways【Kruskal算法+并查集】
HighwaysTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 35689 Accepted: 15997DescriptionThe island nation of Flatopia is perfectly flat. Unfortunately, Flatopia has no public highways. So th...
2018-06-24 22:15:29 444
原创 POJ1789 ZOJ2158 Truck History【Kruskal算法+并查集】
Truck HistoryTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 32258 Accepted: 12562DescriptionAdvanced Cargo Movement, Ltd. uses trucks of different types. Some trucks are used for vegetable ...
2018-06-24 18:15:44 373 1
原创 POJ1258 Agri-Net【Kruskal算法+并查集】
Agri-NetTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 66726 Accepted: 27640DescriptionFarmer John has been elected mayor of his town! One of his campaign promises was to bring internet con...
2018-06-24 17:27:04 431
原创 UVA486 English-Number Translator【递归+映射】
In this problem, you will be given one or more integers in English. Your task is to translate these numbers into their integer representation. The numbers can range from negative 999,999,999 to positi...
2018-06-24 11:27:06 959
原创 POJ2421 HDU1102 Constructing Roads【Kruskal算法+并查集】
Constructing RoadsTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 27045 Accepted: 11893DescriptionThere are N villages, which are numbered from 1 to N, and you should build some roads such t...
2018-06-24 07:49:24 347
原创 POJ3259 HYSBZ1715(BZOJ1715) Wormholes【Bellman ford算法】
WormholesTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 60687 Accepted: 22655DescriptionWhile exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole ...
2018-06-23 12:25:22 558
原创 UVA10034 Freckles【Kruskal算法+并查集】
In an episode of the Dick Van Dyke show, little Richie connects the freckles on his Dad’s back to form a picture of the Liberty Bell. Alas, one of the freckles turns out to be a scar, so his Ripley’s ...
2018-06-22 23:22:34 420
原创 POJ2560 ZOJ1872 Freckles【Kruskal算法+并查集】
FrecklesTime Limit:1000MSMemory Limit:65536KTotal Submissions:8998Accepted:4271DescriptionIn an episode of the Dick Van Dyke show, little Richie connects the freckles on his Dad's back to form a...
2018-06-22 23:07:19 444
原创 POJ1861 ZOJ1542 Network【Kruskal算法+并查集】
NetworkTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 17853 Accepted: 7206 Special JudgeDescriptionAndrew is working as system administrator and is planning to establish a new network in hi...
2018-06-22 21:52:46 397
原创 HDU1339 ZOJ1382 A Simple Task【水题+暴力】
A Simple TaskTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5833 Accepted Submission(s): 3181Problem DescriptionGiven a positive integer n a...
2018-06-21 08:10:20 513
原创 POJ1200 Crazy Search【哈希函数】
Crazy SearchTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 31418 Accepted: 8679DescriptionMany people like to solve hard puzzles some of which may lead them to madness. One such puzzle coul...
2018-06-21 04:47:25 453
原创 ZOJ1243 URLs【文本处理】
URLsTime Limit:2 Seconds Memory Limit:65536 KBIn the early nineties, the World Wide Web (WWW) was invented. Nowadays, most people think that the WWW simply consists of all the pretty (or...
2018-06-18 09:05:05 423
原创 HDU1626 ZOJ1164 UVA128 Software CRC【循环校验码】
Software CRCTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 204 Accepted Submission(s): 53Problem DescriptionYou work for a company which use...
2018-06-17 23:43:42 374
原创 UVA160 Factors and Factorials【筛选法】
The factorial of a number N (written N!) is defined as the product of all the integers from 1 to N. It is often defined recursively as follows:1! = 1N! = N ∗ (N − 1)! Factorials grow very rapidly — 5...
2018-06-17 20:26:17 417
原创 HDU1209 ZOJ2680 UVALive2807 Clock【排序】
ClockTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6451 Accepted Submission(s): 2027Problem DescriptionThere is an analog clock with two ha...
2018-06-17 07:19:28 676
原创 HDU1007 ZOJ2107 Quoit Design【二分】
Quoit DesignTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 62203 Accepted Submission(s): 16413Problem DescriptionHave you ever played quoit...
2018-06-06 09:38:22 440
原创 HDU1496 Equations【哈希表】
EquationsTime Limit: 6000/3000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 9370Accepted Submission(s): 3895Problem DescriptionConsider equations having the fo...
2018-06-05 10:19:00 466
原创 ZOJ1507 Crazy Search【哈希函数】
Crazy SearchTime Limit:5 Seconds Memory Limit:32768 KBMany people like to solve hard puzzles some of which may lead them to madness. One such puzzle could be finding a hidden prime numbe...
2018-06-05 06:35:52 919
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人