新建ActionScript工程1. File > New > ActionScript Project2. 按照提示完成工程的创建使程序直接在Flash Player中运行1. 在工程上点右键,选Properties > ActionScript Compiler2. 去掉Generate HTM...
分类:
其他好文 时间:
2015-05-23 21:17:53
阅读次数:
113
也许是因为简单,这次的思路很清晰。class Solution {private: vector res; string str; int left=0; int right=0;public: bool isValid(const char Par,int Pnum...
分类:
其他好文 时间:
2015-05-23 00:01:31
阅读次数:
385
List Initializer or Element Count?In a few cases, what initialization means depends upon whether we use curly braces or parentheses to pass the initializer(s). For example, when we initialize a vector<...
分类:
编程语言 时间:
2015-05-22 19:10:45
阅读次数:
133
题目来源:http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=138130
输入:
6 3
((()))
4
3
1
输出:
2
2
1
题意:输入n,q (2
第二行再输入长度为n(下标从1开始)的字符串,只含‘(’和‘)’,且是匹配好的。
再输入q个下标查询。问改变输入下标位置的字符,如‘...
分类:
其他好文 时间:
2015-05-22 09:42:20
阅读次数:
122
1、MapReduce实现矩阵相乘 一. 准备数据 #!/bin/bash
if?[?$#?-ne?3?]
then
??echo?"there?must?be?3?arguments?to?generate?the?two?matries?file!"
??exit?1
fi
cat?/dev/null?>?M_$1_...
分类:
其他好文 时间:
2015-05-21 22:49:07
阅读次数:
215
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-05-21 19:11:26
阅读次数:
141
IntroductionBackgroundThis article is about using thedottool from theGraphviz packageto automatically generate UML diagrams on the fly. We'll take a l...
分类:
其他好文 时间:
2015-05-21 17:11:09
阅读次数:
171
很简单的字符串匹配问题,直接用栈就可以实现,为使程序更加高效,当要匹配的字符种类比较多的时候可以考虑用HashMap来保存匹配对...
分类:
其他好文 时间:
2015-05-21 10:55:47
阅读次数:
100
WHEN (simple and selected) It is one of the fundamental concurrent statements (alongwith operators and GENERATE). It appears in two forms: WHEN / EL.....
分类:
其他好文 时间:
2015-05-20 23:36:46
阅读次数:
235
1:安装composer2:下载最新版laravel-mastercmd下composerinstall3:配置生成key,配置config/app.phpphpartisankey:generateconfig/database.php设置数据库
分类:
其他好文 时间:
2015-05-20 18:38:54
阅读次数:
106