摘要:
非递归解法 /** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), rig 阅读全文
posted @ 2017-05-21 12:15
yxysuanfa
阅读(94)
评论(0)
推荐(0)
摘要:
题目473 题目信息 执行结果 本题排行 讨论区 A^B Problem 时间限制:1000 ms | 内存限制:65535 KB 难度:2 描写叙述Give you two numbers a and b,how to know the a^b's the last digit number.It 阅读全文
posted @ 2017-05-21 10:48
yxysuanfa
阅读(149)
评论(0)
推荐(0)
摘要:
1 若想让maven项目依赖另外一个maven项目。被依赖的项目要在maven仓库中有对应的jar包,所以要对依赖的项目运行mvninstall命令。 2 新建第二个项目模块HelloFriend文件夹及约定的文件夹结构 HelloFriend --src main java resource 阅读全文
posted @ 2017-05-21 10:07
yxysuanfa
阅读(2181)
评论(0)
推荐(0)
摘要:
常量能够理解为值不变的量。常量被定义后,在脚本的其它不论什么地方都不能改变,一个常量由英文字母。下划线,和数字组成,可是数字不能作为常量的首字母。 在php中使用#define()函数来定义常量,该函数的语法格式例如以下: define(string constant_name,mixed valu 阅读全文
posted @ 2017-05-21 09:00
yxysuanfa
阅读(6579)
评论(0)
推荐(0)
摘要:
Visitor Pattern Repressent an operation to be performed on the elements of an object structure.Visitor lets you define a new operation without changin 阅读全文
posted @ 2017-05-21 08:00
yxysuanfa
阅读(150)
评论(0)
推荐(0)

浙公网安备 33010602011771号