我设计出了foj的第一台铁傀儡机
#include<bits/stdc++.h>
#include<unistd.h>
using namespace std;
int main()
{
for(;;)
{
cout<<" 囧"<<endl;
cout<<"囗口囗"<<endl;
cout<<" 口"<<endl;
usleep(400000);
system("cls");
cout<<" 囧"<<endl;
cout<<"口囗口"<<endl;
cout<<" 囗"<<endl;
usleep(400000);
system("cls");
}
}建议你抄代码 不建议你不抄代码
数字炸弹v1.50
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
HANDLE hConsole=GetStdHandle(STD_OUTPUT_HANDLE);
int color(int a){
if(a==0) SetConsoleTextAttribute(hConsole,FOREGROUND_GREEN|FOREGROUND_RED|FOREGROUND_BLUE);
else if(a==1) SetConsoleTextAttribute(hConsole,FOREGROUND_RED);
else if(a==2) SetConsoleTextAttribute(hConsole,FOREGROUND_GREEN);
else if(a==3) SetConsoleTextAttribute(hConsole,FOREGROUND_BLUE);
else if(a==4) SetConsoleTextAttribute(hConsole,FOREGROUND_GREEN|FOREGROUND_RED);
else if(a==5) SetConsoleTextAttribute(hConsole,FOREGROUND_RED|FOREGROUND_BLUE);
else SetConsoleTextAttribute(hConsole,FOREGROUND_GREEN|FOREGROUND_BLUE);
}
string s[100]={"1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"};
int cd()
{
for(;;)
{
int n=rand()%36+1;
color(n%5);
cout<<s[n];
}
}
int main()
{
srand(time(NULL));
cout<<"-0-0-0-0-0-0-0-0-0-0-0-0-0-"<<endl;
cout<<" 数字炸弹!!! "<<endl;
cout<<"-0-0-0-0-0-0-0-0-0-0-0-0-0-"<<endl;
cout<<"请输入最大数"<<endl;
int maxxx,sum=0;
cin>>maxxx;
int n=rand()%maxxx+1;
int minn=1,maxx=maxxx,xin;
int play=0;
for(;;)
{
cout<<"请"<<play%2+1<<"输入:"<<endl;
cin>>xin;
if(xin>maxx||xin<minn)
{
cout<<"-0-0-0-0-0-0-0-0-0-0-0-0-0-"<<endl;
cout<<"输入错误 "<<endl;
cout<<play%2+1<<"死了!!! "<<endl;
cout<<"用了"<<sum+1<<"次! "<<endl;
cout<<"-0-0-0-0-0-0-0-0-0-0-0-0-0-"<<endl;
int wwww=rand()%10+1;
if(wwww=1)
{
cd();
}
return 0;
}
if(xin==n)
{
cout<<"-0-0-0-0-0-0-0-0-0-0-0-0-0-"<<endl;
cout<<play%2+1<<"死了!!! "<<endl;
cout<<"用了"<<sum+1<<"次! "<<endl;
cout<<"-0-0-0-0-0-0-0-0-0-0-0-0-0-"<<endl;
int wwww=rand()%10+1;
if(wwww=1)
{
cd();
}
return 0;
}
if(xin>minn && xin<n)
minn=xin;
if(xin<maxx && xin>n)
maxx=xin;
if(maxx==n+1 && minn==n-1)
{
cout<<"-0-0-0-0-0-0-0-0-0-0-0-0-0-"<<endl;
cout<<"炸弹是 "<<n<<endl;
cout<<play%2+1<<"赢了!"<<endl;
cout<<"用了"<<sum+1<<"次! "<<endl;
cout<<"-0-0-0-0-0-0-0-0-0-0-0-0-0-"<<endl;
return 0;
}
cout<<"-0-0-0-0-0-0-0-0-0-0-0-0-0-"<<endl;
cout<<minn<<"~" <<maxx<<endl;
cout<<"-0-0-0-0-0-0-0-0-0-0-0-0-0-"<<endl;
sum++;
play++;
}
return 0;
}
//老师,代码会死循环呢(这不是死循环,这是特性)
原创诗
《申璟浩就是婴儿肥》
申璟浩是婴儿肥
这外号是真的对
两脸肥肉翘上天
别以为我看不见
啊卡伊也太好玩了吗
我真的好喜欢玩啊卡伊
神秘性感暴力大nt在等着你
闺蜜闺蜜跟我一起玩啊卡伊吧喵喵喵
以下内容需全文背诵
然后我们看一看
这位
这位高级抄手
抄级高手
又提了一个尖锐的意见
他说再不济也能方形蛇来代表最后的四个采音
我们看看是在哪里啊
应该是在我说的刚刚两个蛇的地方
这位高手发表了锐评
那么很显然我们不得不满足他的要求
他说再不济方形蛇也能表达最后四个采音
主播的评价是完全正确
好吧
完全正确
你要的方形蛇
这就给你写出来了
这样确实冲击力大大增强
你这个
写得不像是两个段落之间的过渡
反而写的像是一个加农炮
这位超级高手
短短的二十个字不到
就可以让官谱的谱面质量提升到一个
无与伦比的高度
提升到一个没有人曾想象过的高度
他的表现力炸裂
大家都能看得出来
不论是谁
第一次
打这个谱
碰到这四个方形蛇一定吓得下巴掉下来




