小、pi孩
小、pi孩
全部文章
分类
Codeforce(14)
python学习(29)
动态规划(1)
快速幂 逆元(2)
数据结构(19)
最短路(1)
算法(26)
蓝桥杯(1)
计算机网络(2)
题解(2)
归档
标签
去牛客网
登录
/
注册
小、pi孩的博客
全部文章
(共97篇)
第二章(物理层)
第二章(物理层) 接受数据链路层发过来的01字符串,主要任务描述为确定与传输媒体的接口的一些特性 机械特性、电气特性、功能特性、规程特性 DTE:数据终端设备 DCE:数据电路端接设备 路由器是(双宿主堡垒主机) 防火墙是一种特殊的路由器,加了安全功能的路由器 IDS/IPS:入侵检测...
2020-10-07
0
641
Codeforces Round #628 (Div. 2)------EhAb AnD gCd
题目: You are given a positive integer x. Find any such 2 positive integers a and b such that GCD(a,b)+LCM(a,b)=x. As a reminder, GCD(a,b) is the greate...
2020-10-07
0
607
Codeforces Round #628 (Div. 2)------CopyCopyCopyCopyCopy
题目: Ehab has an array a of length n. He has just enough free time to make a new array consisting of n copies of the old array, written back-to-back. W...
2020-10-07
0
450
Codeforces Round #628 (Div. 2)------Ehab and Path-etic MEXs
题目: You are given a tree consisting of n nodes. You want to write some labels on the tree’s edges such that the following conditions hold: Every label...
2020-10-07
0
394
Codeforces Round #628 (Div. 2)------Ehab the Xorcist
题目: Given 2 integers u and v, find the shortest array such that bitwise-xor of its elements is u, and the sum of its elements is v. Input The only li...
2020-10-07
0
390
Codeforces Round #633 (Div. 2) ------ Sorted Adjacent Differences
题目: You have array of n numbers a1,a2,…,an. Rearrange these numbers to satisfy |a1−a2|≤|a2−a3|≤…≤|an−1−an|, where |x| denotes absolute value of x. It...
2020-10-07
0
506
蛮力法的应用------凸包问题(easy-x图形化)
演示截图: //蛮力法求凸包问题 #include<iostream> #include<vector> #include<algorithm> #include<conio.h> #include<map> #include<...
2020-10-07
0
767
分治法的应用------凸包问题(easy-x图形化)
//分治法求凸包问题 #include<iostream> #include<vector> #include<algorithm> #include<graphics.h> #include<conio.h> #include<ma...
2020-10-07
0
526
动态规划问题------ 0-1背包(easy-x图形化)
运行截图: //动态规划求0-1背包问题 #include<iostream> #include<vector> #include<graphics.h> #include<conio.h> using namespace std; stru...
2020-10-07
0
435
贪心算法的应用---背包问题(easy-x图形化)
运行截图: //贪心法求背包问题 #include<iostream> #include<algorithm> #include<graphics.h> #include<conio.h> using namespace std; const i...
2020-10-07
0
543
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页