02 2015 档案

 
HDU 1209
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1209水题,按五个时针分针成的锐角从小到大排序,角度相同时间从早到晚,输出中间的那个时针一小时走30度,一分钟走0.5度,分针一分钟走6度,注意是锐角,大于180要用360减回去,为避免精度出问题统一乘2拒绝小数#... 阅读全文
posted @ 2015-02-03 00:39 LegendaryAC 阅读(170) 评论(0) 推荐(0)
HDU 1254
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1254暴搜,状态是四维的(箱子和人的坐标),向一个方向推箱子还要判断人能否走到推的位置,1A#include #include #include #include using namespace std;int n... 阅读全文
posted @ 2015-02-01 17:16 LegendaryAC 阅读(225) 评论(0) 推荐(0)