https://blog.csdn.net/he_zhidan/article/details/134062303?spm=1001.2014.3001.5501C++前缀和算法的应用:从栈中取出 K 个硬币的最大面值和