• Bio

    #include<bits/stdc++.h>
    #include<windows.h>
    #include<stdio.h>
    #include<conio.h>
    #include<time.h>
    using namespace std;
    string c[45][45]; 
    int zz,zt,zy,zq,zc,zd=5,zx=0; 
    string ch=
    "墙墙墙墙墙墙墙墙墙墙墙墙墙墙墙墙墙墙\n"
    "墙                                墙\n"
    "墙                                墙\n"
    "墙                                墙\n"
    "墙                                墙\n"
    "墙                                墙\n"
    "墙                                墙\n"
    "墙                                墙\n"
    "墙                                墙\n"
    "墙                                墙\n"
    "墙                                墙\n"
    "墙                                墙\n"
    "墙墙墙墙墙墙墙墙墙        墙墙墙墙墙\n";
    
    int main(){
    	while(1){
    		cout<<"请选择你的天赋(你有"<<zd<<"个天赋点):\n";
    		cout<<"智力:";
    		cin>>zz;
    		zx+=zz;
    		if(zx>zd){
    			zz-=zx-zd;
    		}
    		cout<<"体力:";
    		cin>>zt;
    		zx+=zt;
    		if(zx>zd){
    			zt-=zx-zd;
    		}
    		cout<<"魅力:";
    		cin>>zy;
    		zx+=zy;
    		if(zx>zd){
    			zy-=zx-zd;
    		}
    		cout<<"权力:";
    		cin>>zq;
    		zx+=zq;
    		if(zx>zd){
    			zq-=zx-zd;
    		}
    		cout<<"财力:";
    		cin>>zc;
    		zx+=zc;
    		if(zx>zd){
    			zc-=zx-zd;
    		}
    		system("cls");
    		cout<<"你的数值:\n";
    		cout<<"智力:"<<zz<<endl;
    		cout<<"体力:"<<zt<<endl;
    		cout<<"魅力:"<<zy<<endl;
    		cout<<"权力:"<<zq<<endl;
    		cout<<"财力:"<<zc<<endl;
    		cout<<"按任意键开始游戏...";
    		getch();
    		system("cls");
    		for(int i=1;i<=36;i+=2){
    			for(int j=1;j<=13;j++){
    				c[i][j]=ch[i][i+1];
    			}
    		}
    		while(1){
    			
    		}
    	}
    	return 0;
    }
    
    
  • Accepted Problems

  • Recent Activities

    This person is lazy and didn't join any contests or homework.
  • Recent Solutions

    This person is lazy and didn't write any solutions.

Problem Tags

一本通编程启蒙
4