• 个人简介

    反击极域代码

    #include<bits/stdc++.h>
    #include <windows.gh>
    using namespace std;
    void movexy(short x, short y){
        COORD position={x, y};
        HANDLE hOut=GetStdHandle(STD_OUTPUT_HANDLE);
        SetConsoleCursorPosition(hOut, position);
    }
    int main(){
        movexy(37, 7);
        cout<<"反电子教室系统"<<endl;
        cout<<endl;
        cout<<"                                     目前可以反击:"<<endl;
        SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_RED);
        cout<<"                      红蜘蛛多媒体网络教室 - 输入 k-rs即可反击"<<endl;
        SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 11);
        cout<<"                              极域电子教室 - 输入 k-jy即可反击"<<endl;
        SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 12);
        cout<<"                          伽卡他卡电子教室 - 输入 k-yk即可反击"<<endl;
        SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 7);
        cout<<"                                  如果在开启本程序后关闭本程序,"<<endl;
        cout<<"                                        本次反击将无效!"<<endl;
        cout<<"    input >>> ";
        string s;
        cin>>s;
        if(s=="k-rs"){
            system("cls");
            SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_RED);
            cout<<"                                  红蜘蛛反击系统启动成功"<<endl;
            Sleep(1000);
            SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 7);
            while(1)
            {
                system("taskkill /f /t /im REDAgent.exe");
                system("cls");
            }
        }
        if(s=="k-jy"){
            system("cls");
            SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 11);
            cout<<"                                  极域反击系统启动成功"<<endl;
            Sleep(1000);
            SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 7);
            while(1)
            {
                system("taskkill /f /t /im StudentMain.exe");
                system("cls");
            }
        }
        if(s=="k-yk"){
            system("cls");
            SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 12);
            cout<<"                                  伽卡他卡反击系统启动成功"<<endl;
            Sleep(1000);
            SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 7);
            while(1){
                system("taskkill /f /t /im Student.exe");
                system("cls");
            }
        } 
        return 0;
    }
    
    

    26层循环

    #include<bits/stdc++.h>
    using namespace std;
    int main(){
    	for(int a = 1;a <= 100;a++){
    		for(int b = 1;b <= a;b++){
    			for(int c = 1;c <= b;c++){
    				for(int d = 1;d <= c;d++){
    					for(int e = 1;e <= d;e++){
    						for(int f = 1;f <= e;f++){
    							for(int g = 1;g <= f;g++){
    								for(int h = 1;h <= g;h++){
    									for(int i = 1;i <= h;i++){
    										for(int j = 1;j <= i;j++){
    											for(int k = 1;k <= j;k++){
    												for(int l = 1;l <= k;l++){
    													for(int m = 1;m <= l;m++){
    														for(int n = 1;n <= m;n++){
    															for(int o = 1;o <= n;o++){
    																for(int p = 1;p <= o;p++){
    																	for(int q = 1;q <= p;q++){
    																		for(int r = 1;r <= q;r++){
    																			for(int s = 1;s <= r;s++){
    																				for(int t = 1;t <= s;t++){
    																					for(int u = 1;u <= t;u++){
    																						for(int v = 1;v <= u;v++){
    																							for(int w = 1;w <= v;w++){
    																								for(int x = 1;x <= w;x++){
    																									for(int y = 1;y <= x;y++){
    																										for(int z = 1;z <= y;z++){
    																											cout<<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<<endl;
    																										}
    																									}
    																								}
    																							}
    																						}
    																					}
    																				}
    																			}
    																		}
    																	}
    																}
    															}
    														}
    													}
    												}
    											}
    										}
    									}
    								}
    							}
    						}
    					}	
    				}	
    			}	
    		}
    	}
    	return 0;//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
    } 
    
  • 最近活动

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