YouYeah
YouYeah
全部文章
分类
归档
标签
去牛客网
登录
/
注册
YouYeah的博客
全部文章
(共4篇)
题解 | 小红树上染色
#include<iostream> #include<vector> using namespace std; const int mod(1e9 + 7); vector<vector<int>> rec; pair<long long in...
2026-04-16
1
12
题解 | 【模板】扩展巴什博弈
#include <iostream> using namespace std; bool existsPositiveOddNonStrict(int n, int l, int r) { if(n%(l+r)>=l){ return true; ...
2026-04-14
1
16
题解 | 【模板】巴什博弈
#include <iostream> using namespace std; bool existsPositiveOddNonStrict(int n, int r) { if(n%(r+1)==0){ return false; }else{ ...
2026-04-14
1
13
题解 | 矩阵最长递增路径
#include<vector> using namespace std; class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * 递增路径的最大长度 * @para...
2026-04-09
1
29