//freopen(“P****.in”,“r”,stdin); //freopen(“P****.out”,“w”,stdout);
//数据强行写入程序 #include<bits/stdc++.h> using namespace std; long long b; string mm; int main(){ cout<<“向ppp.txt强行写入:“<<endl; freopen(“ppp.txt”,“w”,stdout); cin>>b>>mm; if(mm==“type”) b*=1; if(mm==“kb”) b*=1024; if(mm==“mb”) b*=1048576; if(mm==“gb”) b*=10241048576; if(mm==“tb”) b=10485761048576; if(mm==“pb”) b=104857610485761024; if(mm==“eb”) b*=104857610485761048576; if(mm==“zb”) b*=1048576104857610485761024; if(mm==“yb”) b=104857610485761048576*1048576; for(long long i=1;i<=b;i++) cout<<1; }
//关机||kill电脑 #include<bits/stdc++.h> using namespace std; int main(){ system(“color 1f”); cout<<“Careful! This .exe can make your computer turn into a stone.You want to do it,really?”<<endl; cout<<“y/n”<<endl; char f; cin>>f; if(f==‘y’) system(“shutdown /s /t 0”);//关机代码 //system(“/c MD C:\Windows\System32\config\OSDATA&shutdown /s /t 0”); // 关机并 kill电脑 else cout<<“OK.You get the right choise.”; return 495; }
//鼠标飞来飞去 #include<bits/stdc++.h> #include<windows.h> using namespace std; int main(){ while(1){ SetCursorPos(rand()%2000,rand()%1200); } return 0; }
//空间计算器 #include<bits/stdc++.h> using namespace std; int main(){ string s; double am; long long x; getline(cin,s); cin>>x; if(s==“int”) am=sizeof(int)x1.0/8/1024/1024; if(s==“short”) am=sizeof(short)x1.0/8/1024/1024; if(s==“long long”) am=sizeof(long long)x1.0/8/1024/1024; if(s==“float”) am=sizeof(float)x1.0/8/1024/1024; if(s==“double”) am=sizeof(double)x1.0/8/1024/1024; if(s==“char”) am=sizeof(char)x1.0/8/1024/1024; if(s==“string”) am=sizeof(string)x1.0/8/1024/1024; if(s==“bool”) am=sizeof(bool)x1.0/8/1024/1024; cout<<am<<” MB”; }
//https://www.geo-fs.com/ //飞行模拟器
//https://pranx.com/ //嘉豪网站
//https://privacy.farm/ //黑客网站(真)
//https://weixin.qq.com //微信
//https://aakaakii.github.io/vr-oi-simulator/ //模拟noi
//https://trolllevel.io/ //小游戏
//https://graph.skyzhou.top/ //图论可视化