摘要: http://acm.hdu.edu.cn/showproblem.php?pid=5144题意:给你初始的高度和速度,然后让你求出水平的最远距离。思路:三分枚举角度,然后根据公式求出水平距离。 1 #include 2 #include 3 #include 4 #include 5 us... 阅读全文
posted @ 2015-01-02 21:16 null1019 阅读(404) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=5147题意:问有多少个这样的四元组(a,b,c,d),满足条件是 1 2 #include 3 #include 4 #define maxn 50001 5 #define ll long long 6 us... 阅读全文
posted @ 2015-01-02 19:29 null1019 阅读(162) 评论(0) 推荐(0) 编辑