08 2017 档案
摘要:http://www.51nod.com/onlineJudge/questionCode.html#!problemId=1174 第一次学线段树,感觉脑子里一片浆糊
阅读全文
摘要:题目:http://www.51nod.com/onlineJudge/questionCode.html#!problemId=1242
阅读全文
摘要:题目:http://www.51nod.com/onlineJudge/questionCode.html#!problemId=1264 本来想用斜率来算,后来觉得要分太多情况,上网发现用快速排斥+跨立就能做 快速排斥的意思是当两条线段分别构成的矩形范围没有相交,那么两直线肯定没没有交点,如下图
阅读全文
摘要:#define MAXLEN 1024 #include #include #include #include #include #include #include #include using namespace std; typedef struct node { string key; vectorval; node *next; }Node; const string Em...
阅读全文
摘要:题目:http://www.51nod.com/onlineJudge/questionCode.html#!problemId=1130 暴力计算一会溢出,二会超时,所以这里用到了斯特林近似
阅读全文

浙公网安备 33010602011771号