自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 进制转换 lightoj 1045

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

2016-08-31 21:03:58 246

转载 lightoj 1042 经典的位运算

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

2016-08-31 15:55:27 420

原创 2016/8/31 刷题记录

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

2016-08-31 15:41:25 387

原创 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 216

原创 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 283

原创 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 310

原创 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 218

原创 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 274

原创 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 324

原创 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 215

空空如也

空空如也

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

TA关注的人

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