跳到正文

zjd2013

1803809

请输入文本

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

资料、奖项与版本

MR

https://www.luogu.com.cn/article/6zznm1xh

zjd2013

好问题

godlike

godlike

genlike

godlike

UKE 后继有人

重要的东西

基础模板

C++
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef char ch;
typedef string str;
typedef double db;
typedef __int128 i128;
const ll inf=9e18;
const i128 Inf=1e35;

int main()
{
	ios::sync_with_stdio(false);
	cin.tie(0);
	cout.tie(0);
  	
}

另一个模板

C++
#include <bits/stdc++.h>
#define open(s) freopen(s".in","r",stdin),freopen(s".out","w",stdout)
#define test(s) freopen(s".in","r",stdin),freopen(s".test","w",stdout)
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef char ch;
typedef string str;
typedef double db;
typedef __int128 i128;
const ll inf=9e18;
const i128 Inf=1e35;

int main()
{
	ios::sync_with_stdio(false);
	cin.tie(0);
	cout.tie(0);
  	
}
info
n≤n\lemax⁡1≤i≤nd(i)\max_{1\le i\le n}d(i)max⁡1≤i≤nω(i)\max_{1\le i\le n}\omega(i)
10104422
10210^2121233
10310^3323244
2×1032\times10^3404044
3×1033\times10^3484855
4×1034\times10^3484855
5×1035\times10^3484855
6×1036\times10^3606055
7×1037\times10^3606055
8×1038\times10^3646455
9×1039\times10^3646455
10410^4646455
2×1042\times10^4808055
3×1043\times10^4848455
4×1044\times10^4909066
5×1045\times10^410010066
6×1046\times10^412012066
7×1047\times10^412012066
8×1048\times10^412812866
9×1049\times10^412812866
10510^512812866
2×1052\times10^516016066
3×1053\times10^518018066
4×1054\times10^519219266
5×1055\times10^520020066
6×1056\times10^521621666
7×1057\times10^522422477
8×1058\times10^524024077
9×1059\times10^524024077
10610^624024077
2×1062\times10^628828877
3×1063\times10^636036077
4×1064\times10^636036077
5×1065\times10^638438477
6×1066\times10^638438477
7×1067\times10^640040077
8×1068\times10^643243277
9×1069\times10^644844877
10710^744844888
2×1072\times10^751251288
3×1073\times10^757657688
4×1074\times10^757657688
5×1075\times10^767267288
6×1076\times10^767267288
7×1077\times10^772072088
8×1078\times10^776876888
9×1079\times10^776876888
10810^876876888
2×1082\times10^896096088
3×1083\times10^81024102499
4×1084\times10^81024102499
5×1085\times10^81152115299
6×1086\times10^81200120099
7×1087\times10^81280128099
8×1088\times10^81344134499
9×1089\times10^81344134499
10910^91344134499
101010^{10}230423041010
101110^{11}403240321010
101210^{12}672067201111
101310^{13}10752107521212
101410^{14}17280172801313
101510^{15}26880268801414
101610^{16}41472414721414
101710^{17}64512645121414
101810^{18}1036801036801515
101910^{19}1612801612801515
102010^{20}2457602457601616
102110^{21}3686403686401616
102210^{22}5529605529601616
102310^{23}8601608601601717
102410^{24}129024012902401818
102510^{25}196608019660801919
102610^{26}276480027648001919
102710^{27}412876841287681919
102810^{28}619315261931521919
102910^{29}895795289579522020
103110^{31}19660800196608002121
103210^{32}28311552283115522121
103310^{33}41287680412876802222
103410^{34}59719680597196802222
103610^{36}1274019841274019842323
103710^{37}1816657921816657922424
103810^{38}2642411522642411522525
103910^{39}3822059523822059522525
104010^{40}5308416005308416002626
104110^{41}7785676807785676802727