Select a result to preview
设数列 a1,a2,⋯,a2023 中的每项 ai 均满足 ai∈{−2,−1,0,1,2}, 求这 2023 个数两两乘积之和的最小值.
用 bi 表示 {an} 中取值为 i 的值的个数,则 b−2+b−1+b0+b1+b2=2023.