hack!

P2801 教主的魔法

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 jeffstart @ 2023-12-06 17:09:39

@CWzwz 我的分块也没了


by Humour_Fz @ 2024-01-01 13:57:15

火候刘明


by _anll_ @ 2024-01-12 08:10:29

原神,启动!原来你也____


by Miracle_InDream @ 2024-06-30 15:27:09

留名


by Rieman_sum @ 2024-06-30 15:28:43

考古


by Dark_Star @ 2024-06-30 15:29:11

\color{white}{ }

by CQBZ_ZJYjoe @ 2024-06-30 17:28:37

烤谷


by lucasincyber @ 2024-07-02 16:21:36

考古


by crz_qwq @ 2024-07-08 19:46:01


by Reduct @ 2024-08-01 20:05:31

@小粉兔 2024.8.1考古


上一页 | 下一页