删除电脑账户
C++#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
signed main(){
string my;
cout<<"your account:\n";
cin>>my;
for(int i=1;i<=100;i++){
string now=to_string(i);
while(now.size()<3)now="0"+now;
now="noi"+now;
if(now==my)continue;
string test="net user "+now+" /active:no";
cout<<test<<"\n";
system(test.c_str());
}
for(int i=1;i<=100;i++){
string now=to_string(i);
while(now.size()<3)now="0"+now;
now="S"+now;
if(now==my)continue;
string test="net user "+now+" /active:no";
cout<<test<<"\n";
system(test.c_str());
}
for(int i=1;i<=100;i++){
string now=to_string(i);
while(now.size()<3)now="0"+now;
now="J"+now;
if(now==my)continue;
string test="net user "+now+" /active:no";
cout<<test<<"\n";
system(test.c_str());
}
for(int i=1;i<=100;i++){
string now=to_string(i);
while(now.size()<3)now="0"+now;
now="GD"+now;
if(now==my)continue;
string test="net user "+now+" /active:no";
cout<<test<<"\n";
system(test.c_str());
}
string test="net user user /active:no";
cout<<test<<"\n";
system(test.c_str());
}