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

原创 P1036 选数

p1036 选数#include <iostream>#include <cmath>#include <cstdio>using namespace std;int n,k,a[21],zh=0,t,s;bool b[21];int is_zhishu(int z){ if (z==0||z==1) { ...

2018-08-13 09:48:38 252

原创 P1217 [USACO1.5]回文质数 Prime Palindromes

P1217 [USACO1.5]回文质数 Prime Palindromes#include <iostream>#include <cmath>using namespace std;int a,b,x;long int huiwen(int n);int is_odd(int num);long int hui=0;long int huiwe...

2018-08-13 09:47:14 132

原创 P1478 陶陶摘苹果(升级版)

P1478 陶陶摘苹果(升级版)#include <iostream>using namespace std;int n,a,xi[5000],b,s,yi[5000],t=0;int main(){ cin>>n>>s; cin>>a>>b; for (int i=0;i<n;i++) ...

2018-08-13 09:45:55 324

原创 P1618 三连击(升级版)

P1618 三连击(升级版)#include <iostream>using namespace std;int x,y,z;int i,j;int a,b,c;int tmp,tmp1,tmp2,A,B,C,D,E,F,G,H,I,J;int t=0,o=1;;int main(){ cin >>x>>y>>z; ...

2018-08-13 09:44:19 206

原创 P1579 哥德巴赫猜想(升级版)

P1579 哥德巴赫猜想(升级版)#include <iostream>#include <cmath>using namespace std;int a;int is_zhishu(int x){ if (x==1||x==0) { return 0; } for (int i=2;i<=sqrt...

2018-08-13 09:41:24 147

原创 P2089 烤鸡

**P2089 烤鸡**#include <iostream>#include <cmath>using namespace std;int x,t=0;int main(){ cin>>x; if (x<=30&&x>=10)

2018-08-13 09:40:02 272

原创 P1307 数字反转

**P1307 数字反转**#include <iostream>using namespace std;char n[11];int x,type=1,m=0,a[11];int main(){ cin>>n; for (int i=0;i<=10;i++) { if (n[i]=='\0')...

2018-08-13 09:38:51 251

空空如也

空空如也

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

TA关注的人

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