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
给定一个整数n,将数字1~n排成一排,将会有很多种排列方法。 现在,请你按照字典序将所有的排列方法输出。 #include<bits/stdc++.h> using namespace std; int n,p[10]; bool k[10]; void out() { for(int i=1;i< ...
虚拟机版本为Centos7 1.查看VMware分配的子网(NAT) 进入虚拟机,点击左上角编辑->虚拟网络编辑器点开之后: 2.修改配置文件 cd /etc/sysconfig/network-scripts/ vim ifcfg-ens33 这是已经配置好的文件,相较于原文件,有两个需要修改和四 ...
分类:
系统相关 时间:
2021-01-02 11:03:38
阅读次数:
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
#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
1.get jetson_nano_ipAddress in local area network 1)router get jetson nano wlan/eth ipAddress ifconfig 2)jetson nano or PC , AP/network cable get PC w ...
分类:
其他好文 时间:
2021-01-01 12:16:05
阅读次数:
0
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, ...
线性筛 #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+ ...
对于程序 #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
#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