hack+请求撤下14篇题解
查看原帖
hack+请求撤下14篇题解
803885
_8008008楼主2024/10/19 11:25

hack数据题目
hack数据生成代码

#include<iostream>
using namespace std;
int main(){
	puts("10000 20000");
	for(int i=1;i<=10000;i++){
		printf("0 ");
	}
	putchar('\n');
	for(int i=3;i<=5002;i++){
		printf("1 %d\n",i);
		printf("%d 2\n",i);
	}
	puts("1 3");
	for(int i=3;i<=5001;i++){
		printf("%d %d\n",i,i+1);
	}
	puts("1 2");
	puts("2 5003");
	for(int i=5003;i<=10000;i++){
		printf("%d %d\n",i,i+1);
	}
	return 0;
}

hack数据输出

0

被hack的题解
https://www.luogu.com.cn/article/05cx0wwaTLE
https://www.luogu.com.cn/article/4eomui97TLE
https://www.luogu.com.cn/article/7nd31pmbTLE
https://www.luogu.com.cn/article/n3rjdxicWA
https://www.luogu.com.cn/article/7drqf6dbTLE
https://www.luogu.com.cn/article/ek6ec1o1RE+题解内容错误:缩点之后可能不是一棵树
https://www.luogu.com.cn/article/vsb2e9dvTLE
https://www.luogu.com.cn/article/s4azpr19TLE
https://www.luogu.com.cn/article/j4nipye7第2种方法会TLE
https://www.luogu.com.cn/article/gnxiijbu
https://www.luogu.com.cn/article/jphhfxwzTLE
https://www.luogu.com.cn/article/2i8myb4i有防抄题解的return 1;改不改掉都会TLE
https://www.luogu.com.cn/article/q834j4h1TLE
https://www.luogu.com.cn/article/we8z8npo把快读里的防抄题解的游离的'\'去掉会CE->TLE
还有几篇CE,是因为有变量time或者next冲突了,没有进行测试
第一次hack,求问我该@谁

2024/10/19 11:25
加载中...