部分图片来自,
还有这里。
?
将刷题
唐·李WA
君不见,洛谷之题天上来,复杂到海不舍回。
君不见,高堂明镜悲白发,朝如青丝暮成雪。
人生WAWA须尽思,莫使电脑空对题。 天生我材没有用,千方百计还RE。
AC一点且为乐,会须一刷三百WA。
吾团友,牛大佬,
将刷题,手莫停!!!
与题做一遍,请系统为蒟蒻以测评。
天天WAWA不足贵,但愿长眠不复醒!!!
古来大佬皆刷题,惟有蒟蒻水犇犇。
站长昔时万AC,斗题十千恣欢谑。
主人何为言AC?径须沽取对君WA。
TLE,MLE,OLE,UKE,WA,PC,CE和RE。
呼儿将出换AC,与尔同销万古愁!!!!
AC=Answer Coarse=粗劣的答案
WA=Wonderful Answer=完美的答案
TLE=Time Limit Enough=时间充裕
MLE=Memory Limit Enough=内存充裕
CE=Compile Easily=轻松通过编译
RE=Run Easily=轻松通过运行
?暴搜挂着机,打表出省一。骗分过样例,暴力出奇迹。
数学先打表,DP看运气。穷举TLE,打表UKE。
模拟MLE,贪心还CE。想要骗到分,就要有办法。
图论背模板,数论背公式。动规背方程,高精背代码。
如果都没背,干脆输样例!
七八个测试点,两三次CE前,旧时题解花样变,听取WA声一片......
#include<cstdio>
int main(void){
printf("%c%c%c%c%c%c%c%c%c%c%c%c%c%c",-48,-95,-69,-17,-41,-45,-45,-48,-75,-29,-49,-48,-63,-53);
return 0;
}
别来打我[狗头保命]
#include<iostream>
#include<windows.h>
#include<cmath>
using namespace std;
int main()
{
HWND hwnd= GetForegroundWindow();
RECT r;
GetWindowRect(hwnd,&r);
int x=r.left,y=r.top;
float i=0;
while(true)
{
i+=0.02;
MoveWindow(hwnd,x+sin(i)*500,y+cos(i)*500,1000,400,true);
Sleep(10);
}
}
#include<bits/stdc++.h>
#include<windows.h>
#include<conio.h>
#define KEY_DOWN(VK_NONAME) ((GetAsyncKeyState(VK_NONAME) & 0x8000) ? 1:0)
using namespace std;
char c;
string kv="TPP",km="艾伦格",ks="单人";
//基本必备函数
void SetPos(COORD a)//光标定位
{
HANDLE out=GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleCursorPosition(out, a);
}
void SetPos(int i, int j)//光标定位
{
COORD pos= {i, j};
SetPos(pos);
}
void color(int a)//颜色
{
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),a);
}
void Pos()//隐藏光标
{
HANDLE hOut = GetStdHandle(STD_OUTPUT_HANDLE);
CONSOLE_CURSOR_INFO cci;
GetConsoleCursorInfo(hOut, &cci);
cci.bVisible = FALSE;
SetConsoleCursorInfo(hOut, &cci);
}
//所有函数
void loading()
{
color(8);
SetPos(0,5);
cout<<" -----------------"<<endl;
cout<<" -| |-"<<endl;
cout<<" | PUBG |"<<endl;
cout<<" -| |-"<<endl;
cout<<" -----------------"<<endl<<endl<<endl;
color(14);
cout<<" 加载中";
cout<<endl<<endl;
color(8);
for (int i=0; i<36; i++)
cout<<"-";
SetPos(0,14);
color(15);
Pos();
for (int i=0; i<36; i++)
{
cout<<"-";
_sleep(80);
}
cout<<endl<<"100%";
_sleep(1500);
}
void lobby()
{
system("Cls");
cout<<"-----------------------------------------------------------"<<endl;
cout<<"|开始(k) | | |"<<endl;
cout<<"|--------| | |"<<endl;
cout<<"|视角(v):| | |"<<endl;
printf("|%s | | ||\n",kv.c_str());
cout<<"|--------| | _| |"<<endl;
cout<<"|地图(m):| __ | | |"<<endl;
printf("|%s | | | | | |\n",km.c_str());
cout<<"|--------| _|__|_ | _| |"<<endl;
cout<<"|模式(s):| _| |_ ____||____ |"<<endl;
printf("|%s | | |PUBG| | | | | | |\n",ks.c_str());
cout<<"|========| | |____| | |__|____|__| |"<<endl;
cout<<"| | | | | | | |"<<endl;
cout<<"| ______ | | | | | | |"<<endl;
cout<<"| ___| |___|____|_________________|_|____|_|___|"<<endl;
cout<<"|______| |"<<endl;
cout<<"| |"<<endl;
cout<<"-----------------------------------------------------------"<<endl;
}
void v()
{
system("Cls");
cout<<"-----------------------------------------------------------"<<endl;
cout<<"|开始(k) | | |"<<endl;
cout<<"|--------|-----| | |"<<endl;
cout<<"|视角(v):|TPP:t| | |"<<endl;
printf("|%s |FPP:f| | ||\n",kv.c_str());
cout<<"|--------|-----| | _| |"<<endl;
cout<<"|地图(m):| __ | | |"<<endl;
printf("|%s | | | | | |\n",km.c_str());
cout<<"|--------| _|__|_ | _| |"<<endl;
cout<<"|模式(s):| _| |_ ____||____ |"<<endl;
printf("|%s | | |PUBG| | | | | | |\n",ks.c_str());
cout<<"|========| | |____| | |__|____|__| |"<<endl;
cout<<"| | | | | | | |"<<endl;
cout<<"| ______ | | | | | | |"<<endl;
cout<<"| ___| |___|____|_________________|_|____|_|___|"<<endl;
cout<<"|______| |"<<endl;
cout<<"| |"<<endl;
cout<<"-----------------------------------------------------------"<<endl;
Pos();
char c;
while (1)
if (kbhit())
{
c=getch();
if (c=='f')
kv="FPP";
if (c=='t')
kv="TPP";
break;
}
lobby();
}
void m()
{
system("Cls");
cout<<"-----------------------------------------------------------"<<endl;
cout<<"|开始(k) | | |"<<endl;
cout<<"|--------| | |"<<endl;
cout<<"|视角(v):| | |"<<endl;
printf("|%s | | ||\n",kv.c_str());
cout<<"|--------|--------| | _| |"<<endl;
cout<<"|地图(m):|艾伦格:a| __ | | |"<<endl;
printf("|%s |米拉马:m| | | | | |\n",km.c_str());
cout<<"|--------|萨诺:s | _|__|_ | _| |"<<endl;
cout<<"|模式(s):|--------| _| |_ ____||____ |"<<endl;
printf("|%s | | |PUBG| | | | | | |\n",ks.c_str());
cout<<"|========| | |____| | |__|____|__| |"<<endl;
cout<<"| | | | | | | |"<<endl;
cout<<"| ______ | | | | | | |"<<endl;
cout<<"| ___| |___|____|_________________|_|____|_|___|"<<endl;
cout<<"|______| |"<<endl;
cout<<"| |"<<endl;
cout<<"-----------------------------------------------------------"<<endl;
Pos();
char c;
while (1)
if (kbhit())
{
c=getch();
if (c=='a')
km="艾伦格";
if (c=='m')
km="米拉马";
if (c=='s')
km="萨诺岛";
break;
}
lobby();
}
void s()
{
system("Cls");
cout<<"-----------------------------------------------------------"<<endl;
cout<<"|开始(k) | | |"<<endl;
cout<<"|--------| | |"<<endl;
cout<<"|视角(v):| | |"<<endl;
printf("|%s | | ||\n",kv.c_str());
cout<<"|--------| | _| |"<<endl;
cout<<"|地图(m):| __ | | |"<<endl;
printf("|%s | | | | | |\n",km.c_str());
cout<<"|--------|------| _|__|_ | _| |"<<endl;
cout<<"|模式(s):|单人:1| _| |_ ____||____ |"<<endl;
printf("|%s |双人:2| | |PUBG| | | | | | |\n",ks.c_str());
cout<<"|========|四人:4| | |____| | |__|____|__| |"<<endl;
cout<<"| |------| | | | | | | |"<<endl;
cout<<"| ______ | | | | | | |"<<endl;
cout<<"| ___| |___|____|_________________|_|____|_|___|"<<endl;
cout<<"|______| |"<<endl;
cout<<"| |"<<endl;
cout<<"-----------------------------------------------------------"<<endl;
Pos();
char c;
while (1)
if (kbhit())
{
c=getch();
if (c=='1')
ks="单人";
if (c=='2')
ks="双人";
if (c=='4')
ks="四人";
break;
break;
}
lobby();
}
void run()
{
srand((unsigned)time(NULL)); //设定以当前时间为随机数种子
for (int i=1; i<=rand()%10; i++)
{
system("Cls");
cout<<"-----------------------------------------------------------"<<endl;
cout<<"| 匹配中 | | |"<<endl;
printf("| 00:0%d | | |\n",i);
cout<<"|--------| | |"<<endl;
cout<<"| | ||"<<endl;
cout<<"| | _| |"<<endl;
cout<<"| __ | | |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| _|__|_ | _| |"<<endl;
cout<<"| _| |_ ____||____ |"<<endl;
cout<<"| | |PUBG| | | | | | |"<<endl;
cout<<"| | |____| | |__|____|__| |"<<endl;
cout<<"| | | | | | | |"<<endl;
cout<<"| ______ | | | | | | |"<<endl;
cout<<"| ___| |___|____|_________________|_|____|_|___|"<<endl;
cout<<"|______| |"<<endl;
cout<<"| |"<<endl;
cout<<"-----------------------------------------------------------"<<endl;
_sleep(800);
}
for (int i=1; i<=100; i++)
{
if (i<=9)
{
system("Cls");
cout<<"---------------------------------------------------------------"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| 加载中... |"<<endl;
printf("| %%%d |\n",i);
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"---------------------------------------------------------------"<<endl;
}
if (i>=10 && i<=99)
{
system("Cls");
cout<<"---------------------------------------------------------------"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| 加载中... |"<<endl;
printf("| %%%d |\n",i);
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"---------------------------------------------------------------"<<endl;
}
if (i==100)
{
system("Cls");
cout<<"---------------------------------------------------------------"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| 加载中... |"<<endl;
printf("| %%%d |\n",i);
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"---------------------------------------------------------------"<<endl;
}
}
system("Cls");
printf("\n\n\n\n\n 你被坑了!");
for(;;)
{
SetCursorPos(0,0);
//system("start cmd.exe");
}
}
//框架函数
void swit()
{
char c;
loop:
if (kbhit())
{
c=getch();
switch (c)
{
case 'k':
{
run();
break;
}
case 'v':
{
v();
break;
}
case 'm':
{
m();
break;
}
case 's':
{
s();
break;
}
}
}
goto loop;
}
int main()
{
Pos();
printf("启动加速器?\n\n\n");
while(1)
if(KEY_DOWN(MOUSE_MOVED))
{
system("Cls");
color(11);
string a="蓝洞集团提醒您:请按Shift键调成英文输入环境后进行游玩\n\n\n\n\n蓝洞加速器启动中\n\n";
for(int i=0; i<a.size(); i++)
{
cout<<a[i];
_sleep(50);
}
color(1551);
for (int i=0; i<20; i++)
{
printf("_");
_sleep(32);
}
SetPos(0,7);
color(1727);
for (int i=0; i<20; i++)
{
_sleep(32);
printf("_");
}
_sleep(100);
color(0);
system("Cls");
loading();
lobby();
swit();
return 0;
}
}
//(被坑结局办法:重启或cmd)嘿嘿~~~
cmd代码:
taskkill /f /im 你的文件名.exe