自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 问答 (1)
  • 收藏
  • 关注

原创 ubuntu fix "the package system is broken"

sudo apt-get intall -f

2015-04-30 10:14:13 766

原创 hdu 2616

时隔1年再来写这道题,居然还是没写出来,看了自己以前的代码和discuss才明白,就是不能再次经过Y和M的点。 #include #include #include using namespace std; int n,m; char a[300][300]; int cot[300][300]; bool vis[300][300]; struct point { int x; int

2015-04-29 21:02:36 376

原创 poj 1321

又要进入专题训练了 加油,zhoutonglx #include using namespace std; int n,k; char a[20][20]; bool vis1[20]; bool vis2[20]; int sum; void dfs(int x,int cot)//从上往下逐行搜索,不会重复 { if(cot==k) { sum++; return; }

2015-04-29 19:24:25 281

原创 啊啊啊,我的第一个java swing程序

我嚯,我的第一个java图形界面小程序,纪念一下 import javax.swing.*; import java.awt.*; import java.awt.event.*; public class Work extends JFrame implements ActionListener { JLabel label1,label2,label3; JTextField

2015-04-21 20:34:46 490

原创 zoj 3710

水题纪念 虽然水,但是错得多啊 #include #include using namespace std; int a[230][230]; int main() { int t; cin>>t; int x,y; while(t--) { int n,m,h; cin>>n>>m>>h; i

2015-04-16 14:39:04 524

原创 区间dp

http://acm.hust.edu.cn/vjudge/problem/visitOriginUrl.action?id=27980 #include using namespace std; int dps[10003]; int dpe[10003]; int main() { string s; cin>>s; int len = s.size(); int i,j; fo

2015-04-08 14:51:32 270

翻译 Self-numbers 2

#include #include #include #include using namespace std; const int D=(1<<16)-1; int N,K; int a[5503]; int r[5503]; int d[75503]; bool cmp(int m,int n) { return a[m]<a[n];//用a数组元素大小对r数组排序,好有技巧 } int

2015-04-07 21:16:06 488

空空如也

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

TA关注的人

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