自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (5)
  • 收藏
  • 关注

原创 codeforces div518 D - Array Without Local Maximums - [dp]

题意:给定一个长度为 n(n≤1e5) 的数组 a[1:n],a[i] 的值域为 1 到 200,且每个数的旁边必须有一个不小于它的数。而有些数字被擦掉了,现在问共有多少种可行的填充方案。题解:看到这题第一感觉就dfs暴力搜索,然而时间复杂度显然不行,因此考虑dp。考虑 dp[i][x][0,1,2] 的表示的状态为已经确定了第 i 个数字为 x,而 0,1,2 分别表示第 i−1 个数 w...

2019-09-30 11:34:03 89

原创 codeforces_509_div2_D

按间隔长度尺取即可。没有相交段。#include<iostream> #include<cstdio>#include<cmath>#include<cstdlib>#include<cstring>#include<algorithm>using namespace std;int read(){ ...

2019-09-30 11:29:14 52

原创 Codeforces Round#509 Div.2 C

贪心,每次选择最后一次喝咖啡最早的一天,看是否能将此次喝咖啡加入这天,不行就新开一天。堆维护即可。#include<iostream> #include<cstdio>#include<cmath>#include<cstdlib>#include<cstring>#include<algorithm>#inc...

2019-09-30 11:27:25 63

原创 FCFS 的算法调度实现

1. FCFS 算法实现C++ 代码如下实现的方法: 模拟简单的数据结构代码功能:实现现有数据的CPU调度算法   #include <iostream>#include <string>#include <cstdio>#include <algorithm>#include <set>#include <vec...

2019-09-30 10:42:03 833

原创 RR 轮转算法CUP 调度

基于RR算法的CPU调度具体数据的实现#include<iostream>#include<algorithm>#include<queue>using namespace std;#define MAXSIZE 5int ID[MAXSIZE], COME_TIME[MAXSIZE], RUN_TIME[MAXSIZE];struct proc...

2019-09-30 10:38:52 359

原创 数字字符识别

https://blog.csdn.net/ganwenbo2011/article/details/80005288

2019-09-20 19:38:19 646

原创 D. Cow and Snacks codeforces # 585 div2 小思维题

D. Cow and Snackstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe legendary Farmer John is throwing a huge party, and animals from all ove...

2019-09-20 19:29:24 330

原创 codeforces div2 #585 B. The Number of Products

B. The Number of Productstime limit per test2 secondsmemory limit per test256 megabytes inputstandard input outputstandard outputYou are given a sequence ????1,????2,…,???????? consisting of ???? non-zero intege...

2019-09-20 19:03:47 106

原创 CF C. Ancient Berland Circus

C. Ancient Berland Circustime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputNowadays all circuses in Berland have a round arena with diameter 13 ...

2019-09-17 21:09:03 231 1

原创 CF Theatre Square(注意强制类型转换)

Theatre Square in the capital city of Berland has a rectangular shape with the sizen×m meters. On the occasion of the city’s anniversary, a decision was taken to pave the Square with square granite f...

2019-09-17 21:06:28 150

git工具之git-extension

git工具更加方便管理git版本 git-extension

2023-11-14

ChineseNumberIdentify-master.zip

通过Python语言,机器学习技术,识别汉字数字 通过Python语言,机器学习技术,识别汉字数字 通过Python语言,机器学习技术,识别汉字数字

2020-06-11

事件驱动大作业.zip

Zork_SDUT_2020

2020-06-11

海外名校计算机网络习题答案.pdf

海外名校计算机网络习题答案.pdf

2020-05-09

国外计算机网络习题整理.pdf

国外计算机网络习题整理.pdf

2020-05-09

计算机网络超全笔记.pdf

重要的事情说三遍!!! 这是计算机网络超全笔记,包括了考研重点,覆盖知识点全面且有重点,详略得当,亲自总结手打的!

2020-05-08

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除