- 博客(6)
- 收藏
- 关注
原创 计蒜客 Transport Ship (2018-ACM-ICPC-焦作-网络赛)DP
There are NN different kinds of transport ships on the port. The i^{th}ith kind of ship can carry the weight of V[i]V[i] and the number of the i^{th}ith kind of ship is 2^{C[i]} - 12C[i]−1. How many d...
2018-10-06 15:43:04 270
原创 计蒜客 Ryuji doesn't want to study(2018 ICPC 徐州 网络赛 )线段树
Ryuji is not a good student, and he doesn't want to study. But there are n books he should learn, each book has its knowledge a[i]a[i].Unfortunately, the longer he learns, the fewer he gets.That m...
2018-10-04 12:39:03 210
原创 计蒜客 Made In Heaven (2018-ICPC-沈阳-网络赛)k 短路
One day in the jail, F·F invites Jolyne Kujo (JOJO in brief) to play tennis with her. However, Pucci the father somehow knows it and wants to stop her. There are NN spots in the jail and MM roads conn...
2018-10-02 17:41:31 353
原创 计蒜客 Supreme Number (2018-ICPC-沈阳-网络赛)
A prime number (or a prime) is a natural number greater than 11 that cannot be formed by multiplying two smaller natural numbers.Now lets define a number NN as the supreme number if and only if each...
2018-10-02 10:51:27 279
原创 求凸包点和面积及周长
/**Author: LinZhiQDate: 2018-10-01 17:28Graham扫描法 求凸包*/#include<bits/stdc++.h>using namespace std;const double eps = 1e-8;const double PI = acos(-1.0);struct Point { double x,y; P...
2018-10-01 17:28:49 902
原创 HDU 6219 空凸包 + DP
Empty Convex PolygonsTime Limit: 16000/8000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 651 Accepted Submission(s): 175Problem DescriptionGiven a set ...
2018-10-01 15:10:09 526
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人