坦荡的牛油果人狠话不多
坦荡的牛油果人狠话不多
全部文章
分类
归档
标签
去牛客网
登录
/
注册
坦荡的牛油果人狠话不多的博客
全部文章
(共7篇)
题解 | 移山
#include <iostream> #include <vector> using namespace std; int main() { int n, m; cin >> n >> m; vector<int&g...
2026-03-03
0
16
题解 | 生成格雷码
#include <vector> class GrayCode { public: vector<string> getGray(int n) { // write code here vector<string> res...
2026-03-01
0
22
题解 | 微信红包
#include <unordered_set> class Gift { public: int getValue(vector<int> gifts, int n) { // write code here unordered_ma...
2026-03-01
0
21
题解 | 游戏任务标记
#include <iostream> #include <vector> using namespace std; std::vector<unsigned int> bits(32, 0); int checkTask(int a, int b) { ...
2026-02-27
0
33
题解 | 素数对
#include <iostream> #include <unordered_set> #include <vector> using namespace std; bool isPrime(int num) { if (num <= 1) { ...
2026-02-26
0
22
题解 | 石子合并
#include <iostream> #include <vector> int main() { int n; std::cin >> n; std::vector<int> w(n); for (int i = ...
2026-02-24
0
32
题解 | 小Q的排序
#include <iostream> #include <vector> int main() { int n; std::cin >> n; std::vector<int> a(n); for (int i = ...
2026-02-23
0
31