叉个题解
查看原帖
叉个题解
65681
UltiMadow楼主2023/3/10 22:09

题解:https://www.luogu.com.cn/blog/seztto/post-ti-xie-cf1268e-happy-cactus

复杂度似乎写假了,一个菊花图就可以卡掉(

gen:

#include<bits/stdc++.h>
#define int long long
using namespace std;
int n,m;
signed main(){
	n=500000;m=499999;
	cout<<n<<' '<<m<<endl;
	for(int i=2;i<=n;i++)cout<<1<<' '<<i<<endl;
	return 0;
}
2023/3/10 22:09
加载中...