码迷,mamicode.com
首页 >  
搜索关键字:黑宝石(black diamond)免费主题    ( 3118个结果
hdu 1312 Red and Black
"题目传送门" ...
分类:其他好文   时间:2020-02-02 23:51:48    阅读次数:69
省市联动
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>注册页面重新布局</title> <style type="text/css"> .top { border: 1px solid red; width: 32.9%; heigh ...
分类:其他好文   时间:2020-02-02 21:31:50    阅读次数:74
PAT (Advanced Level) 1135 Is It A Red-Black Tree
题解 题不难,记录一下红黑树特征。 👉 每个结点是黑色或者红色。 👉 根结点是黑色。 👉 每个叶子结点(NULL)是黑色。 👉 如果一个结点是红色的,则它的子结点必须是黑色的。 👉 每个结点到叶子结点所经过的黑色结点的个数相同。 代码 #include<bits/stdc++.h> usi ...
分类:其他好文   时间:2020-02-02 18:08:24    阅读次数:59
PAT Advanced 1069 The Black Hole of Numbers (20分)
For any 4-digit integer except the ones with all the digits being the same, if we sort the digits in non-increasing order first, and then in non-decre ...
分类:其他好文   时间:2020-02-02 13:39:18    阅读次数:58
acclib的尝试
initWindow("test",10,10,1000,1000); beginPaint();/*所有的东西要出现在begin Paint和end之间*/ setPenWidth(15); arc(110,120,800,800,405,410,405,410); setPenWidth(20) ...
分类:其他好文   时间:2020-02-02 01:39:44    阅读次数:99
「JSOI2014」序列维护
「JSOI2014」序列维护 "传送门" 其实这题就是 "luogu的模板线段树2" ,之所以要发题解就是因为被 $\color{black}{\text{M}} \color{red}{\text{_sea}}$ 告知了一种比较NB的 $\text{update}$ 的方式。 我们可以把修改操作统 ...
分类:Web程序   时间:2020-02-01 21:39:02    阅读次数:84
hdu1312 Red and Black
题目 首先看一下题目大意:有一个m*n的地图,上面的瓷砖只有红黑两色。一个人站在某处。一直这个人只能在黑色方块上向四周移动,问他最多可以经过多少个黑色方块。 n,m<=20... 十分明显的一道搜索题,dfs或者bfs都可以实现。 我用的是dfs dfs的关键在于向四个方向遍历这张图 如果目标位置在 ...
分类:其他好文   时间:2020-02-01 16:31:47    阅读次数:66
蚂蚁矿板BB_Black_V1.6硬件改造
最终完成效果展示 这个矿板原本为蚂蚁i3矿机控制板,矿难导致拆机件价格十分低廉;笔者购于某鱼,卖家已经焊接好了mini usb母座[USB 2.0 Mini B plug(male)]和DC插座,这里的DC插座应接5V电源( BeagleBone Black原版推荐为5V输入,但他们都使用的TPS6 ...
分类:其他好文   时间:2020-02-01 12:52:57    阅读次数:641
hdu1312 Red and Black
"题目链接" Problem Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a bl ...
分类:其他好文   时间:2020-02-01 12:47:27    阅读次数:85
HDU1312 Red and Black(dfs+连通性问题)
这有一间铺满方形瓷砖的长方形客房。 每块瓷砖的颜色是红色或者黑色。 一个人站在一块黑色瓷砖上, 他可以从这块瓷砖移动到相邻(即,上下左右)的四块瓷砖中的一块。 但是他只能移动到黑色瓷砖上,而不能移动到红色瓷砖上。 编写一个程序,通过重复上述动作来计算他可以达到的黑色瓷砖的数量。 Input输入包含多 ...
分类:其他好文   时间:2020-01-28 21:25:40    阅读次数:70
3118条   上一页 1 ... 22 23 24 25 26 ... 312 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!