上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 26 下一页

2019年1月1日

Bailian2815 城堡问题【DFS】

摘要: "2815:城堡问题" 总时间限制: 1000ms 内存限制: 65536kB 描述 1 2 3 4 5 6 7 1 | | | | 2 | 3 | | 4 | | | | (图 1) = Wall | = No wall = No wall 图1是一个城堡的地形图。请你编写一个程序,计算城堡一共有 阅读全文

posted @ 2019-01-01 12:48 新海岛Blog 阅读(89) 评论(0) 推荐(0)

POJ1164 The Castle【DFS】

摘要: "The Castle" Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 8317 Accepted: 4693 Description 1 2 3 4 5 6 7 1 | | | | 2 | 3 | | 4 | | | | (F 阅读全文

posted @ 2019-01-01 12:43 新海岛Blog 阅读(119) 评论(0) 推荐(0)

Bailian2790 迷宫【DFS】

摘要: "2790:迷宫" 总时间限制: 3000ms 内存限制: 65536kB 描述 一天Extense在森林里探险的时候不小心走入了一个迷宫,迷宫可以看成是由n n的格点组成,每个格点只有2种状态,.和 ,前者表示可以通行后者表示不能通行。同时当Extense处在某个格点时,他只能移动到东南西北(或者 阅读全文

posted @ 2019-01-01 11:41 新海岛Blog 阅读(154) 评论(0) 推荐(0)

Bailian2746 约瑟夫问题

摘要: "2746:约瑟夫问题" 总时间限制: 1000ms 内存限制: 65536kB 描述 约瑟夫问题:有n只猴子,按顺时针方向围成一圈选大王(编号从1到n),从第1号开始报数,一直数到m,数到m的猴子退出圈外,剩下的猴子再接着从1开始报数。就这样,直到圈内只剩下一只猴子时,这个猴子就是猴王,编程求输入 阅读全文

posted @ 2019-01-01 09:38 新海岛Blog 阅读(122) 评论(0) 推荐(0)

2018年12月31日

Bailian2966 时区转换【时区计算】

摘要: "2966:时区转换" 总时间限制: 1000ms 内存限制: 65536kB 描述 直到19世纪,时间校准是一个纯粹的地方现象。每一个村庄当太阳升到最高点的时候把他们的时钟调到中午12点。一个钟表制造商人家或者村里主表的时间被认为是官方时间,市民们把自家的钟表和这个时间对齐。每周一些热心的市民会带 阅读全文

posted @ 2018-12-31 23:29 新海岛Blog 阅读(391) 评论(0) 推荐(0)

POJ2351 ZOJ1916 UVA10371 Time Zones【时区计算】

摘要: "Time Zones" Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 2613 Accepted: 747 Description Prior to the late nineteenth century, time keep 阅读全文

posted @ 2018-12-31 23:21 新海岛Blog 阅读(210) 评论(0) 推荐(0)

Bailian2965 玛雅历【日期计算】

摘要: "2965:玛雅历" 总时间限制: 1000ms 内存限制: 65536kB 描述 上周末,M.A. Ya教授对古老的玛雅有了一个重大发现。从一个古老的节绳(玛雅人用于记事的工具)中,教授发现玛雅人使用了一个一年有365天的叫做Haab的历法。这个Haab历法拥有19个月,在开始的18个月,一个月有 阅读全文

posted @ 2018-12-31 21:57 新海岛Blog 阅读(585) 评论(0) 推荐(0)

POJ1008 UVA300 UVALive5515 Maya Calendar【日期计算】

摘要: "Maya Calendar" Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 83979 Accepted: 25793 Description During his last sabbatical, professor M. 阅读全文

posted @ 2018-12-31 21:40 新海岛Blog 阅读(165) 评论(0) 推荐(0)

POJ1007 UVA612 UVALive5414 ZOJ1188 HDU1379 Bailian4086 DNA Sorting【排序+逆序数】

摘要: "DNA Sorting" Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 110791 Accepted: 44366 Description One measure of "unsortedness'' in a sequen 阅读全文

posted @ 2018-12-31 19:49 新海岛Blog 阅读(166) 评论(0) 推荐(0)

CodeForces-3A Shortest path of the king【水题】

摘要: "A. Shortest path of the king" time limit per test1 second memory limit per test64 megabytes inputstandard input outputstandard output The king is lef 阅读全文

posted @ 2018-12-31 18:00 新海岛Blog 阅读(115) 评论(0) 推荐(0)

上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 26 下一页

导航

// ... runAll: function() { this.resetPreCode(); hljs.initHighlightingOnLoad(); // 重新渲染,添加语法高亮 hljs.initLineNumbersOnLoad(); // 为代码加上行号 } // ...