Cure_Wing @ 2023-08-15 17:46:11
用如下的数据生成器可以 hack 所有题解中提到的线段树做法:
#include<iostream>
#include<cstdio>
#include<algorithm>
using std::cin;using std::cout;
int n=1000000,q=3000;
signed main(){
// freopen(".in","r",stdin);
freopen("hack2.in","w",stdout);
std::ios::sync_with_stdio(false);
cin.tie(nullptr);cout.tie(nullptr);
cout<<n<<' '<<q<<'\n';
for(int i=1;i<=n;++i) cout<<2-(i&1)<<' ';
cout<<'\n';
for(int i=1;i<=q;++i) cout<<"A "<<1<<' '<<n<<' '<<2<<'\n';
return 0;
}
被 hack 的题解如下:
@fnoi16wjhui :https://www.luogu.com.cn/blog/_post/71587 ;
@EightSixSun:https://www.luogu.com.cn/blog/_post/75390 ;
@LM:https://www.luogu.com.cn/blog/_post/79372 ;
@功在不舍 :https://www.luogu.com.cn/blog/_post/175377 。
by GClock_519 @ 2023-10-18 13:17:14
by zhizhi_c @ 2023-10-18 14:29:34
[]()
[]()
by CWzwz @ 2023-10-18 15:50:59
不是,大佬您hack线段树做法,把我三个月前写的的分块也干掉了orz
by 可爱的小棉羊 @ 2023-10-18 17:48:23
火钳刘明
by xhhx12345678 @ 2023-10-18 18:29:12
火钳刘明
by 2010zhuyutong @ 2023-10-18 18:33:53
火钳刘明
by Little_x_starTYJ @ 2023-10-18 18:46:23
我要玩原神。
by tjx114514 @ 2023-10-21 20:12:15
我要玩原神<<1
by zhangshirui @ 2023-11-16 16:17:57
什么情况???
尊都假都???
本人此贴第
@_s_zy @flysfy_LJX
by cyj0314 @ 2023-11-20 19:57:17
原神启动!