Thetotalnumberofvlansis:6--------------------------------------------------------------------------------U:Up;D:Down;TG:Tagged;UT:Untagged;MP:Vlan-mapping;ST:Vlan-stacking;#:ProtocolTransparent-vlan;*:Management-vlan;----------------------------------------..
分类:
其他好文 时间:
2015-05-22 01:59:20
阅读次数:
285
1、名词由单数变复数的基本方法如下: ①在单数名词词尾加s。如:map → maps,boy→ boys,horse→ horses, table→ tables. ②s,o,x ,sh,ch结尾的词加es.如:class→classes, box→boxes, hero→heroes, dish→...
分类:
其他好文 时间:
2015-05-07 15:50:54
阅读次数:
181
题目链接:Regionals 2013 Asia - Daejeon
6500 Boxes
题意:将箱子(矩阵的1)全移动到矩阵的底部需要几步
思路:按列从下到上统计。(n,m)的矩阵,移动一个箱子(x,y),如果有c个箱子在底部,那么移动该箱子的步数是(n-x-c-1)。
AC代码:
#include
#include
int mp[110][110];
int main()
...
分类:
其他好文 时间:
2015-05-02 11:15:06
阅读次数:
127
Frame Stacking
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 4454
Accepted: 1509
Description
Consider the following 5 picture frames placed on an 9 x 8 a...
分类:
编程语言 时间:
2015-04-28 22:56:01
阅读次数:
347
题目链接:UVA - 103题意:现有k个箱子,每个箱子可以用n维向量表示。如果一个箱子的n维向量均比另一个箱子的n维向量大,那么它们可以套接在一起,每个箱子的n维向量可以互相交换值,如箱子(2,6)可以和箱子(7,3)套接在一起。求出套接的箱子最多的个数前提下任意一种解决方案。算法:抛开n维不看,...
分类:
其他好文 时间:
2015-04-26 12:06:42
阅读次数:
132
BoxTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) 【Problem Description】There are N boxes on the ground, which are la...
分类:
其他好文 时间:
2015-04-25 13:29:16
阅读次数:
159
题目链接:http://poj.org/problem?id=1475一组测试数据:7 3###.T..S.#B#.........结果://解题思路:先判断盒子的四周是不是有空位,如果有,则判断人是否能到达盒子的那一边,能的话,把盒子推到空位处,然后继续AC代码: 1 //解题思路:先判断盒子的....
分类:
其他好文 时间:
2015-04-24 14:06:42
阅读次数:
240
关于使用弹性盒子一定要看的两篇博文 1、https://developer.mozilla.org/zh-CN/docs/CSS/Tutorials/Using_CSS_flexible_boxes 2、http://www.zhangxinxu.com/wordpress/2010/12/css-...
分类:
Web程序 时间:
2015-04-22 20:27:03
阅读次数:
167
AQtGui.QCheckBoxis a widget that has two states: on and off. It is a box with a label. Check boxes are typically used to represent features in an appl...
分类:
其他好文 时间:
2015-04-17 20:22:39
阅读次数:
223
我们首先可以得到:如果有一堆盘子里有一些相邻的盘子的直径相等,那么自然这些盘子可以统一处理,就可以缩成一个了。然后我们接着考虑给每一堆盘子都染上一种颜色,那么操作的次数 step = diff * 2 - n + 1其中 diff 表示最终的盘子堆中相邻的盘子的颜色不同的对数。接着我们可以将盘子的直...
分类:
其他好文 时间:
2015-04-14 12:50:42
阅读次数:
244