Same Tree
Given two binary trees, write a function to check if they are equal or not.
Two binary trees are considered equal if they are structurally identical and
the n...
分类:
其他好文 时间:
2014-06-19 12:49:17
阅读次数:
301
和这一题构造的矩阵的方法相同。
需要注意的是,题目中a0~a9 与矩阵相乘的顺序。
#include
#include
#include
#include
#include
#define N 10
using namespace std;
int mod;
typedef long long LL;
struct matrix
{
LL a[10][10];
}...
分类:
其他好文 时间:
2014-06-16 12:06:07
阅读次数:
231
The graphical user interface for an Android app
is built using a hierarchy ofViewandViewGroupobjects.Viewobjects are usually UI
widgets such asbuttons...
分类:
移动开发 时间:
2014-06-16 10:43:38
阅读次数:
268
Activity:在Android的程序当中,Activity
一般代表手机屏幕的一屏。如果把手机比作一个浏览器,那么Acitivity就相当于一个网页。在Activity 当中可以添加一些Button、Check box
等控件。可以监听控件并处理用户的事件做出响应。一般一个Android 应用是...
分类:
移动开发 时间:
2014-06-16 09:49:19
阅读次数:
240
Netapp exportfs NFS Config CLI GuideA quick and
simple Netapp NFS configuration guide with commands and options to help explain
and remove the mysteri...
分类:
移动开发 时间:
2014-06-16 06:32:55
阅读次数:
281
Swift 初见本页内容包括:简单值(Simple Values)控制流(Control
Flow)函数和闭包(Functions and Closures)对象和类(Objects and Classes)枚举和结构体(Enumerations
and Structures)接口和扩展(Proto...
分类:
其他好文 时间:
2014-06-16 06:21:56
阅读次数:
294
4.1 确认表单必填项目完整性
function check_submit(){
if($("tex_user_name").value=="") {alert("请输入用户名");return (false);}
if($("txt_user_pass").value=="") {alert("请输入密码");return (false);}
if($...
分类:
编程语言 时间:
2014-06-15 08:50:23
阅读次数:
272
转载http://luolei.org/regula-expression-simple-tutorial/第一次接触正则表达式是在今年四月的腾讯笔试,当时是一道选择题问如何判断输入的是否是
QQ 号码(即纯数字),当时是蒙了一个答案,菜鸟不会嘛 ╮(╯3╰)╭ 。事后自己倒专门学习了正则表达式,还...
分类:
其他好文 时间:
2014-06-13 18:23:34
阅读次数:
243
1.Simple Effects for Drop-Down
Lists一个jQuery插件用于将普通的select控件转成一个带有一些简单扩展效果的下拉列表。2.X-editable这个插件能够让你在页面上创建可编辑的元素。它能够使用任何引擎(bootstrap、jquery-ui、jquery)...
分类:
Web程序 时间:
2014-06-13 14:37:52
阅读次数:
394