跳到正文

huanglihuan

794484

主页:https://www.luogu.com.cn/paste/qmg0bisa

这是 2026年10月22日 存档的第 1 版,不是当前版本。查看当前版本

资料、奖项与版本

资料

编号
794484
抓取

版本

  1. v2当前
  2. v1
C++
#include <bits/stdc++.h>
#include <cstdio>
#define int long long
#define ull unsigned long long
#define mod 998244353
#define MOD 1000000007
using namespace std;
const int N = 2e6 + 5,maxn = 3e3 + 5;
const double goldnum = (sqrt (5) + 1) / 2;
inline int read ()
{
	int x = 0;
	bool f = 1;
	char c = getchar ();
	while (c < '0' || c > '9') f = (c == '-' ? !f : f),c = getchar ();
	while (c >= '0' && c <= '9') x = (x << 1) + (x << 3) + (c ^ 48),c = getchar ();
	return (f ? x : -x);
}
inline void write (int x)
{
	if (x < 0) putchar ('-'),x = -x;
	if (x > 9) write (x / 10);
	putchar (x % 10 + '0');
	return ;
}
signed main ()
{
//	freopen("xx.in","r",stdin);
//	freopen("xx.out","w",stdout);
	ios :: sync_with_stdio (false);
	cin.tie (0),cout.tie (0);
//	fclose(stdin);
//	fclose(stdout);
	return 0;
}