自定义博客皮肤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)
  • 收藏
  • 关注

原创 201503-3节日

思路: 第一步,计算1850年到起始年的天数days, 第二步, 计算从1850年开始,到i年a月1日的天数days2 第三步,知道了某月第一天是星期几的基础上,计算i年的a月第b个星期c是当月的几号d = (b-1) * 7 + ((weekd >= c) ? (c + 7 - weekd) : (c - weekd)); #include <iostream> usin...

2020-03-15 12:24:36 76

原创 20170902公共钥匙盒

#include<bits/stdc++.h> using namespace std; struct Key{//定义Key类 int num;//钥匙编号 int time;//当前时间 bool borrow;//表示是取钥匙还是还钥匙 ,true表示取,false表示还 Key(int n,int t,bool b):num(n),time(t),borrow(...

2020-03-08 18:27:14 63

原创 20160902火车购票

#include<bits/stdc++.h> using namespace std; int main(){ int a[20];//每排剩余座位数 for(int i=0;i<20;++i) a[i]=5;//初始化为5 int N; scanf("%d",&N); while(N--){ in...

2020-03-08 18:27:04 65

原创 2013-12 ISBN号码

#include<iostream> #include<cstdio> #include<cstring> #include<algorithm> #include<cmath> using namespace std; int main() { string s; cin>>s; int sum=0,cnt=1; f...

2020-03-08 18:18:13 84

原创 2014-03 窗口

#include<iostream> #include<cstdio> using namespace std; struct win { int x1,y1; int x2,y2; }a[10]; int main() { int n,m,b[10]; cin>>n>>m; for(int i=0;i<n;i++) { b[i...

2020-03-08 17:40:11 79

空空如也

空空如也

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

TA关注的人

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