摘要: http://poj.org/problem?id=1279顺时针给你一个多边形...求能看到所有点的面积...用半平面对所有边取交即可,模版题这里的半平面交是O(n^2)的算法...比较逗比...暴力对每条线段做半平面交...要注意的地方写在注释里了...顺序写反了卡了我好久/********************* Template ************************/#include #include #include #include #include #include #include #include #include #include #include #incl 阅读全文
posted @ 2013-08-14 20:57 Felix_F 阅读(270) 评论(0) 推荐(0)
摘要: 最近VIM用的也越来越多了...因为确实在慢慢的把win下的编辑习惯转成unix下的编辑习惯..._vimrc也在不断的完善中先贴一下平时在VIM中使用中的命令...有很多也是我没有掌握的(估计也是转的)原帖地址:http://www.oschina.net/news/43167/130-essential-vim-commands基础:e filenameOpenfilenamefor edition:wSave file:qExit Vim:q!Quit without saving:xWrite file (if changes has been made) and exit:sav f 阅读全文
posted @ 2013-08-14 10:04 Felix_F 阅读(305) 评论(0) 推荐(0)