直接模拟或者KMP 1 #include <iostream> 2 #include <string.h> 3 #include <stdio.h> 4 #include <algorithm> 5 #include <cmath> 6 #include <cstdlib> 7 using name ...
分类:
其他好文 时间:
2016-03-30 22:12:56
阅读次数:
173
题目: A message containing letters from A-Z is being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Given an encoded me ...
分类:
其他好文 时间:
2016-03-30 22:12:44
阅读次数:
147
using System; using System.Text; namespace ReferenceType { class Program { static void Main(string[] args) { //引用类型 在内存的栈上面只存储一个引用,在内存的堆上面才会存储具体的值 //o ...
using System; namespace ValueType { class Program { /// <summary> /// 类似Java中的“/**”注释 /// </summary> /// <param name=" args"></param> static void Main ...
Command文件夹下的DeletgateCommand.cs using System; using System.Windows.Input; namespace WPFMVVM1.Command { public class DeletgateCommand : ICommand { priv... ...
分类:
其他好文 时间:
2016-03-30 17:54:28
阅读次数:
118
Gradle sync failed: Gradle version 2.2 is required. Current version is 2.10. If using the gradle wrapper, try editing the distributionUrl in xxxx/grad ...
分类:
其他好文 时间:
2016-03-30 08:18:59
阅读次数:
1493
#include<iostream> #include<fstream> #include<cstring> #include<string> using namespace std; struct Word{ int Count; Word() : Str(""), Count(0) {} str ...
分类:
其他好文 时间:
2016-03-30 01:41:20
阅读次数:
147
Implement the following operations of a stack using queues. push(x) -- Push element x onto stack. pop() -- Removes the element on top of the stack. to ...
分类:
其他好文 时间:
2016-03-30 01:27:20
阅读次数:
185
同步调用示例(委托是一个类型安全的,面向对象的指针) using System; using System.Threading; namespace Demo { public delegate int Operate(int x, int y); public class DelegateAsyn... ...
分类:
其他好文 时间:
2016-03-30 01:26:07
阅读次数:
228
web: http://jquery.com/ docs: http://api.jquery.com/ download:http://jquery.com/download/ learn:http://learn.jquery.com/ Chapters About jQuery Using j ...
分类:
Web程序 时间:
2016-03-30 00:11:59
阅读次数:
242