摘要: G.The Witchwood 思路: 从大到小排序,把前k个数加起来 #include <bits/stdc++.h> using namespace std; const int N = 1010; int a[N]; int main() { int n, k; cin >> n >> k; 阅读全文
posted @ 2021-11-08 20:07 彦辰kkkkk 阅读(239) 评论(0) 推荐(0)