自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (1)
  • 收藏
  • 关注

原创 HDUACM 1009

http://acm.hdu.edu.cn/showproblem.php?pid=1009#include using namespace std; const double max==10000000000000000; int main(void) { int M,N; while(cin>>M>>N&&(N!=-1||M!=-1)) { int *

2014-07-07 16:55:52 244

原创 DES

#include #include using namespace std; //左移位数表 const int L[16]={1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1}; //PC-1 const int PC_1[56]={57,49,41,33,25,17, 9, 1,58,50,42,34,26,18,10, 2, 59,51,43,35,27,19,11,

2014-07-07 16:46:26 169

原创 HDUACM 1008

#include using namespace std; int main(void) { int n; int sum; while(cin>>n&&n!=0) { sum=0; int *a=new int[n]; for(int i=0;i<n;i++) { cin>>a[i]; } sum+=a[0]*6+5*n; int j=1; whi

2014-07-07 16:42:57 242

原创 HDUACM 1005

http://acm.hdu.edu.cn/showproblem.php?pid=1005#include #include #include #include using namespace std; int rec[51]; int main() { int a, b, n; rec[0] = rec[1] = rec[2] = 1; while(

2014-07-07 16:41:16 179

原创 HDUACM 1004

http://acm.hdu.edu.cn/showproblem.php?pid=1004

2014-07-07 16:40:59 304

原创 HDUACM 1003

http://acm.hdu.edu.cn/showproblem.php?pid=1000

2014-07-07 16:36:38 277

原创 HDUACM 1002

http://acm.hdu.edu.cn/showproblem.php?pid=1002#include #include using namespace std; int main(void) { int n; cin>>n; for(int i=0;i<n;i++) { char a[1000],b[1000]; cin>>a>>b; int strlena=strl

2014-07-07 16:32:20 177

原创 HDUACM 1001

http://acm.hdu.edu.cn/showproblem.php?pid=1000

2014-07-07 16:29:59 158

原创 HDUACM 1000

#include using namespace std; int main(void) { int a; int b; while(cin>>a>>b) { cout<<a+b<<endl; } return 0; }

2014-07-07 16:22:56 188

DES加解密 MFC

DES加解密 MFC实现 还用控制台下的代码

2014-07-07

空空如也

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

TA关注的人

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