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

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

#include<iostream>
using namespace std;
int main(){
	freopen("hack1.in","w",stdout);
	puts("10000 19999");
	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<=9999;i++){
		printf("%d %d\n",i,i+1);
	}
	return 0;
}

输出

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/gnxiijbuTLE
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冲突了,没有检测。
@StarLbright40 @迟暮天复明

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