09 2021 档案

摘要:难度 中等 题目 Leetcode: 设计一个算法,找出数组中最小的k个数。以任意顺序返回这k个数均可。 题目解析这几天返校,就摸鱼几天吧,尬住了 1 class Solution { 2 public: 3 vector<int> smallestK(vector<int>& arr, int k 阅读全文
posted @ 2021-09-03 23:06 伊莉雅碳 阅读(32) 评论(0) 推荐(0)
摘要:难度 1400 题目 Codeforces: B. Two Buttons time limit per test 2 seconds memory limit per test Vasya has found a strange device. On the front panel of a de 阅读全文
posted @ 2021-09-02 23:56 伊莉雅碳 阅读(61) 评论(0) 推荐(0)