Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the target, whe...
分类:
其他好文 时间:
2014-06-09 23:14:45
阅读次数:
264
#include
using namespace std;
class Date; //对Date类的提前引用声明
class Time
{
public:
Time(int,int,int);
void add_a_second(Date &); //增加1秒,1秒后可能会到了下一天,乃到下一月、下一年
void display(Date &); //显示时间,...
分类:
其他好文 时间:
2014-06-08 18:17:22
阅读次数:
216
18.7、Performing Complete User-Managed Media Recovery
完成一致性备份,把数据库恢复到当前的scn是最好的结果。可以恢复整个数据库,恢复单个表空间,或恢复数据文件。一致性恢复不需要resetlogs打开数据库,非一致性恢复需要resetlogs打开数据库。Backup and Recovery Basics提供了关于介质恢复的信息。
18.7....
分类:
数据库 时间:
2014-06-08 15:27:02
阅读次数:
364
安装 现在可以通过ppa的方法来安装sublime text3 了,个人感觉就是有有点儿慢,毕竟要update一下。sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer配置插件 安装完成之...
分类:
其他好文 时间:
2014-06-08 15:04:52
阅读次数:
247
WebClient web = new CookieWebClient();
web.Encoding = Encoding.UTF8;
string regUrl = "http://test.com";
web.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
byte[] post = Encoding.UTF...
分类:
Web程序 时间:
2014-06-08 10:50:57
阅读次数:
324
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace mapReduce
{
public static class helper
{
public static Dictionary MapReduce(
...
分类:
其他好文 时间:
2014-06-08 10:39:41
阅读次数:
227
Problem Description
Ignatius is so lucky that he met a Martian yesterday. But he didn't know the language the Martians use. The Martian gives him a history book of Mars and a dictionary when it leave...
分类:
其他好文 时间:
2014-06-08 03:55:37
阅读次数:
273
Problem Description
A hat’s word is a word in the dictionary that is the concatenation of exactly two other words in the dictionary.
You are to find all the hat’s words in a dictionary.
In...
分类:
其他好文 时间:
2014-06-08 03:02:14
阅读次数:
323
git clone git-url
git add .
git comm -a -m ' desc '
git push...
分类:
其他好文 时间:
2014-06-08 02:21:09
阅读次数:
217
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the target, whe...
分类:
其他好文 时间:
2014-06-08 02:12:04
阅读次数:
216