class String { public: String(const char * str); String(const String & other); ~String(); String& operator=(const String & other); private: char * m_d ...
分类:
其他好文 时间:
2017-02-06 22:00:56
阅读次数:
138
Description There are a group of students. Some of them may know each other, while others don't. For example, A and B know each other, B and C know ea ...
分类:
其他好文 时间:
2017-02-06 21:05:50
阅读次数:
178
背景 在测试过程中,往往需要模拟网络环境较差情况下,体验情况,故引入广域网模拟工具辅助测试 安装WANem 步骤1:光盘引导WANem镜像: 步骤2:启动(或者新建虚拟机——选择other insall media,安装介质选择WANem.iso后动) 步骤3:手动设置IP地址:注意:最后输入S保存 ...
分类:
其他好文 时间:
2017-02-06 15:00:37
阅读次数:
233
1.注册百度地图账号。 2.下载百度地图的SDK,具体步骤如下: 3.配置开发环境,添加依赖库文件:Targets->Build Phases->Link Binary With Libaries中点击“+”按钮,在弹出的窗口中点击“Add Other”按钮,选择BaiduMapAPI_**.fra ...
分类:
其他好文 时间:
2017-02-06 14:56:36
阅读次数:
182
恢复内容开始- 67. Add Binary Given two binary strings, return their sum (also a binary string). For example,a = "11"b = "1"Return "100". 思路:这道题不好从后往前遍历,还是从前 ...
分类:
其他好文 时间:
2017-02-05 22:55:27
阅读次数:
288
1.配置文件 1.1.添加配置文件 applicationContext-mvc.xml 项目右键new-other-Spring 勾选context 添加扫描 <context:component-scan base-package="test.SpringMVC"> </context:comp ...
分类:
编程语言 时间:
2017-02-05 18:06:33
阅读次数:
173
https://leetcode.com/problems/remove-duplicates-from-sorted-array/ Given a sorted array, remove the duplicates in place such that each element appear ...
分类:
其他好文 时间:
2017-02-05 12:25:20
阅读次数:
160
Summarize other answers I found 11 main ways to do this (see below). And I wrote some performance tests (see results below):Ways to convert an InputSt ...
分类:
编程语言 时间:
2017-02-05 10:49:35
阅读次数:
339
比大小 时间限制:3000 ms | 内存限制:65535 KB 难度:2 给你两个很大的数,你能不能判断出他们两个数的大小呢? 比如123456789123456789要大于-123456 ...
分类:
其他好文 时间:
2017-02-04 23:26:27
阅读次数:
363
原文BLOG:http://iminmin.blog.51cto.com/689308/455992 sudo” 是Unix/Linux平台上的一个非常有用的工具,允许为非根用户赋予一些合理的“权利”,让他们执行一些只有根用户或特许用户才能完成的任务,从而减少根用户的登陆次数和管理时间同时也提高了系... ...
分类:
其他好文 时间:
2017-02-04 18:04:38
阅读次数:
149