当前位置:网站首页>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

边栏推荐
- 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
- Getting started with deops
- Inheritance of ES6 class
- [LINUX]CentOS 7 安装MYSQL时报错“No package mysql-server available“No package zabbix-server-mysql availabl
- Solve the problem of inaccurate network traffic monitored by ZABBIX with SNMP
- Grammaire anglaise Nom - Classification
- SQL injection -day16
- Kotlin的协程:上下文
- TCP拥塞控制详解 | 3. 设计空间
- PHP MySQL Update
猜你喜欢

Research on Swift

Redis core technology and practice - learning notes (VI) how to achieve data consistency between master and slave Libraries

What kind of experience is it when the Institute earns 20000 yuan a month?

Win32: dump file analysis of heap corruption

How to install PHP on Ubuntu 20.04

English語法_名詞 - 分類

聊聊支付流程的设计与实现逻辑
![[combinatorics] generating function (summation property)](/img/74/e6ef8ee69ed07d62df9f213c015f2c.jpg)
[combinatorics] generating function (summation property)

Research Report on competitive strategy Outlook Analysis and investment strategic planning of China's smart home equipment industry, 2022-2028

On Data Mining
随机推荐
English語法_名詞 - 分類
[combinatorics] generating function (generating function application scenario | using generating function to solve recursive equation)
Remote office tools sharing | community essay solicitation
Computer graduation project PHP library book borrowing management system
Lesson 13 of the Blue Bridge Cup -- tree array and line segment tree [exercise]
English语法_形容词/副词3级 - 倍数表达
[combinatorics] generating function (use generating function to solve the combination number of multiple sets R)
Getting started with deops
Managing multiple selections with MVVM - managing multiple selections with MVVM
[combinatorics] generating function (use generating function to solve the number of solutions of indefinite equation example 2 | extended to integer solution)
统计图像中各像素值的数量
PUT vs. POST for Uploading Files - RESTful API to be Built Using Zend Framework
Introduction to PHP MySQL
Baiwen.com 7 days Internet of things smart home learning experience punch in the next day
Ml (machine learning) softmax function to realize the classification of simple movie categories
Analysis report on production and marketing demand and investment forecast of China's PVC industry from 2021 to 2026
How to draw non overlapping bubble chart in MATLAB
BFS - topology sort
Keepalived setting does not preempt resources
[combinatorics] generating function (summation property)