摘要: 暴力枚举即可,注意特判k为0的情况。 class Solution { public: vector<int> divingBoard(int shorter, int longer, int k) { if(k == 0) { return {}; } vector<int> res; set<i 阅读全文
posted @ 2020-07-08 00:32 machine_gun_lin 阅读(78) 评论(0) 推荐(0)