2025mzwc与朱元思数
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
题目背景
夹岸高山,皆生函数,一次函数,二次函数,三角函数,对数函数,指数函数 ...
---《与朱元思数》
题目描述
夹岸里生出了一个长度为 的数列 ,随后生出了一个函数 , 为 中从大到小的前 个数之和,求 的值。 会在输入中给出。
输入格式
第一行两个整数 。 第二行 个整数,。
输出格式
输出一个整数,。
样例
输入1
5 2
5 4 3 2 1
输出1
9
说明/提示
蒙自市2025年冬令营结营测试
- Status
- Done
- Rule
- IOI
- Problem
- 6
- Start at
- 2025-2-20 14:30
- End at
- 2025-2-20 16:30
- Duration
- 2 hour(s)
- Host
- Partic.
- 66