摘要:
求半平面交的算法是zzy大神的排序增量法。 1 ///Poj 1474 2 #include <cmath> 3 #include <algorithm> 4 #include <cstdio> 5 using namespace std; 6 const double eps = 1e-10; 7 阅读全文
摘要:
地址:http://codeforces.com/problemset/problem/744/C 题目: C. Hongcow Buys a Deck of Cards time limit per test 2 seconds memory limit per test 256 megabyte 阅读全文
摘要:
地址:http://poj.org/problem?id=1873 题目: The Fortified Forest Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 6421 Accepted: 1811 Description 阅读全文
摘要:
地址:http://poj.org/problem?id=2074 题目: Line of Sight Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 4148 Accepted: 1291 Description An arch 阅读全文
摘要:
weeping的私人模板,需要的话就拿去用吧(虽然可能会有小错,如果有请提醒我) 这是现在日常用的模板 2017.10.11 update: 把白书上的半平面交模板换成别的了,原来的那个好像有问题,一直wa。 把求三角形外心的模板改了精度更高的模板。 2017.10.08 update: 原来的模板 阅读全文
摘要:
地址:http://poj.org/problem?id=2826 题目: An Easy Problem?! Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 13016 Accepted: 2003 Description It 阅读全文
摘要:
地址:http://poj.org/problem?id=1113 题目: Wall Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 36064 Accepted: 12315 Description Once upon a ti 阅读全文
摘要:
地址:http://codeforces.com/contest/764/problem/D 题目: D. Timofey and rectangles time limit per test 2 seconds memory limit per test 256 megabytes input s 阅读全文
摘要:
地址:http://codeforces.com/contest/764/problem/C 题目: C. Timofey and a tree time limit per test 2 seconds memory limit per test 256 megabytes input stand 阅读全文
摘要:
地址:http://codeforces.com/contest/764/problem/B 题目: B. Timofey and cubes time limit per test 1 second memory limit per test 256 megabytes input standar 阅读全文
摘要:
地址: 题目: Space Ant Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 4295 Accepted: 2697 Description The most exciting space discovery occurre 阅读全文
摘要:
地址:http://poj.org/problem?id=2318 题目: Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 14437 Accepted: 7001 Description Calculate the number 阅读全文
该文被密码保护。 阅读全文
摘要:
地址:http://poj.org/problem?id=2778 题目: DNA Sequence Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 15453 Accepted: 5964 Description It's we 阅读全文
摘要:
#include const int mod=1e9+7; struct MM { int r,c; int mx[105][105]; MM(int rr=0,int cc=0){r=rr,c=cc;} friend MM operator *(MM ta,MM tb) { MM tc(ta.r,tb.c); for(i... 阅读全文
摘要:
题目地址:http://acm.split.hdu.edu.cn/showproblem.php?pid=3065 题目: 病毒侵袭持续中 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) 阅读全文
摘要:
地址:http://acm.split.hdu.edu.cn/showproblem.php?pid=2222 题目: Keywords Search Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java 阅读全文
摘要:
地址:http://acm.split.hdu.edu.cn/showproblem.php?pid=2896 题目: 病毒侵袭 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total 阅读全文
摘要:
自己写的0.0 从网上扒的: 阅读全文
摘要:
地址:http://acm.split.hdu.edu.cn/showproblem.php?pid=5536 题目: Chip Factory Time Limit: 18000/9000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/O 阅读全文