自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 洛谷世界2.0

#include<stdlib.h>#include<stdio.h>#include<time.h> //suiji #include<string.h>#include<windows.h> //SLEEP函数struct Player //玩家结构体,并初始化player{    char name[21];    int atta...

2018-06-09 11:51:07 593

原创 彩票游戏

#include <cstdlib>#include <iostream>#include <cstdio>#include <cmath>#include <cstring>#include <algorithm>#include <queue>#include <string>#in

2018-06-09 11:48:23 485 1

原创 判断数正负

#include <iostream> using namespace std; int main() {  int N;  cin>>N;  if(N>0)cout<<"positive";  if(N==0)cout<<"zero";  if(N<0)cout<<"negative&quo

2018-05-27 19:23:38 1941

原创 判断

#include<iostream> using namespace std; int main(){ int k; cin>>k; if(k>0)cout<<"+"; if(k<0)cout<<"-";    if(k==0)cout<<"zero"; return 0;}

2018-05-27 19:22:11 89

原创 分段函数

#include <bits/stdc++.h> using namespace std; int main() {  int x,y;  cin>>x;  if(x>0) y=x+1;  if(x==0) y=x;  if(x<0) y=x-1;  cout<<y<<endl;    return 0; }

2018-05-27 19:20:39 350

原创 圆的s,c

#include <bits/stdc++.h> using namespace std; int main() {  int r;  float s,c;  cin>>r;  s=3.1415926*r*r;  c=3.1415926*2*r;  cout<<fixed<<setprecision(2)<<s<<endl; ...

2018-05-27 19:19:18 126

原创 Hello world!

#include <iostream> using namespace std; int main() {  cout<<"Hello, World!";    return 0; }

2018-05-27 19:14:05 93

原创 a,b之和

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

2018-05-27 19:12:18 129

原创 320-360偶数和

#include <iostream> using namespace std; int main() {  int s,i;  s=0;  for(i=320;i<=360;i++)    {    if(i%2==0)s=s+i; } cout<<"320-360偶数和"<<s<<endl;    return 0; }...

2018-05-27 19:08:14 128

原创 1+2+3+...+n

#include <bits/stdc++.h> using namespace std; int main() {  int n,S;  cin>>n;  S=(1+n)*n/2;  cout<<S<<endl;    return 0; }

2018-05-27 19:06:50 510

原创 超级玛丽

#include <bits/stdc++.h> using namespace std; int main() {    puts("             ********");puts("               ************");puts("               ####....#.");puts("             #..###.....##...

2018-05-27 15:01:23 338

原创 关机代码

{  systenc"shutdown -s -f -t 0");  return 0;}

2018-05-27 15:00:17 4836

空空如也

空空如也

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

TA关注的人

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