当前位置:网站首页>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
边栏推荐
- Closure and closure function
- MySQL grouping query
- This diversion
- [combinatorics] generating function (positive integer splitting | unordered non repeated splitting example)
- 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
- [combinatorics] generating function (generating function application scenario | using generating function to solve recursive equation)
- ES6类的继承
- 小程序 多tab 多swiper + 每个tab分页
- 一入“远程”终不悔,几人欢喜几人愁。| 社区征文
- How do microservices aggregate API documents? This wave of operation is too good
猜你喜欢
Redis core technology and practice - learning notes (VII) sentinel mechanism
Global and Chinese pediatric palliative care drug market development research and investment planning recommendations report 2022-2028
How to install PHP on Ubuntu 20.04
Grammaire anglaise Nom - Classification
Computer graduation design PHP sports goods online sales system website
On Data Mining
Redis core technology and practice - learning notes (VI) how to achieve data consistency between master and slave Libraries
Deops入门
[combinatorics] generating function (summation property)
Ml (machine learning) softmax function to realize the classification of simple movie categories
随机推荐
Grammaire anglaise Nom - Classification
Kotlin的協程:上下文
Micro service component sentinel console call
Module 9 operation
Embedded-c language-7
Three gradient descent methods and code implementation
Investigation on the operation prospect of the global and Chinese Anti enkephalinase market and analysis report on the investment strategy of the 14th five year plan 2022-2028
微服务组件Sentinel控制台调用
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
[enumeration] annoying frogs always step on my rice fields: (who is the most hateful? (POJ hundred practice 2812)
Redis core technology and practice - learning notes (VII) sentinel mechanism
[LINUX]CentOS 7 安装MYSQL时报错“No package mysql-server available“No package zabbix-server-mysql availabl
ES6类的继承
How do microservices aggregate API documents? This wave of operation is too good
PUT vs. POST for Uploading Files - RESTful API to be Built Using Zend Framework
Golang string (string) and byte array ([]byte) are converted to each other
OpenSSL的SSL/BIO_get_fd
Fedora 21 安装 LAMP 主机服务器
Ssl/bio of OpenSSL_ get_ fd
OpenSSL的SSL/BIO_get_fd