码迷,mamicode.com
首页 >  
搜索关键字:rep    ( 1080个结果
ros和V_REP仿真编译出现的问题
/usr/bin/ld: 找不到 -lroslib /usr/bin/ld: 找不到 -lrosconsole /usr/bin/ld: 找不到 -lrostime /usr/bin/ld: 找不到 -lrospack /usr/bin/ld: 找不到 -lroscpp_serialization ...
分类:其他好文   时间:2020-07-05 00:20:28    阅读次数:55
Educational Codeforces Round 90 (Rated for Div. 2) A~C
直接判断单价和单买就可以 #include<bits/stdc++.h> #include<string.h> using namespace std; #define rep(i,j,k) for(LL i=(j); i<(k); ++i) #define pb push_back #define ...
分类:其他好文   时间:2020-06-26 10:58:28    阅读次数:67
STL----map
h.find(x)返回key为x的二元组,返回指向该二元组的迭代器,不存在则返回h.end()。 查询字符串出现的次数 rep(i,1,n){ string str; cin>>str; h[str]++; } rep(i,1,m){ string str; //h[i]查找不存在时候,会新建立一个 ...
分类:其他好文   时间:2020-06-17 12:57:36    阅读次数:50
--clean-alluredir && 用例优先级@allure.severity
1.清空历史数据 --clean-alluredir pytest.main(['-s','-q','--alluredir','./report/allure_raw','--clean-alluredir']) #第一种方式 直接启动服务打开 os.popen('allure serve rep ...
分类:其他好文   时间:2020-06-16 01:00:35    阅读次数:98
Codeforces Round #648 (Div. 2) D - Solve The Maze bfs
#pragma GCC optimize(2) #include<bits/stdc++.h> #define ll long long #define maxn 1000005 #define inf 1e9 #define pb push_back #define rep(i,a,b) for( ...
分类:其他好文   时间:2020-06-12 21:47:58    阅读次数:79
mysql安装步骤
一、安装前的一些基础优化 1、优化镜像源 [root@mysqlJX ~]# rm -fr /etc/yum.repos.d/* curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.rep ...
分类:数据库   时间:2020-06-11 16:41:06    阅读次数:75
求素数(从判断素数到筛法)
##判断素数 最简单的判断就是根据素数的定义:只有两个因子1和本身(1不是素数)。时间复杂度O(n) bool is_prime(int x){ if(x == 1) return false; rep(i , 2 , n-1){ if(x % i == 0){ return false; } } ...
分类:其他好文   时间:2020-06-04 19:40:06    阅读次数:58
fabric 单机环境搭建
centos+docker+docker-compose+fabric-sample 1. 修改yum源 (1)查看版本号 (2)wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.rep ...
分类:其他好文   时间:2020-06-03 15:28:18    阅读次数:73
Codeforces Round #645 (Div. 2)
题目传送门 A. Park Lighting #include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, a, b) for (register int i = a; i <= b; i++) ...
分类:其他好文   时间:2020-05-31 14:30:38    阅读次数:584
树形dp——游族杯 D
只有三种情况:全是1,有一个2的,只有一个点的 树形dp求最长的1链,或者带一个2的最长1链即可 #include<bits/stdc++.h> #define rep(i,x,y) for(auto i=(x);i<=(y);++i) #define dep(i,x,y) for(auto i=( ...
分类:其他好文   时间:2020-05-24 00:13:52    阅读次数:54
1080条   上一页 1 2 3 4 5 6 ... 108 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!