当前位置:网站首页>Naoqi robot summary 27
Naoqi robot summary 27
2022-07-03 18:11:00 【hiyaaa】
1. Basic algorithm
Kodori's fake dynamic cactus (nowcoder.com)
// Think it's dynamic planning , This is called fake dynamic directly, which is very real ... direct 1,2,1,2 . . . 1,2,1,2
#include<cstdio>
using namespace std;
int main()
{
int n;
scanf("%d",&n);
printf("%d\n",n/3*2+(n%3?1:0));
return 0;
}
// Only from the j To i Need to pay
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin>>n;
cout<<(n-1)/2;
return 0;
}
2.Gitee
First download git, Fool installation , All the way next that will do .
But the official website has been unable to download , Tried several times , A lot of time was wasted , Finally, the download link is copied to Xunlei to download successfully .
First , Generate public key
stay cdm Input in
ssh-keygen -t ed25519 -C "[email protected]"
Follow the prompts to complete three carriage returns , It can generate ssh key. By looking at ~/.ssh/id_ed25519.pub The contents of the document , Get public key
Copy generated ssh key, Through the warehouse home page 「 management 」->「 Deploy public key management 」->「 Add deployment public key 」 , Add generated public key Add to warehouse
After adding , stay cdm Input in
ssh -T [email protected]
After creating the warehouse cmd Execute the following code in the window
Under the item to be added shift+ Right click to open powershell window
Input according to the following figure
Submit successfully
边栏推荐
- The second largest gay dating website in the world was exposed, and the status of programmers in 2022
- Redis core technology and practice - learning notes (VI) how to achieve data consistency between master and slave Libraries
- Redis core technology and practice - learning notes (VII) sentinel mechanism
- How to expand the capacity of golang slice slice
- Supervisor monitors gearman tasks
- Research Report on investment trends and development planning of China's thermal insulation material industry, 2022-2028
- Lesson 13 of the Blue Bridge Cup -- tree array and line segment tree [exercise]
- Kotlin's collaboration: Context
- Module 9 operation
- Kotlin的協程:上下文
猜你喜欢
微服务组件Sentinel控制台调用
Sensor 调试流程
The number of incremental paths in the grid graph [dfs reverse path + memory dfs]
Redis core technology and practice - learning notes (11): why not just string
Module 9 operation
Deops入门
Grammaire anglaise Nom - Classification
Redis on local access server
How to draw non overlapping bubble chart in MATLAB
An academic paper sharing and approval system based on PHP for computer graduation design
随机推荐
PHP MySQL order by keyword
一入“远程”终不悔,几人欢喜几人愁。| 社区征文
An academic paper sharing and approval system based on PHP for computer graduation design
(9) Opencv Canny edge detection
The third day of writing C language by Yabo people
Computer graduation project PHP library book borrowing management system
Analysis report on production and marketing demand and investment forecast of China's PVC industry from 2021 to 2026
Image 24 bit depth to 8 bit depth
How to deploy applications on kubernetes cluster
Global and Chinese pediatric palliative care drug market development research and investment planning recommendations report 2022-2028
Should I be laid off at the age of 40? IBM is suspected of age discrimination, calling its old employees "dinosaurs" and planning to dismiss, but the employees can't refute it
Redis on local access server
Mature port AI ceaspectus leads the world in the application of AI in terminals, CIMC Feitong advanced products go global, smart terminals, intelligent ports, intelligent terminals
[combinatorics] generating function (shift property)
Global and Chinese health care OEM and ODM market status survey and investment planning recommendations report 2022-2028
English grammar_ Noun classification
Line by line explanation of yolox source code of anchor free series network (5) -- mosaic data enhancement and mathematical understanding
How to draw non overlapping bubble chart in MATLAB
Self executing function
Research on Swift