自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 收藏
  • 关注

原创 阶段codeforces小结

这些天除了每天的训练刷了一些的CD,最近状态奇差,那就总结一下吧 Codeforces Round #236 (Div. 2) C:这题猜了一下,大致就是让边均匀分布,构造了一下感悟了一下,挺对 D:看数据范围和时间大致是n*n的复杂度,以为是任意选取区间,后来发现必须是1-k(1 Codeforces Round #237 (Div. 2) C:根据某个点到各个点的距离恢复原图,并且保

2017-08-14 23:34:51 355

转载 lightoj 1054

n^m的因子数之和 http://blog.csdn.net/a601025382s/article/details/12946973

2016-09-01 21:12:05 398

原创 2016/9/1 训练

lightoj 1043-lightoj 1051(17:00之前)

2016-09-01 17:00:54 217

原创 lightoj 1052 矩阵快速幂

一眼看出矩阵还是挺开心的

2016-09-01 16:58:17 486

原创 EU -4-dp 完成

EU -5-none

2016-09-01 15:37:07 394

转载 进制转换 lightoj 1045

http://www.cnblogs.com/phinecos/archive/2009/09/11/1564975.html

2016-08-31 21:03:58 236

转载 lightoj 1042 经典的位运算

很厉害 很厉害 http://www.lai18.com/content/998471.html

2016-08-31 15:55:27 409

原创 2016/8/31 刷题记录

lightoj1030-lightoj1042 好几题不是dp 好坑..... 想起来就写一点

2016-08-31 15:41:25 372

原创 Southern Subregion Problem C. Equivalent Cards

#include #include #include #include #define maxn 105 using namespace std; int n; double val[maxn]; struct Point{ double x,y; Point(double x=0.0,double y = 0.0):x(x),y(y){} void init(){ c

2016-08-15 19:50:56 203

原创 Southern Subregion Problem F. Judging Time Prediction

Problem F. Judging Time Prediction Input le: stdin Output le: stdout Time limit: 2 seconds Memory limit: 256 megabytes Feedback: It is not easy to predict. Do you know that the modern weather pred

2016-08-15 19:48:37 270

原创 Southern Subregion Problem H. Password Service

这题坑了有一会 直接粘的队友代码 WA54注意一种样例 >>>>> #include #include using namespace std; int main() { int n; cin>>n; char a[5005],ans[5005],b[5005]; cin>>a; strcpy(b,a); //cout<<b<<endl;

2016-08-15 19:44:26 294

原创 Southern Subregion Problem K. Road Work

贪心 #include using namespace std; const int maxn=300050; int d[maxn]; vectorL; vectorR; int main(){ int n; cin>>n; for(int i=1;i<=n;i++){ scanf("%d",&d[i]); } for(int i=1;i<=n;i++){ int r=0

2016-08-15 19:25:44 203

原创 Southern Subregion Problem L. Stock Trading Robot

模拟 #include #include #include using namespace std; int n,d,a,b; int num; int num_a = 1; int num_b = 1; int last; int cur; int main(){ //freopen("main.in","r",stdin); cin >> n >> d >> a >> b;

2016-08-15 19:06:13 260

原创 Southern Subregion Problem I. Plugs and Sockets

模拟 读题真的是#include using namespace std; vector >v1;// Berland vector >v2;// Beuropean vector >v3;// all vector >ans1; vector >ans2; int n,a,b,t,rem=0; long long powe=0; int main(){ //freopen("C://Use

2016-08-15 18:36:38 303

原创 Southern Subregional Problem B. Travelling Camera Problem

二分找区间 直接算 #include using namespace std; const int maxn=300050; double x[maxn]; double a[maxn]; int main(){ int n,m; double rr; //cin>>m>>n>>rr; scanf("%d%d%lf",&m,&n,&rr); double r=sqrt(rr*rr-1

2016-08-15 18:34:23 202

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除