摘要:
Problem DescriptionThere is a forest can be seen as N * M grid. In this forest, there is some magical fruits, These fruits can provide a lot of energy... 阅读全文
posted @ 2014-08-12 20:34
daydaycode
阅读(581)
评论(0)
推荐(0)
摘要:
Problem DescriptionFSF is addicted to a stupid tower defense game. The goal of tower defense games is to try to stop enemies from crossing a map by bu... 阅读全文
posted @ 2014-08-12 19:51
daydaycode
阅读(192)
评论(0)
推荐(0)
摘要:
我们需要把一块石头平稳的从地板上拿起来。石头的底面是多边形且各个部分的高度都一样,我们需要找出石头的重心。input测试案例 T;每组第一行给出N,表示定点数。接下来N行,每行连个数,表示坐标。定点按顺时针或逆时针给出。output 重心坐标。两个数中间一个空格,每个数保留两位小数。思路 把多变... 阅读全文
posted @ 2014-08-12 11:03
daydaycode
阅读(227)
评论(0)
推荐(0)
摘要:
把N个建筑正投影到一个竖直平面上,给出N个建筑的左右坐标值和高度,计算阴影部分的面积。input 第一行建筑物的个数,接下来N行,每行给出三个数, 左右坐标值 和高度。其中1,r,h《=十亿.output 面积。 1 #include"iostream" 2 #include"cstdio" 3 ... 阅读全文
posted @ 2014-08-12 09:51
daydaycode
阅读(286)
评论(0)
推荐(0)

浙公网安备 33010602011771号