![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
HDU C语言
文章平均质量分 78
一朵风中摇曳的程序媛
这个作者很懒,什么都没留下…
展开
-
航院 6213 Chinese Zodiac
Chinese ZodiacTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 121 Accepted Submission(s): 90Problem DescriptionThe Chinese Zodiac原创 2017-09-17 22:05:28 · 254 阅读 · 0 评论 -
航院1241 Oil-Deposit
Problem C - Oil Deposits题目来源:https://vjudge.net/contest/207868#problem/CProblem description: TheGeoSurvComp geologic survey company is responsible for detecting undergroundoil deposits. GeoSur原创 2018-01-23 17:18:39 · 175 阅读 · 0 评论 -
航院 6213 Chinese Zodiac
Chinese ZodiacTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 121 Accepted Submission(s): 90Problem Description The Chinese Zodiac, known原创 2017-10-12 11:43:42 · 1785 阅读 · 0 评论 -
航院5538:House Building
题意概括:此题为一道模拟题,根据题意进行模拟即可。解题思路: 1:此题求立体的表面积,只需算出每个面的表面积即可 2:表面积包括顶面和侧面 3:让每一个立方体与其前后左右的立方体的大小进行比较,多出来的部分需要计算其表面积。错误原因: 1: 错误地将二重循环的初始条件从零开始。因为要比较前后左右四个立方体的表面积,因此应该从1开始,才能为之后的计算留下空间。 2: 只进行了判断,忘记了进行原创 2017-10-12 10:59:14 · 222 阅读 · 0 评论 -
航院1009: FatMouse’s Trade
航院1009 FatMouse’s Trade 解题报告Problem Description FatMouse prepared M pounds ofcat food, ready to trade with the cats guarding the warehouse containing hisfavorite food, JavaBean. The warehouse has N r原创 2017-10-12 09:30:22 · 252 阅读 · 0 评论 -
航院 1874 畅通工程续
题意概括:有N个城市和M条道路,任意两个城市之间都有可能超过一种以上的可能。求任意两个城市之间的最短距离。解题思路:1:典型的多源最短路径问题。代码思路:1:用一个二维数组e来存储任意两个城市之间的距离,用inf = 99999999来初始化存储除一个城市自己到自己之外的所有距离,用int n, m分别作为城市数和道路数。int e[202][202];int inf = 99999999, n,原创 2017-09-21 22:38:12 · 161 阅读 · 0 评论 -
航院1009: FatMouse’s Trade
航院1009 FatMouse’s Trade 解题报告 Problem DescriptionFatMouse prepared M pounds ofcat food, ready to trade with the cats guarding the warehouse containing hisfavorite food, JavaBean.The warehouse h原创 2017-05-12 21:08:32 · 379 阅读 · 0 评论 -
航院5538:House Building
House BuildingTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 1836 Accepted Submission(s): 1150Problem DescriptionHave you ever原创 2017-09-17 11:04:44 · 337 阅读 · 0 评论 -
航院1312 Red and Black
Problem J - Red and Black题目来源:https://vjudge.net/contest/207868#problem/Jproblem description:There is a rectangular room,covered with square tiles. Each tile is colored either red or black. A ma原创 2018-01-23 17:33:13 · 177 阅读 · 0 评论