随笔分类 -  数据结构

cf--------(div1)1A. Theatre Square
摘要:A. Theatre Squaretime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputTheatre Square in the capital ci... 阅读全文

posted @ 2014-08-18 22:46 龚细军 阅读(290) 评论(0) 推荐(0)

Uva----------(11078)Open Credit System
摘要:OpenCreditSystemInput:StandardInputOutput:StandardOutputInanopencreditsystem,thestudentscanchooseanycoursetheylike,butthereisaproblem.Someofthestudent... 阅读全文

posted @ 2014-08-17 09:22 龚细军 阅读(649) 评论(0) 推荐(0)

poj----(1251)Jungle Roads(最小生成树)
摘要:Jungle RoadsTime Limit:1000MSMemory Limit:10000KTotal Submissions:19265Accepted:8806DescriptionThe Head Elder of the tropical island of Lagrishan has ... 阅读全文

posted @ 2014-08-12 20:20 龚细军 阅读(200) 评论(0) 推荐(0)

poj-------(2240)Arbitrage(最短路)
摘要:ArbitrageTime Limit:1000MSMemory Limit:65536KTotal Submissions:15640Accepted:6563DescriptionArbitrage is the use of discrepancies in currency exchange... 阅读全文

posted @ 2014-08-12 19:47 龚细军 阅读(1304) 评论(0) 推荐(0)

HDUOJ-----(1162)Eddy's picture(最小生成树)
摘要:Eddy's pictureTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6821Accepted Submission(s): 3444Prob... 阅读全文

posted @ 2014-08-12 15:39 龚细军 阅读(368) 评论(0) 推荐(0)

la----3695 City Game(最大子矩阵)
摘要:Bob is a strategy game programming specialist. In his new city building game the gaming environment is as follows: a city is built up by areas, in whi... 阅读全文

posted @ 2014-08-08 21:56 龚细军 阅读(264) 评论(0) 推荐(0)

poj------(3468)A Simple Problem with Integers(区间更新)
摘要:A Simple Problem with IntegersTime Limit:5000MSMemory Limit:131072KTotal Submissions:60745Accepted:18522Case Time Limit:2000MSDescriptionYou haveNinte... 阅读全文

posted @ 2014-08-08 11:52 龚细军 阅读(265) 评论(0) 推荐(0)

hdu-------(1698)Just a Hook(线段树区间更新)
摘要:Just a HookTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 17124Accepted Submission(s): 8547Proble... 阅读全文

posted @ 2014-08-08 08:16 龚细军 阅读(266) 评论(0) 推荐(0)

HDU-------(2795)Billboard(线段树区间更新)
摘要:BillboardTime Limit: 20000/8000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10594Accepted Submission(s): 4686Problem... 阅读全文

posted @ 2014-08-06 22:18 龚细军 阅读(379) 评论(0) 推荐(0)

Uva-------(11462) Age Sort(计数排序)
摘要:BAge SortInput:Standard InputOutput:Standard OutputYou are given the ages (in years) of all people of a country with at least 1 year of age. You know ... 阅读全文

posted @ 2014-08-05 00:26 龚细军 阅读(377) 评论(0) 推荐(0)

uva-----(11384)Help is needed for Dexter
摘要:Problem HHelp is needed for DexterTime Limit: 3 SecondDexter is tired of Dee Dee. So he decided to keep Dee Dee busy in a game. The game he planned fo... 阅读全文

posted @ 2014-08-04 22:57 龚细军 阅读(295) 评论(0) 推荐(0)

HDUOJ------3336 Count the string(kmp)
摘要:D -Count the stringTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionIt is well known that AekdyCoin is good at... 阅读全文

posted @ 2014-07-31 15:32 龚细军 阅读(243) 评论(0) 推荐(0)

POJ--2158--------------Milking Grid(最小覆盖字符矩阵)---(开二维kmp)
摘要:Milking GridTime Limit:3000MSMemory Limit:65536KTotal Submissions:6169Accepted:2573DescriptionEvery morning when they are milked, the Farmer John's co... 阅读全文

posted @ 2014-07-31 08:33 龚细军 阅读(313) 评论(0) 推荐(0)

暑假集训之专题----拓扑排序题解
摘要:第一单:Problem ATime Limit : 2000/1000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 26Accepted Submission(s) : 5Problem De... 阅读全文

posted @ 2014-07-17 22:29 龚细军 阅读(339) 评论(0) 推荐(0)

hdu------2488Tornado(几何)
摘要:TornadoTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 196Accepted Submission(s): 48Problem Descri... 阅读全文

posted @ 2014-07-16 21:12 龚细军 阅读(493) 评论(0) 推荐(0)

nyoj-----284坦克大战(带权值的图搜索)
摘要:坦克大战时间限制:1000ms | 内存限制:65535KB难度:3描述Many of us had played the game "Battle city" in our childhood, and some people (like me) even often play it on com... 阅读全文

posted @ 2014-06-11 06:34 龚细军 阅读(521) 评论(0) 推荐(0)

nyoj-----42一笔画问题
摘要:一笔画问题时间限制:3000ms | 内存限制:65535KB难度:4描述zyc从小就比较喜欢玩一些小游戏,其中就包括画一笔画,他想请你帮他写一个程序,判断一个图是否能够用一笔画下来。规定,所有的边都只能画一次,不能重复画。输入第一行只有一个正整数N(N 4 #include 5 #includ... 阅读全文

posted @ 2014-06-10 10:05 龚细军 阅读(401) 评论(0) 推荐(1)

hdu-------1081To The Max
摘要:To The MaxTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7681Accepted Submission(s): 3724Problem ... 阅读全文

posted @ 2014-06-09 21:17 龚细军 阅读(277) 评论(0) 推荐(0)

HDUOJ-------1052Tian Ji -- The Horse Racing(田忌赛马)
摘要:Tian Ji -- The Horse RacingTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 17221Accepted Submissio... 阅读全文

posted @ 2014-06-05 22:29 龚细军 阅读(485) 评论(0) 推荐(0)

nyoj------布线问题(kruscal+求最小值)
摘要:布线问题时间限制:1000ms | 内存限制:65535KB难度:4描述南阳理工学院要进行用电线路改造,现在校长要求设计师设计出一种布线方式,该布线方式需要满足以下条件:1、把所有的楼都供上电。2、所用电线花费最少输入第一行是一个整数n表示有n组测试数据。(n 2 #include 3 #inclu... 阅读全文

posted @ 2014-05-28 17:01 龚细军 阅读(290) 评论(0) 推荐(0)