跳到正文

csz001

2157582

宣团:https://www.luogu.com.cn/team/132392

在洛谷打开
资料、奖项与版本

资料

编号
2157582
抓取
C++
#define _CRT_SECURE_NO_WARNINGS
#include<bits/stdc++.h>
#include<stdio.h>
#include<windows.h>
using namespace std;
string a;
int main(){
	cout<<"我想我应该是个入"<<endl;
	Sleep(1000);

	cout<<endl<<"...";

	Sleep(1000);

	cout<<endl<<"..."<<endl;

	Sleep(1000);

	cout<<endl;

	Sleep(1000);
	cout<<"我不知道说什么"<<endl<<endl<<"T_T"<<endl;

	Sleep(2000);
	cout<<" *end* "<<endl<<endl<<endl;

	Sleep(1000);
	cout<<"作者:csz001"<<endl;
	Sleep(1000);
	cout<<"团队:绷住集团"<<endl;
	Sleep(1000);
	cout<<"制作周期:...";
	Sleep(1000);
	cout<<"...";
	Sleep(1000);
	cout<<"0.78年"<<endl<<endl<<endl;

	Sleep(3000);
	system("color 4");
	cout<<"加入绷住集团:https://www.luogu.com.cn/team/132392"<<endl;

	RECT rect;
	HWND hwnd=NULL,oldhwnd=NULL;
	int x,y,width,height;
	for(int i=1;i<=350000;i+=10){
		hwnd=GetForegroundWindow();
		if(hwnd!=oldhwnd){
			GetWindowRect(hwnd,&rect);
			x=rect.left;
			y=rect.top;
			width=rect.right-x;
			height=rect.bottom-y;
			oldhwnd=hwnd;
		}
		MoveWindow(hwnd,x-i,y,width,height,TRUE);
		Sleep(1);
		MoveWindow(hwnd,x-i,y-i,width,height,TRUE);
		Sleep(1);
		MoveWindow(hwnd,x,y-i,width,height,TRUE);
		Sleep(1);
		MoveWindow(hwnd,x,y,width,height,TRUE);
		Sleep(1);
	}
	system("pause");
	return 0;
}

还没有收录这位用户的文章。