题目链接:Islands HDU - 2808

===================================================

Islands

Time Limit: 1000 ms
Memory Limit: 32768 kB

Description

There are so many islands in the sea. Some islands are enclosed by other ones. So, we can classify all the islands to several levels. An island has a level of 0 if it is contains no other islands. An island has a level of K+1 if it contains one or more islands and the highest level of the contained island(s) is K. Now, the map of the sea is given. Your task is to calculate the areas of islands in each level.

Islands HDU - 2808相关推荐

  1. hdu 3405 world islands

    求删点后最小的生成树,n<50....数据好弱,直接暴力枚举就行...删点的时候直接g[i][j]=INF就行了. #include<iostream> #include<al ...

  2. HDU 4738 Caocao‘s Bridges(桥、任何位运算一定都要加括号、因为有重边所以用前向星)

    HDU 4738 Caocao's Bridges(桥.任何位运算一定都要加括号.因为有重边所以用前向星) Caocao was defeated by Zhuge Liang and Zhou Yu ...

  3. 【HDU - 4006】The kth great number (优先队列,求第k大的数)

    题干: Xiao Ming and Xiao Bao are playing a simple Numbers game. In a round Xiao Ming can choose to wri ...

  4. HDU 4738 Caocao's Bridges 求桥 诸葛亮带着炸弹跑路了

    Description Caocao was defeated by Zhuge Liang and Zhou Yu in the battle of Chibi. But he wouldn't g ...

  5. HDU——1106排序(istringstream的使用、STLvector练习)

    排序 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submiss ...

  6. hdu 5438 Ponds 拓扑排序

    Ponds Time Limit: 1 Sec Memory Limit: 256 MB 题目连接 http://acm.hdu.edu.cn/contests/contest_showproblem ...

  7. HDU 1248 寒冰王座(全然背包:入门题)

    HDU 1248 寒冰王座(全然背包:入门题) http://acm.hdu.edu.cn/showproblem.php?pid=1248 题意: 不死族的巫妖王发工资拉,死亡骑士拿到一张N元的钞票 ...

  8. hdu 1312 Red and Black 解题报告

    题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1312 第二条深搜,题目并不难,但是做了我好久好久,由于一个细节,让我赌上了一个晚上的时间. 题目大意: ...

  9. HDU 1429 胜利大逃亡(续) (BFS+位压缩)

    题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1429 胜利大逃亡(续) Time Limit: 4000/2000 MS (Java/Others)  ...

最新文章

  1. 数据通信技术(九:OSPF特殊区域配置(Cisco))
  2. Python入门100题 | 第063题
  3. 多线程:线程安全?如何实现?
  4. java创建阻塞_如何从HttpsURLConnection创建Java非阻塞InputStream?
  5. Uipath 学习栏目基础教学:5Uipath流程控制语句-整合
  6. Postman(使用指南)
  7. java运行时异常的特点是什么_Java运行时异常和非运行时异常
  8. [译] iPhone X 网页设计
  9. python编辑距离正则匹配_详解一道腾讯面试题:编辑距离
  10. LibreOJ #109. 并查集
  11. 如何搭建监狱高清1080P OTT/IPTV电视系统
  12. Python爬虫书籍分享
  13. LeetCode-618. 学生地理信息报告(困难)行转列
  14. Opencv基础------RGB颜色通道的分量显示和调整
  15. 配置的代理服务器未响应解决方法
  16. oracle11G修改数据库默认端口
  17. 关于性能测试的这点事,值得收藏~
  18. android 信息-- 发彩信(1)
  19. TIA博途_STEP7版本的升级与移植相关难点汇总
  20. latex tips latex 大括号 \left\{ \right\}

热门文章

  1. 【180626】类似打地鼠一样的VC打人游戏
  2. 多个h5文件整理到一个文件夹下面,不改变名字
  3. 数据科学工作中存在的7大问题与解决方案
  4. java中List集合的几种遍历方式
  5. 如何在jieba分词中加自定义词典_常见中文分词包比较
  6. JAVA基于的智慧小区计算机毕业设计Mybatis+系统+数据库+调试部署
  7. select()用法
  8. springboot毕设项目网上点餐系统z5055(java+VUE+Mybatis+Maven+Mysql)
  9. Python-Pyecharts高清图片导出及在PPT中动态展示
  10. 常见肝脏检查项目的选择,项目一览表