随笔分类 -  ACM

1 2 3 下一页

Volume 6. Mathematical Concepts and Methods
摘要:138-Street Numbers 1 #include 2 //(2n+1)^2 - 8m^2 = 1,佩尔函数,或者打表 3 int main() { 4 int count = 0; 5 int x1 = 3, xi = 3, y1= 1, yi = 1, n = 8, t... 阅读全文

posted @ 2015-02-04 16:10 jec 阅读(143) 评论(0) 推荐(0) 编辑

uva 10048 - Audiophobia
摘要:Problem B: AudiophobiaConsider yourself lucky! Consider yourself lucky to be still breathing and having fun participating in this contest. But we app... 阅读全文

posted @ 2014-08-16 20:38 jec 阅读(199) 评论(0) 推荐(0) 编辑

uva 10034 - Freckles
摘要:Problem A: FrecklesIn 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 Bel... 阅读全文

posted @ 2014-08-16 20:36 jec 阅读(230) 评论(0) 推荐(0) 编辑

uva 567 - Risk
摘要:RiskRisk is a board game in which several opposing players attempt to conquer the world. The gameboard consists of a world map broken up into hypothe... 阅读全文

posted @ 2014-08-16 20:34 jec 阅读(158) 评论(0) 推荐(0) 编辑

uva 10397 - Connect the Campus
摘要:Problem EConnect the CampusInput: standard inputOutput: standard outputTime Limit: 2 secondsMany new buildings are under construction on thecampus of ... 阅读全文

posted @ 2014-08-16 20:31 jec 阅读(221) 评论(0) 推荐(0) 编辑

uva 10305 - Ordering Tasks
摘要:Problem FOrdering TasksInput: standard inputOutput: standard outputTime Limit: 1 secondMemory Limit: 32 MBJohn has n tasks to do. Unfortunately, the t... 阅读全文

posted @ 2014-08-15 13:53 jec 阅读(431) 评论(0) 推荐(0) 编辑

uva 10596 - Morning Walk
摘要:Problem HMorning WalkTime Limit3 SecondsKamal is a Motashota guy. He has got a new job in Chittagong. So, he has moved to Chittagong from Dinajpur. He... 阅读全文

posted @ 2014-08-15 13:52 jec 阅读(194) 评论(0) 推荐(0) 编辑

uva 10129 - Play on Words
摘要:Play on WordsSome of the secret doors contain avery interesting word puzzle. The team of archaeologists has to solve it to open that doors. Because th... 阅读全文

posted @ 2014-08-15 13:49 jec 阅读(379) 评论(0) 推荐(0) 编辑

uva 10004 - Bicoloring
摘要:BicoloringIn 1976 the ``Four Color Map Theorem" was proven with the assistance of a computer. This theorem states that every map can be colored using... 阅读全文

posted @ 2014-08-15 13:47 jec 阅读(162) 评论(0) 推荐(0) 编辑

uva 10047 - The Monocycle
摘要:Problem A: The MonocycleA monocycle is a cycle that runs on one wheel and the one we will be considering is a bit more special. It has a solid wheel ... 阅读全文

posted @ 2014-08-15 13:45 jec 阅读(189) 评论(0) 推荐(0) 编辑

uva 439 - Knight Moves
摘要:Knight MovesA friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of knight moves tha... 阅读全文

posted @ 2014-08-15 13:42 jec 阅读(184) 评论(0) 推荐(0) 编辑

uva 532 - Dungeon Master
摘要:Dungeon MasterYou 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 not be fi... 阅读全文

posted @ 2014-08-15 13:40 jec 阅读(213) 评论(0) 推荐(0) 编辑

uva 10557 - XYZZY
摘要:Problem D: XYZZYADVENT: /ad�vent/, n. The prototypical computer adventure game, first designed by Will Crowther on the PDP-10 in the mid-1970s as an a... 阅读全文

posted @ 2014-08-15 13:38 jec 阅读(202) 评论(0) 推荐(0) 编辑

uva 705 - Slash Maze
摘要:Slash MazeBy filling a rectangle with slashes (/) and backslashes ( ), you can generate nice little mazes. Here is an example:As you can see, paths i... 阅读全文

posted @ 2014-08-15 13:36 jec 阅读(365) 评论(0) 推荐(0) 编辑

uva 784 - Maze Exploration
摘要:784 - Maze ExplorationA maze of rectangular rooms is represented on a two dimensional grid as illustrated in gure 1a.Each point of the grid is ... 阅读全文

posted @ 2014-08-15 13:35 jec 阅读(258) 评论(0) 推荐(0) 编辑

uva 657 - The die is cast
摘要:The die is castInterGames is a high-tech startup company that specializes in developing technology that allows users to play games over the Internet.... 阅读全文

posted @ 2014-08-15 11:21 jec 阅读(225) 评论(0) 推荐(0) 编辑

uva 572 - Oil Deposits
摘要:Oil DepositsThe GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangula... 阅读全文

posted @ 2014-08-15 11:19 jec 阅读(224) 评论(0) 推荐(0) 编辑

uva 10562 - Undraw the Trees
摘要:Problem DUndraw the Trees Input:StandardInputOutput: Standard Output Time Limit: 2 SecondsProfessor Homer has been reported missing. We suspect thathi... 阅读全文

posted @ 2014-08-15 11:17 jec 阅读(183) 评论(0) 推荐(0) 编辑

uva 839 - Not so Mobile
摘要:Not so MobileBefore being an ubiquous communications gadget, a mobile was just a structure made of strings and wires suspending colourfull things. Th... 阅读全文

posted @ 2014-08-15 11:15 jec 阅读(146) 评论(0) 推荐(0) 编辑

uva 327 - Evaluating Simple C Expressions
摘要:Evaluating Simple C ExpressionsThe task in this problem is to evaluate a sequence of simple C expressions, buy you need not know C to solve the proble... 阅读全文

posted @ 2014-08-15 11:13 jec 阅读(248) 评论(0) 推荐(0) 编辑

1 2 3 下一页
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

导航

统计

点击右上角即可分享
微信分享提示