package nothh;public class mmm { public static void main(String[] args) { // TODO Auto-generated method stub //4到1的阶乘之和 int x ...
分类:
其他 时间:
2015-10-04 13:33:42
收藏:
0 评论:
0 赞:
0 阅读:
209
依据openflow合约[OFP1.0-38],当从物理端口ovs datapath 添加,改动或者删除的时候。都会先运行详细动作。然后通过ofp_port_status异步消息告知Controller,比方当我们运行ovs-vsctl add-port br0 eth0 之类的命令后,就会更新ov...
分类:
其他 时间:
2015-10-04 13:33:32
收藏:
0 评论:
0 赞:
0 阅读:
219
解题思路:三维数组,简单宽搜,注意细节。 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 const int maxn = 35; 7 int dir[6][3] = {0, 0, 1, 0, 0, -1, 0...
分类:
其他 时间:
2015-10-04 13:32:42
收藏:
0 评论:
0 赞:
0 阅读:
129
String s1 = new String("abc");String s2 = "abc";//有区别吗?有区别,s1在建立过程中,有两个对象,s1一个,"abc"一个。s2就"abc"一个
分类:
其他 时间:
2015-10-04 13:32:32
收藏:
0 评论:
0 赞:
0 阅读:
149
1 for(int i = 0 ;i = i;a--) 4 { 5 System.out.print(" "); 6 } 7 for(int a = 0;a = i;a--)24...
分类:
其他 时间:
2015-10-04 13:32:12
收藏:
0 评论:
0 赞:
0 阅读:
146
1.对象创建(实例化), 两种创建方式: alloc/init, initWithNibName2.awakeFromNib, 使用IB的时候,即实例化用的是initWithNibName才会调用此方法3.设置输出口(outlet), IBOutlet属性连接到View,调用其get/set方法4....
分类:
其他 时间:
2015-10-04 13:31:13
收藏:
0 评论:
0 赞:
0 阅读:
216
问题可以简化为求最长路,因为边权均为正,所以有环即意味着最长路是正无穷必定有解;而无环的情况可以以每个点为起点进行dfs求出以该点为起点的最长路如果不小于s即有解。 1 #include 2 #include 3 #include 4 using namespace std; 5 6 con...
分类:
其他 时间:
2015-10-04 13:30:42
收藏:
0 评论:
0 赞:
0 阅读:
169
Given n, generate all structurally unique BST's (binary search trees) that store values 1...n. For example,Given n = 3, your program should return all...
分类:
其他 时间:
2015-10-04 13:30:12
收藏:
0 评论:
0 赞:
0 阅读:
250
第二章2.1信息存储1、数字的三种表示无符号数:传统的二进制表示法,表示大于或等于零的数字 补码:表示有符号数,可为正可为负的数字 浮点数:实数的科学计数法的以二为基数的版本 整数运算和浮点数运算会有不同的数学属性。 原因:处理数字表示有限性的方式不同 整数表示:编码的数值范围相对较小,但精确 浮点...
分类:
其他 时间:
2015-10-04 13:29:42
收藏:
0 评论:
0 赞:
0 阅读:
247
RelativeLayout相对布局,如果我们想在app中实现复杂的布局,缺了它肯定不行的,前面介绍的LinearLayout适用于顺序排列的布局,然而RelativeLayout则适用于各种排列方式。XML Attribute上面都是我们适用RelativeLayout布局时可以用到的属性,具体我就不一个个去介绍每一个属性的用法,我们只需要知道每个View都可以根据parent和其他View来进行...
分类:
其他 时间:
2015-10-04 12:26:42
收藏:
0 评论:
0 赞:
0 阅读:
256
信息的表示和处理一、gcc 编译使用C99特性时 gcc -std=c99 xxx.c 实验楼环境为64位,编译为32位机器码: gcc -m32 xxx.c二、 教材导读公式可以不看,习题不能不做,考核题目和课后习题类似,重点题目:2.4、2.6、2.8、2.11、2.13、2.14、2.18、2...
分类:
其他 时间:
2015-10-04 12:24:52
收藏:
0 评论:
0 赞:
0 阅读:
247
以前我们做了分析过程,这一次,我们都参与了类做梳子,两个可以一起关注一下一起合并,整个方案的实施是有帮助。BaseClientApplication APP基类,一切APP都基于这个类StreamsManager _streamsManager;能够对该APP所属的流链接进行管理map _proto...
分类:
其他 时间:
2015-10-04 12:24:42
收藏:
0 评论:
0 赞:
0 阅读:
267
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:
其他 时间:
2015-10-04 12:24:22
收藏:
0 评论:
0 赞:
0 阅读:
244
只能往一个方向倒,如c1=3,c2=5,a b从0 0->0 5->3 2->0 2->2 0->2 5->3 4->0 4->3 1->0 1->1 5->3 3->0 3->0 0,又回到了0 0,而且倒着推回去正好是c1一直往c2倒,因为0*c2%c1->1*c2%c1->...->c1*c2...
分类:
其他 时间:
2015-10-04 12:23:52
收藏:
0 评论:
0 赞:
0 阅读:
199
P20无符号数:编码基于传统的二进制表示法(大于或者等于零的数字)。补码:编码是表示有符号整数的最常见方式(为正或者为负的数字)。浮点数:编码是表示实数的科学记数法的以二为基数的版本。整数的表示虽然只能编码一个相对较小的数值范围,但是是精确的;而浮点数虽然可以编码一个较大的数值范围,但是这种表示是近...
分类:
其他 时间:
2015-10-04 12:23:32
收藏:
0 评论:
0 赞:
0 阅读:
207
原因:基类对象的指针操作派生类对象时,防止析构函数只调用基类的,而不调用派生类的下面详细说明://基类 class A{ public : A(){ coutDo(); 通过派生类指针可以调用派生类的成员函数 delete p; 先调用派生类析构函数,在调用基类构造函数 ...
分类:
其他 时间:
2015-10-04 12:21:52
收藏:
0 评论:
0 赞:
0 阅读:
197
结对编程项目(除附加题)开发过程结对同伴:李云涛一、照片结对同伴在家,等回校后补上。二、结对编程评价优点:1、两个人的编程思想、算法、代码风格可以互相借鉴和学习,对于两人的编程水平的提高都很有帮助。2、两个人可以分工写不同的相对独立的模块,加快开发的进度。3、自己程序的bug可能自己怎么找都找不到,...
分类:
其他 时间:
2015-10-04 12:21:42
收藏:
0 评论:
0 赞:
0 阅读:
198
炸小鱼的做法,比如小鲫鱼。
分类:
其他 时间:
2015-10-04 12:21:22
收藏:
0 评论:
0 赞:
0 阅读:
193
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace Test10 7 { 8 class Program 9 {10...
分类:
其他 时间:
2015-10-04 12:21:02
收藏:
0 评论:
0 赞:
0 阅读:
211
Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth...
分类:
其他 时间:
2015-10-04 12:20:32
收藏:
0 评论:
0 赞:
0 阅读:
259