码迷,mamicode.com
首页 >  
搜索关键字:namespace    ( 41927个结果
缩点+拓扑模板
#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> #include<stack> #include<queue> #define ll long long using ...
分类:其他好文   时间:2021-01-04 10:30:49    阅读次数:0
crd之创建deployment
clientset := K8sClient() var ( err error data []byte deployment =&v1.Deployment{} ) if data, err = ioutil.ReadFile("C:/Users/72088854/go/src/config"); ...
分类:其他好文   时间:2021-01-02 11:33:55    阅读次数:0
8.构造方法
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _7构造方法 { public class St ...
分类:其他好文   时间:2021-01-02 11:25:25    阅读次数:0
AcWing 842. 排列数字
给定一个整数n,将数字1~n排成一排,将会有很多种排列方法。 现在,请你按照字典序将所有的排列方法输出。 #include<bits/stdc++.h> using namespace std; int n,p[10]; bool k[10]; void out() { for(int i=1;i< ...
分类:Windows程序   时间:2021-01-02 11:10:23    阅读次数:0
从快速幂运算到矩阵快速幂
快速幂运算 HDU2035 求 http://acm.hdu.edu.cn/showproblem.php?pid=2035 题目是很简单的,因为b也不大所以时间复杂度为n的算法也能ac #include <iostream> using namespace std; int a, b; int p ...
分类:其他好文   时间:2021-01-01 12:58:37    阅读次数:0
例1-4 p39
#include<iostream>using namespace std;int main(){ int oneInt =1; int & ref=oneInt; const int &refc=oneInt; ref=2; cout<<"oneInt="<<oneInt<<","<<"ref=" ...
分类:其他好文   时间:2021-01-01 12:35:39    阅读次数:0
哈希.字符串哈希.AcWing.841
code: #include<bits/stdc++.h>//xfl using namespace std; const int N = 100007; typedef unsigned long long ull; ull mis[N],sum[N]; string s; int n,m,l1, ...
分类:Windows程序   时间:2021-01-01 11:54:31    阅读次数:0
acwing 868. 筛质数
线性筛 #include<bits/stdc++.h> #define N 1000010 using namespace std; int v[N],p[N]; void pr(int n) { memset(v,0,sizeof(v)); int m=0; for(int i=2;i<=n;i+ ...
分类:Windows程序   时间:2021-01-01 11:39:00    阅读次数:0
浮点数陷阱
对于程序 #include<iostream> using namespace std; int main() { double i; for(i=0; i!=10; i+=0.1){ printf("%.lf\n", i); // printf("%.16lf\n", i); } return 0 ...
分类:其他好文   时间:2020-12-31 12:21:10    阅读次数:0
condition
#include <deque> #include <thread> #include <mutex> #include <condition_variable> using namespace std; deque<int> queue; mutex mtx; condition_variable ...
分类:其他好文   时间:2020-12-31 12:12:20    阅读次数:0
41927条   上一页 1 ... 43 44 45 46 47 ... 4193 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!