#P4242. 烹饪问题

烹饪问题

Description

Input Format


N<=1e6 , a<=INT_MAX;

Output Format

输出一行⼀个整数,表示最高的契合度。
3
1 2 3
2

Hint

Source

gesp 五级 202312