![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
regional
_magic_yang
Keep moving and looking forward
展开
-
HDU 4450 Draw Something
題目鏈接:http://acm.hdu.edu.cn/showproblem.php?pid=4450 2012 Asia JinHua Regional Contest I 題 最水的一道題,就是求以ai爲邊長的正方形面積的和。 #include #include #include using namespace std; int main() { int n,k;原创 2014-04-03 20:10:28 · 382 阅读 · 0 评论 -
HDU 4442 Physical Examination
題目鏈接:http://acm.hdu.edu.cn/showproblem.php?pid=4442 2012 Asia JinHua Regional Contest A題 要求最少所用的時間,貪心的思想,可以推一下。 設a1,b1,a2,b2。 如果a1排在a2之前完成,則必滿足a1+a1*b2+a2 #incl原创 2014-04-03 20:05:21 · 318 阅读 · 0 评论