安全问答

安全问答是一个知识全球问答,包含丰富的问答知识

首页 常规 游戏 娱乐 科技 程序员

#include iostream#include vector#include algorithmusing namespace std;int main int n k; cin n k; vectorint numsn; for int i = 0; i n; i++ cin numsi; int minOps = 0;

  • 日期: 2024-08-04
  • 标签: 社会

输入: 10 2 3 2 1 6 5 4 9 8 7 10

输出: 5

#include iostream#include vector#include algorithmusing namespace std;int main int n k; cin n k; vectorint numsn; for int i = 0; i n; i++ cin numsi; int minOps = 0;

原文地址: https://www.cveoy.top/t/topic/ial9 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录

  • 上一篇: 怎么获取list的值
  • 下一篇: 网名推荐正常

© 2019 • 2025 - 安全问答 站长邮箱:wxgpt@qq.com    ICP备案/许可证号:豫ICP备2024104334号-2