反射提供描述程序集、模块和类型的对象(Type 类型)。 可以使用反射动态地创建类型的实例,将类型绑定到现有对象,或从现有对象中获取类型,然后调用其方法或访问器字段和属性。 如果代码中使用了特性,可以利用反射来访问它们 namespace assembly_name { public class a ...
#include<bits/stdc++.h> using namespace std; const int N = 200000,Inf=0x7fffff; struct edge{ int u,v,w; edge(int a,int b,int c){ u=a,v=b,w=c; } }; vec ...
分类:
其他好文 时间:
2021-06-02 17:40:23
阅读次数:
0
#include <iostream> #include <vector> using namespace std; using ll = long long ; const int N=2e5+10; ll f[N],g[N],size1[N]; vector<int>gg[N]; void df ...
分类:
其他好文 时间:
2021-06-02 17:01:29
阅读次数:
0
dd爱框框 一道思维题,画过转换图之后会发现最多会出现四种矩阵,那么只需要判断最后是哪一种就好了。 同时对于连续的直接去重,因为两个连续相同的等于不操作。 #include <bits/stdc++.h> using namespace std; const int N = 1010; int a[ ...
分类:
其他好文 时间:
2021-06-02 16:40:21
阅读次数:
0
#include<bits/stdc++.h> #define ull unsigned long long using namespace std; const int N=1000011; const ull St=233,M1=1000000007,M2=1000000009; int n,m ...
分类:
其他好文 时间:
2021-06-02 16:00:05
阅读次数:
0
题目 Atcoder 思路 代码 #include <iostream> using namespace std; const int N = 200010; int n, m, a[N], b[N]; int check(int mid) { for (int i = 1; i <= n * 2 ...
分类:
其他好文 时间:
2021-06-02 15:33:04
阅读次数:
0
题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 100010; int n, w[4][N], to[N], st[N]; ...
分类:
其他好文 时间:
2021-06-02 15:31:22
阅读次数:
0
题目 Atcoder 思路 代码 #include <iostream> #include <algorithm> #include <cstring> using namespace std; const int N = 100010, M = N << 1; int n, m; int h[N] ...
分类:
其他好文 时间:
2021-06-02 15:30:41
阅读次数:
0
1. namespace命名空间 命名空间(Namespace):kubernetes蒋资源对象逻辑上隔离,从而形成多个虚拟集群 应用场景: 根据不同团队划分命名空间 根据项目划分命名空间 kubectl_get namespace default:默认命名空间 kube-system:k8s系统方 ...
分类:
其他好文 时间:
2021-06-02 14:39:41
阅读次数:
0
##题目: (注:T1) ##想法 这道题是一个方案背包的类似板子的题,但是我并没有第一遍切,为什么呢?因为我在一个循环里把num[]数组写成了a[]数组,结果样例太水了被我过了,后来发现才9分,回头检查才发现数组写错了。太智障了,下次要认真点 ##代码: #include<bits/stdc++. ...
分类:
其他好文 时间:
2021-06-02 13:32:00
阅读次数:
0