- Hello, World!
CSP万事大吉!!!
- @ 2025-11-1 13:25:41
heads.h:
#include <iostream>
#include <string>
#include <windows.h>
namespace ns1{
void cin(int &tmp){
std::cin>>tmp;
}
void cin(bool &tmp){
std::cin>>tmp;
}
void cin(char &tmp){
std::cin>>tmp;
}
void cin(long &tmp){
std::cin>>tmp;
}
void cin(long long &tmp){
std::cin>>tmp;
}
void cin(unsigned long long &tmp){
std::cin>>tmp;
}
void cin(unsigned int &tmp){
std::cin>>tmp;
}
void cin(std::string &tmp){
std::getline(std::cin,tmp);
}
void say(std::string h,unsigned long sleep_ms){
for(int i=0;i<h.size();i++){
std::cout<<h[i];
Sleep((sleep_ms));
}
}
void cls(){
std::system("cls");
}
}
CSP万事大吉.cpp:
#include<bits/stdc++.h>
#include"heades/heads.h"
using namespace std;
typedef string str;
typedef long long ll;
int main(){
cout<<"Microsoft CSP-Windows-11 [版本 10.0.22631.5039]\n(C) Microsoft Corporation。保留所有权利。\n\nC:\\Users\\CSP-X>";
ns1::say("test csp-x /sj /update off /turn-on 1s\n",100);
Sleep(1000);
cout<<"CSP-X试机系统 输入exit退出\n";
cout<<"---------------------------------------------\n";
cout<<"| DEV ^ |\n";
cout<<"| EDGE \ |\n";
cout<<"| 回收站 |\n";
cout<<"| 此电脑 |\n";
cout<<"| |\n";
cout<<"| |\n";
cout<<"|WIN DEVC EDGE |\n";
cout<<"---------------------------------------------\n";
Sleep(1000);
system("cls");
cout<<"---------------------------------------------\n";
cout<<"|DEV |\n";
cout<<"| |\n";
cout<<"| |\n";
cout<<"| ...... |\n";
cout<<"| |\n";
cout<<"| |\n";
cout<<"| |\n";
cout<<"---------------------------------------------\n";
Sleep(1000);
system("cls");
cout<<"......";
ns1::cls();
system("start cmd");
Sleep(1000);
system("start explorer");
return 0;
}
0 条评论
目前还没有评论...
信息
- ID
- 1
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 9
- 标签
- (无)
- 递交数
- 9
- 已通过
- 6
- 上传者