acm-算法
文章平均质量分 71
foreverwy
我相信我只要一点一点的坚持,无论做什么事情认认真真的,总有一天我会克服我的难题。
展开
-
toj 1153. Word Reversal
1153. Word ReversalTime Limit: 1.0 Seconds Memory Limit:65536KTotal Runs: 8476 Accepted Runs:3097 Multiple test filesFor each list of words, output a line with each wo原创 2015-11-02 19:34:25 · 316 阅读 · 0 评论 -
hdu 1710 Binary Tree Traversals
Binary Tree TraversalsTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4721 Accepted Submission(s): 2152Problem Description原创 2015-11-24 15:57:00 · 209 阅读 · 0 评论 -
lightoj 1297 Largest Box
1297 - Largest BoxPDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBIn the following figure you can see a rectangular card. The widt原创 2015-11-09 20:45:19 · 226 阅读 · 0 评论 -
poj 2406 Power Strings
Power StringsTime Limit: 3000MS Memory Limit: 65536KTotal Submissions: 39097 Accepted: 16230DescriptionGiven two strings a and b we define a*b to be their concate原创 2015-11-08 17:16:07 · 197 阅读 · 0 评论 -
poj 2752 Seek the Name, Seek the Fame
Seek the Name, Seek the FameTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 14821 Accepted: 7445DescriptionThe little cat is so famous, that many couple原创 2015-11-08 17:04:52 · 199 阅读 · 0 评论 -
poj 3461 Oulipo
OulipoTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 30825 Accepted: 12396DescriptionThe French author Georges Perec (1936–1982) once wrote a book, La原创 2015-11-08 17:02:23 · 209 阅读 · 0 评论 -
zoj 1940 Dungeon Master
Dungeon MasterTime Limit: 2 Seconds Memory Limit: 65536 KB You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may原创 2015-11-26 12:11:10 · 200 阅读 · 0 评论 -
hdu 2602 Bone Collector
Bone CollectorTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 42169 Accepted Submission(s): 17538Problem DescriptionMany ye原创 2015-11-27 19:59:52 · 258 阅读 · 0 评论 -
hdu 4883 TIANKENG’s restaurant(区间更新)
TIANKENG’s restaurantTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 1803 Accepted Submission(s): 658Problem DescriptionTIAN原创 2015-12-12 10:14:17 · 210 阅读 · 0 评论 -
hdu 1166 敌兵布阵(线段树)
敌兵布阵Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 64188 Accepted Submission(s): 27058Problem DescriptionC国的死对头A国这段时间正在进行军原创 2015-12-12 18:13:05 · 290 阅读 · 0 评论 -
跨域问题和处理跨域的方法
一、跨域http:// www . 123.com : 8080 / js.js协议 子域名 主域名 端口号 资源地址当协议、子域名、主域名、端口号中任意一个不相同时,都算作不同域,不同域之间相互请求资源算作跨域,Javascript出于安全方面同源策略的限制,不允许浏览器跨域调用其他原创 2017-07-22 17:50:31 · 206 阅读 · 0 评论 -
hdu 2048 神、上帝以及老天爷(错排)
神、上帝以及老天爷Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 29577 Accepted Submission(s): 12207Problem DescriptionHDU 2006'10原创 2015-12-12 09:28:24 · 296 阅读 · 0 评论 -
poj 3687 Labeling Balls(拓扑排序)
Labeling BallsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 12699 Accepted: 3655DescriptionWindy has N balls of distinct weights from 1 unit to N unit原创 2015-11-28 10:40:15 · 214 阅读 · 0 评论 -
zoj Exchange Cards 2734
Exchange CardsTime Limit: 2 Seconds Memory Limit: 65536 KB As a basketball fan, Mike is also fond of collecting basketball player cards. But as a student, he can not always get the mone原创 2015-11-26 10:45:46 · 346 阅读 · 0 评论 -
hdu 1045 Fire Net
Fire NetTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8548 Accepted Submission(s): 4935Problem DescriptionSuppose that we h原创 2015-11-26 10:51:53 · 239 阅读 · 0 评论 -
poj 3620 Avoid The Lakes
Avoid The LakesTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 7138 Accepted: 3789DescriptionFarmer John's farm was flooded in the most recent storm, a原创 2015-11-26 10:53:47 · 216 阅读 · 0 评论 -
poj 1363Rails
RailsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 28718 Accepted: 11164DescriptionThere is a famous railway station in PopPush City. Country there is原创 2015-11-02 19:29:34 · 235 阅读 · 0 评论 -
hdu 2803 The MAX
The MAXTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2060 Accepted Submission(s): 895Problem DescriptionGiving N integers, V1,原创 2015-11-02 19:18:07 · 271 阅读 · 0 评论 -
A + B Problem II
A + B Problem IITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 261369 Accepted Submission(s): 50579Problem DescriptionI have a v原创 2015-07-26 12:02:09 · 361 阅读 · 0 评论 -
hdu Prolem 1042 N!
N!Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 65388 Accepted Submission(s): 18707Problem DescriptionGiven an integer N(0原创 2015-07-27 11:06:30 · 257 阅读 · 0 评论 -
hdu 1200 To and Fro
To and FroTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5634 Accepted Submission(s): 3905Mo and Larry have devised a way原创 2015-11-02 19:42:45 · 198 阅读 · 0 评论 -
toj 3072 Train Order
3072. Train Order Time Limit: 1.0 Seconds Memory Limit: 65536KTotal Runs: 435 Accepted Runs: 244There is a railway station in PopPush City (See the picture below). All the trains arriving原创 2015-11-02 19:47:07 · 300 阅读 · 0 评论 -
Web Navigation
Web NavigationTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 31760 Accepted: 14193DescriptionStandard web browsers contain features to move backward an原创 2015-11-02 19:52:55 · 299 阅读 · 0 评论 -
poj 2186 Popular Cows
Popular Cows Time Limit : 4000/2000ms (Java/Other) Memory Limit : 131072/65536K (Java/Other)Total Submission(s) : 10 Accepted Submission(s) : 4Problem DescriptionEvery cow's dream is to be原创 2015-11-02 20:00:42 · 244 阅读 · 0 评论 -
lightoj 1294 Positive Negative Sign
1294 - Positive Negative SignPDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBGiven two integers: n and m and n is divisible by 2m,原创 2015-11-09 20:42:22 · 247 阅读 · 0 评论 -
poj 1276 Cash Machine
Cash MachineTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 30361 Accepted: 10943DescriptionA Bank plans to install a machine for cash withdrawal. The machine is able to deliver appropriate原创 2015-11-10 21:45:35 · 203 阅读 · 0 评论 -
hdu 1003 Max Sum
Max SumTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 190748 Accepted Submission(s): 44415Problem DescriptionGiven a sequenc原创 2015-11-24 18:15:31 · 174 阅读 · 0 评论 -
hdu 2717 Catch That Cow
Catch That CowTime Limit: 5000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10101 Accepted Submission(s): 3157Problem DescriptionFarmer John has been i原创 2015-11-26 11:34:47 · 187 阅读 · 0 评论