自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 uva 11729

#include #include #include using namespace std;struct job{ int j,b; bool operator<(const job&x)const{ return j>x.j; } }; int main(){ int n,b,j,s=0,ans=0,casenum=1; vector v; while(scan

2013-02-22 22:17:42 390

原创 uva 11549

#include using namespace std;int buf[30];int next(int n,int k){ if(!k)return 0; long long k2=(long long)k*k; int l=0; int ans=0; while(k2>0){ buf[l++]=k2%10;k2/=10;} if (n>l)n=l; for(int

2013-02-22 21:03:23 285

原创 poj 1330

#include #include using namespace std;const int maxn=10005;int vis[maxn],p[maxn];int main(){ int T,n,i,x,y; cin>>T; while(T--) { cin>>n; memset(vis,0,sizeof(vis))

2013-02-22 21:01:27 320

原创 poj 2255

#include "stdio.h"#include "string.h"#include "assert.h"char inorder[30],preorder[30];void recover(int preleft,int preright,int inleft,int inright){ int root,leftsize,rightsize; for(root=inleft

2013-02-22 20:58:39 353

原创 uva 11292

#include #include using namespace std;const int maxn=10000+5;int a[maxn],b[maxn];int main(){ int n,m; while(scanf("%d%d",&n,&m)==2&&n&&m){ for(int i=0;i<n;i++)scanf("%d",&a[i]); for(int i=0

2013-02-22 20:57:10 286

空空如也

空空如也

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

TA关注的人

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