Problem #Source: PAT 1007{target="_blank"}Description #Given a sequence of K integers .Input Specification #Output Specification #Sample Input #Sample Output #Solution #Code #Github (C++){button.button–outline-info.button–rounded}{target="_blank"}