LAMP 代表的是 Linux, Apache, MySQL, 以及 PHP。第一步,安装 Apache使用 yum 安装sudo yum install httpd启动 httpd 服务sudo service httpd start测试是否安装成功,可以访问服务器的地址,如 http://12....
分类:
其他 时间:
2015-11-04 21:26:45
收藏:
0 评论:
0 赞:
0 阅读:
257
Almost Sorted ArrayTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 447Accepted Submission(s): 20...
分类:
其他 时间:
2015-11-04 21:26:15
收藏:
0 评论:
0 赞:
0 阅读:
329
程序代码:public class ExplorationJDKSource { /** * @param args */ public static void main(String[] args) { System.out.println(new A()); }}class A{}运行结果...
分类:
其他 时间:
2015-11-04 21:25:45
收藏:
0 评论:
0 赞:
0 阅读:
1057
下面是二叉树的遍历,先序,中序和后序都采用了栈的方式,层序使用的是递归的方式,主要是leecode的要求,二叉树的遍历还是递归容易。 1 #include 2 #include 3 #include 4 using std::stack; 5 using std::vector; ...
分类:
其他 时间:
2015-11-04 21:24:45
收藏:
0 评论:
0 赞:
0 阅读:
315
Compare two version numbersversion1andversion2.Ifversion1>version2return 1, ifversion1 val2)20 return 1;21 else if(val1 < ...
分类:
其他 时间:
2015-11-04 21:24:25
收藏:
0 评论:
0 赞:
0 阅读:
279
只想到二分答案,每次先用倍增将点推上去。。。推到根节点后就贪心,不能再走回去且这个点需要军队而且这个点剩余的时间是从这个节点推上来的节点中最小的就走回去(语文实在LJ。。。)实现起来貌似很难但代码不是很长第二次用到set了,做得比较慢。。。不学C艹真的会死得很惨。。。WA一个点不造是怎么回事。。 ....
分类:
其他 时间:
2015-11-04 21:23:45
收藏:
0 评论:
0 赞:
0 阅读:
325
地图在如今的app中使用率十分高,我们可以去任何一个陌生的城市,都不会迷路。地图还能帮我们定位附近的美食、酒店、电影院等等。地图正在悄无声息的改变着我们的生活,改变我们的工作方式。学好地图在现在的开发越来越重要。首先,在iOS开发中,苹果已经提供了SDK:MapKit。可以使用不同的API以达到地....
分类:
其他 时间:
2015-11-04 21:23:15
收藏:
0 评论:
0 赞:
0 阅读:
326
问题描述Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.算法代码一: 1 public int romanToInt(String s)...
分类:
其他 时间:
2015-11-04 21:22:45
收藏:
0 评论:
0 赞:
0 阅读:
259
2454:雷涛的小猫总时间限制:20000ms单个测试点时间限制:10000ms内存限制:65536kB描述雷涛同学非常的有爱心,在他的宿舍里,养着一只因为受伤被救助的小猫(当然,这样的行为是违反学生宿舍管理条例的)。在他的照顾下,小猫很快恢复了健康,并且愈发的活泼可爱了。可是有一天,雷涛下课回到寝...
分类:
其他 时间:
2015-11-04 21:21:55
收藏:
0 评论:
0 赞:
0 阅读:
220
Why Deep Learning Works – Key Insights and Saddle PointsA quality discussion on the theoretical motivations for deep learning, including distributed r...
分类:
其他 时间:
2015-11-04 21:21:25
收藏:
0 评论:
0 赞:
0 阅读:
328
写文档的重要性对于软件相关行业,在学校或单位大家也许都已经注意到了,除了要编写的程序、绘制设计图之外,还有一个重要的工作便是写文档。为什么要写文档呢?因为我们要把自己做的东西展示出来,不光展示给同行看,可能还要展示给其他岗位上的工作人员看,甚至展示给用户看。如果我们只是会写程序,不会在文档中恰当且优...
分类:
其他 时间:
2015-11-04 21:21:15
收藏:
0 评论:
0 赞:
0 阅读:
290
好了,我接着上篇,开始我们的对UIView 实例方法的探索UIView 实例方法 Instance Methods初始化一个视图- (id)initWithFrame:(CGRect)aRect //用指定的frame 初始化一个视图对象结束视图中的编辑状态- (BOOL)endEditing:(B...
分类:
其他 时间:
2015-11-04 21:20:45
收藏:
0 评论:
0 赞:
0 阅读:
239
题目描述输入一个链表,反转链表后,输出链表的所有元素。 1 /* 2 struct ListNode { 3 int val; 4 struct ListNode *next; 5 ListNode(int x) : 6 val(x), next(NU...
分类:
其他 时间:
2015-11-04 21:20:15
收藏:
0 评论:
0 赞:
0 阅读:
296
//先放这里 还没太懂#include #include #include using namespace std;const int INF = 0x3f3f3f3f;const int MAX = 1100;int up[15][15];int down[15][15];char s[MAX],...
分类:
其他 时间:
2015-11-04 21:19:45
收藏:
0 评论:
0 赞:
0 阅读:
277
概念:project 指一个项目,该项目会负责管理软件产品的全部源代码文件、全部资源文件、相关配置,一个Project可以包含多个Target。概念:target 一个target指的是根据project中的其它内容生成的最终产品,它是线程可以直接读懂的代码。概念:scheme scheme是一.....
分类:
其他 时间:
2015-11-04 21:19:35
收藏:
0 评论:
0 赞:
0 阅读:
284
我先做一下自我介绍,我是 2007 年加入的 Google,在 Moutain View 总部任 Google SRE,今年年初回国加入 Coding。 在 Google 我参与了两个 Project,第一个就是 Youtube,其中包括 Video transcoding, streaming.....
分类:
其他 时间:
2015-11-04 21:19:05
收藏:
0 评论:
0 赞:
0 阅读:
248
div高度100% 内容 css部分html,body{height:100%;}#content{height:100%;}这个地址有其他情况设置div高度的例子。。分享下http://blog.163.com/m13864039250_1/blog/stat...
分类:
其他 时间:
2015-11-04 21:18:55
收藏:
0 评论:
0 赞:
0 阅读:
266
第一种方法 div居中第二种方法 div居中
分类:
其他 时间:
2015-11-04 21:18:45
收藏:
0 评论:
0 赞:
0 阅读:
380
Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must close in the correct ...
分类:
其他 时间:
2015-11-04 21:18:35
收藏:
0 评论:
0 赞:
0 阅读:
252
一、知识普及1、蓝牙4.0分为两个部分: 1)Bluetooth Ready,兼容传统蓝牙的高速部分; 2)Bluetooth Smart,BLE(Bluetooth Low Energy),功耗低,速率低。最大传输速率4~5k字节/s;2、BLE协议栈: 1)只是一个协议规范,BLE协...
分类:
其他 时间:
2015-11-04 21:17:35
收藏:
0 评论:
0 赞:
0 阅读:
296