社区讨论
意义不明
灌水区参与者 5已保存回复 9
讨论操作
快速查看讨论及其快照的属性,并进行相关操作。
- 当前回复
- 9 条
- 当前快照
- 1 份
- 快照标识符
- @m1uk3gda
- 此快照首次捕获于
- 2024/10/04 18:02 去年
- 此快照最后确认于
- 2024/10/04 19:40 去年
CPP
#include<bits/stdc++.h>
#include<conio.h>
#include<windows.h>
using namespace std;
int main(){
system("color 0b");
srand(time(0));
cout<<"please press the letter to choose mode"<<endl;
cout<<"j is for CSP-J s is for CSP-S"<<endl;
int RP=0;
if(getch()=='j'){
int score=0;
system("cls");
cout<<"press x to decide your RP!";
if(getch()=='x'){
RP=rand()%100+1;
}
system("cls");
cout<<"your RP:"<<RP<<endl;
cout<<"Now choose the problem's answer!(4 problem)"<<endl;
cout<<"you can press a,b,c,d(don't ask me why program problems has option ツ(idk too))"<<endl;
for(int i=1;i<=4;i++){
system("color 0b");
cout<<"your score "<<score<<endl;
cout<<"The "<<i<<" problem!"<<endl;
int right=rand()%4+1,nggu=rand()%4+1;
while(nggu==right){
nggu=rand()%4+1;
}
int c=getch()-96;
if(c==right){
system("color 0A");
cout<<"WTF?! U AC ITTTTT!!!!!! GOOD JOBBBBB!!!!";
Sleep(2000);
score+=100;
system("cls");
}
else if(c==nggu){
cout<<"You get "<<RP<<" score! great!";
Sleep(2000);
score+=RP;
system("cls");
}
else{
system("color 04");
cout<<"Not right answer... redouble your efforts";
Sleep(2000);
system("cls");
}
}
if(score<=100){
system("color 04");
cout<<"U NEED MORE PRACTICE!!!! DO UR F**KING PROBLEM NOWWWWWWWW!!!! >=(";
}
else if(score>=100&&score<=200){
system("color 09");
cout<<"u are better than me.... ok,I admit I'm the worsest oier (ToT)";
}
else if(score>=200&&score<=399){
system("color 06");
cout<<"wow! so good! i think you can try to AK it awa";
}
else if(score==400){
system("color 0A");
cout<<"wtf?! your score is hard to describe it in words! you AK it! QWQ";
}
}
else if(getch()=='s'){
int score=0;
system("cls");
cout<<"press x to decide your RP!";
if(getch()=='x'){
RP=rand()%30+1;
}
system("cls");
cout<<"your RP:"<<RP<<endl;
cout<<"Now choose the problem's answer!(4 problem)"<<endl;
cout<<"you can press a,b,c,d,e,f,g,h(don't ask me why program problems has option ツ(idk too))"<<endl;
for(int i=1;i<=4;i++){
system("color 0b");
cout<<"your score "<<score<<endl;
cout<<"The "<<i<<" problem!"<<endl;
int right=rand()%8+1,nggu=rand()%8+1;
while(nggu==right){
nggu=rand()%8+1;
}
int c=getch()-96;
if(c==right){
system("color 0A");
cout<<"WTF?! U AC S PROBLEM?! YOU ARE BEST!!!!";
Sleep(2000);
score+=100;
system("cls");
}
else if(c==nggu){
cout<<"You get "<<RP<<" score! "<<"No full score... but good too!(is s not j!!)";
Sleep(2000);
score+=RP;
system("cls");
}
else{
system("color 04");
cout<<"Not right answer... is very normal... redouble your efforts";
Sleep(2000);
system("cls");
}
}
if(score==0){
cout<<"emm... you have a lot of brave... you are good too qwq";
}
if(score>0&&score<=100){
system("color 04");
cout<<"not very high score... but you are very good!(is s!)";
}
else if(score>=100&&score<=200){
system("color 09");
cout<<"wow! the score in s is very nice! you can try 300 score!";
}
else if(score>=200&&score<=399){
system("color 06");
cout<<"wtf?! your score is hard to describe it in words! you AK it! QWQ";
}
else if(score==400){
system("color 0A");
cout<<"I dont wanna say anything... you're a god.....";
}
}
return 0;
}
回复
共 9 条回复,欢迎继续交流。
正在加载回复...