模板
文章平均质量分 80
touch_er
这个作者很懒,什么都没留下…
展开
-
线段香蕉
判断两线段是否banana包括 平面坐标计算//http://blog.sina.com.cn/s/blog_71dbfe2e0101f7zb.html//http://dev.gameres.com/Program/Abstract/Geometry.htm#矢量的概念#include#include#include#include#inc原创 2016-07-22 21:24:37 · 651 阅读 · 0 评论 -
Rotating Scoreboard
http://poj.org/problem?id=3335Rotating ScoreboardTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 6555 Accepted: 2612DescriptionThis year, ACM/原创 2016-07-24 10:59:32 · 416 阅读 · 0 评论 -
HDU5120 Intersection 相交环总面积 (2014北京现场赛) 两圆香蕉模板
HDU5120 Intersection 相交环总面积 (2014北京现场赛)DescriptionMatt is a big fan of logo design. Recently he falls in love with logo made up by rings. The following figures are some famous examples原创 2016-07-24 20:39:33 · 409 阅读 · 0 评论 -
树状数组,模板 注意事项
///////////////////记得按 for(int i = 1;i <= 10;i++)///////////////////不要按 for(int i = 0;i 不能有下标为0的。。。下标 会TLE//是加val的值 不是更新成val的值!!!#include#include#include#include#include#includeusing原创 2016-08-06 16:57:58 · 271 阅读 · 0 评论 -
UVa 11374 - Airport Express
https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=25&problem=2369&mosmsg=Submission+received+with+ID+18149228迪杰斯特拉题 不算模板但是很可以练出来模板的使用技巧问题是求有一条捷径可原创 2016-10-09 20:48:06 · 344 阅读 · 0 评论 -
spij MATSUM - Matrix Summation
MATSUM - Matrix Summationno tags A N × N matrix is filled with numbers. BuggyD is analyzing the matrix, and he wants the sum of certain submatrices every now and then, so he wants a syst原创 2016-08-07 20:41:00 · 611 阅读 · 4 评论 -
Remember The Feeling 2017-09-27 21:15
反应过来莫比乌斯反演是啥意思HDU 6053 - TrickGCD [ 莫比乌斯函数,筛法分块 ] | 2017 Multi-University Training Contest 2题意: 给出数列 A[N],问满足: 1 对任意(l, r) (1= 2 ; 的 B[N] 数列的个原创 2017-09-27 21:18:23 · 265 阅读 · 0 评论