社区讨论
hack+请求撤下14篇题解
P3387【模板】缩点参与者 21已保存回复 31
讨论操作
快速查看讨论及其快照的属性,并进行相关操作。
- 当前回复
- 31 条
- 当前快照
- 1 份
- 快照标识符
- @m2fmjkwi
- 此快照首次捕获于
- 2024/10/19 11:53 去年
- 此快照最后确认于
- 2026/02/11 02:43 4 周前
hack数据题目
hack数据生成代码:
CPPhack数据生成代码:
#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;
}
输出
CPP0
被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 @迟暮天复明
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 @迟暮天复明
回复
共 31 条回复,欢迎继续交流。
正在加载回复...