codeforces 1159 B. Expansion coefficient of the array
题意:略。我的解法与官方题解不一样。举例来看:1,2,3,4,5,6,7,8,9,10。先枚举长度,长度为10的时候只能是1和10的最小值除以9。长度为9时是1,10,2,9最小值除以8。长度为8时是1,8,2,9,3,10的最小值除以7。用优先队列维护就行。#include#include#include#include#include#include#include#include#inclu