牛客831385665号
牛客831385665号
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客831385665号的博客
全部文章
(共7篇)
题解 | 田忌赛马
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int v1, v2, v3; cin >> ...
2025-06-24
0
6
题解 | #牛客春招训练营#【模板】单源最短路Ⅲ ‖ 非负权图
#include <bits/stdc++.h> using namespace std; #define int long long const int INF = 1e18; const int N = 2e6 + 5; int __t = 1, n; vector<pair&...
2025-05-27
0
23
题解 | 小红的取模构造
#include <iostream> #include <queue> #include <map> #include <set> #include <cmath> #include <cstring> #include &l...
2025-05-27
0
29
题解 | 小红的整数配对
#include <stdio.h> int cmp(const void *a, const void *b) { return *(int*)a - *(int*)b; }//qsort模版 int main() { int n, k; scanf("...
2025-05-27
0
18
题解 | #牛客春招刷题训练营# 【模板】单源最短路Ⅰ ‖ 无权图
#include <bits/stdc++.h> using namespace std; #define int long long const int INF = 1e18; const int N = 2e6 + 5; int __t = 1, n; vector<pair&...
2025-05-26
0
24
题解 | #牛客春招刷题训练营# 游游的最小公倍数
#include <bits/stdc++.h> using namespace std; #define int long long const int N = 2e5 + 5; int __t = 1, n; void solve() { cin >> n; ...
2025-05-26
0
20
题解 | #牛客春招刷题训练营# 小红的矩阵
#include<bits/stdc++.h> using namespace std; int main() { int n,m,sum=0,a[10001][10001]; cin>>n>>m; for(int i=0;i<n;i...
2025-05-26
0
24