2014年8月20日
摘要: 官方解题报告:http://blog.sina.com.cn/s/blog_6bddecdc0102uzwm.htmlBoring Sumhttp://acm.hdu.edu.cn/showproblem.php?pid=4961这个二分也过了,on更快些。 1 #include 2 #includ... 阅读全文
posted @ 2014-08-20 09:51 gaolzzxin 阅读(213) 评论(0) 推荐(0) 编辑
  2014年8月17日
摘要: A. Pashmak and Gardenhttp://codeforces.com/contest/459/problem/A水题,没过,一字之差,细节决定成败 1 #include 2 #include 3 using namespace std; 4 void out(int a,int b,... 阅读全文
posted @ 2014-08-17 10:13 gaolzzxin 阅读(155) 评论(0) 推荐(0) 编辑
  2014年8月15日
摘要: 官方解题报告:http://blog.sina.com.cn/s/blog_a19ad7a10102uzj7.htmlArea of Mushroomhttp://acm.hdu.edu.cn/showproblem.php?pid=4946计算几何长知识,凸包中>是包括了凸包边上的点,>=是不包括... 阅读全文
posted @ 2014-08-15 10:35 gaolzzxin 阅读(173) 评论(0) 推荐(0) 编辑
  2014年8月14日
摘要: Problem APlay with Floor and Ceilhttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=18&page=show_problem&problem=1614扩展gcd求... 阅读全文
posted @ 2014-08-14 10:23 gaolzzxin 阅读(184) 评论(0) 推荐(0) 编辑
  2014年8月12日
摘要: 官方解题报告:http://blog.sina.com.cn/s/blog_a19ad7a10102uzd4.htmlMagical Foresthttp://acm.hdu.edu.cn/showproblem.php?pid=4941 1 #include 2 #include 3 using ... 阅读全文
posted @ 2014-08-12 22:26 gaolzzxin 阅读(203) 评论(0) 推荐(0) 编辑
  2014年8月11日
摘要: 搞到凌晨4点一个没出,要gg了。A. Golden Systemhttp://codeforces.com/contest/458/problem/A 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 const... 阅读全文
posted @ 2014-08-11 10:36 gaolzzxin 阅读(273) 评论(0) 推荐(0) 编辑
  2014年8月9日
摘要: Heavy-Light Decomposition有图有真相:http://blog.sina.com.cn/s/blog_a19ad7a10102uz6f.html375. Query on a treehttp://www.spoj.com/problems/QTREE/ 1 #include... 阅读全文
posted @ 2014-08-09 14:01 gaolzzxin 阅读(165) 评论(0) 推荐(0) 编辑
摘要: A. Laptopshttp://codeforces.com/contest/456/problem/A 1 #include 2 #include 3 using namespace std; 4 const int M=100010; 5 struct G{ 6 int x,y; 7 ... 阅读全文
posted @ 2014-08-09 09:08 gaolzzxin 阅读(164) 评论(0) 推荐(0) 编辑
  2014年8月7日
摘要: 官方解题报告:http://blog.sina.com.cn/s/blog_a19ad7a10102uz2v.htmlApple Treehttp://acm.hdu.edu.cn/showproblem.php?pid=4925 1 #include 2 const int M=100; 3 in... 阅读全文
posted @ 2014-08-07 20:37 gaolzzxin 阅读(205) 评论(0) 推荐(0) 编辑
  2014年8月5日
摘要: 官方解题报告http://blog.sina.com.cn/s/blog_a19ad7a10102uyxr.htmlMatrix multiplicationhttp://acm.hdu.edu.cn/showproblem.php?pid=4920 1 #include 2 #include 3 ... 阅读全文
posted @ 2014-08-05 21:17 gaolzzxin 阅读(337) 评论(0) 推荐(0) 编辑