链接:http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=2040
Description:
给出一棵二叉树的中序和前序遍历,输出它的后序遍历。
Input
本题有多组数据,输入处理到文件结束。
每组数据的第一行包括一个整数n,表示这棵二叉树一共有n个节点。
接下来的一行每行包括n个整数,表示...
分类:
其他 时间:
2014-06-03 03:09:12
收藏:
0 评论:
0 赞:
0 阅读:
362
/**
* 采用httpclientPost请求的方式
*
* @param username
* @param password
* @return null表示求得的路径有问题,text返回请求得到的数据
*/
public static String httpclientPost(String username, String password) {
try ...
分类:
移动平台 时间:
2014-06-03 05:32:02
收藏:
0 评论:
0 赞:
0 阅读:
386
An iterative way of writing merge sort:
#include
using namespace std;
void merge(int A[], int l, int r, int e, int B[]) {
int i = l, j = r, k = l;
while (i<r && j A[j]) B[k++] =...
分类:
其他 时间:
2014-06-03 02:31:47
收藏:
0 评论:
0 赞:
0 阅读:
371
这一篇是接着上一篇的继续
页面跳转与重定向(之一)
在上一篇中, 介绍了在html,js 和JSP中如何跳转和重定向。
基本是在页面层级进行页面的跳转, 进入一个页面后跳入另一个页面。
这一篇将从项目和服务端来看看有可能在实际的项目中使用到的状况。...
分类:
其他 时间:
2014-06-03 03:02:42
收藏:
0 评论:
0 赞:
0 阅读:
565
TC 2007 的Web 端,页面简洁也简单。
非空验证的话,直接在后面加上一个 红箭头+ "Required value is not specified." 这样一些红色的提示信息。
而这种验证看上去又是和CF端的form 的定义管理起来的。
定义成require 的属性会做这种验证。
那么在web 端实现的机制是怎样的呢? 是否可以不和CF端绑定,在 Web端直接进行这种验证呢?...
分类:
Web开发 时间:
2014-06-03 05:44:11
收藏:
0 评论:
0 赞:
0 阅读:
414
链接: http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=2116
Description
Wind and his GF(game friend) are playing a small game. They use the computer to randomly generated a nu...
分类:
其他 时间:
2014-06-03 02:15:40
收藏:
0 评论:
0 赞:
0 阅读:
387
String,StringBuffer和StringBuilder的异同
String,StringBuffer和StringBuilder的的源码已经在本博客的JDK源码学习系列中有了详细的介绍:
String 源码: http://blog.csdn.net/sheepmu/article/details/23303837
StringBuffer 和StringBuil...
分类:
其他 时间:
2014-06-03 05:43:30
收藏:
0 评论:
0 赞:
0 阅读:
426
Perl中一个很重要的模块就是DBI模块(Perl Database Interface,数据库接口)。DBI模块为很多不同的数据库提供了一个统一的接口。Perl通过此接口可以很容易对数据库进行操作。
下面说下Perl如何对MySQL数据库进行操作。
1. 首先要确保Perl及MySQL数据库已经安装。然后用cpan或者是ppm图形化界面来安装.
cpan> install...
分类:
数据库技术 时间:
2014-06-03 02:35:37
收藏:
0 评论:
0 赞:
0 阅读:
447
There is no systematic design for shared resource access priority in platform side, and there is no interface provided by
platform that can be used by application to do bandwidth management optimizat...
分类:
其他 时间:
2014-06-03 04:52:10
收藏:
0 评论:
0 赞:
0 阅读:
393
(1)jsp是什么?
java server page,java服务器端页面技术。其主要作用在服务器端动态生成页面,其组成java代码和html.
(2)jsp的组成?
A. html:包括css/js
B.java代码
java代码段
表达式
jsp声明:
C.jsp隐含对象
对象不需要创建,可以直接调用。 out、 request、 response、 session、 ...
分类:
Web开发 时间:
2014-06-03 02:35:01
收藏:
0 评论:
0 赞:
0 阅读:
651
原创博客,转载请:http://blog.csdn.net/zhjm07054115/article/details/27577181...
分类:
其他 时间:
2014-06-03 04:51:28
收藏:
0 评论:
0 赞:
0 阅读:
666
Document
function figure1(){
var figure = money.value;
var wushi = Math.floor(figure/50);
var ershi = Math.floor(figure%50/20);
var shiyuan = Math.floor(figure%50%20/10);
var wuyuan...
分类:
编程语言 时间:
2014-06-03 03:11:47
收藏:
0 评论:
0 赞:
0 阅读:
380
Given a singly linked list
L: L0→L1→…→Ln-1→Ln,
reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…
You must do this in-place without altering the nodes' values.
For example,
Given {1,2,3,4}, r...
分类:
其他 时间:
2014-06-03 03:11:03
收藏:
0 评论:
0 赞:
0 阅读:
397
从CPU的架构发展来看,前端总线可能将成为历史。本文对新一代CPU中的取代FSB的QPI技术进行详细的介绍。...
分类:
移动平台 时间:
2014-06-03 05:50:10
收藏:
0 评论:
0 赞:
0 阅读:
759
iOS中method swizzling的介绍...
分类:
移动平台 时间:
2014-06-03 03:25:58
收藏:
0 评论:
0 赞:
0 阅读:
343