摘要:
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For example: Given the below binary tree and su 阅读全文
posted @ 2017-06-07 21:36
yutingliuyl
阅读(105)
评论(0)
推荐(0)
摘要:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shiroFilter' defined in class path resource [spring/spring-shi 阅读全文
posted @ 2017-06-07 20:33
yutingliuyl
阅读(413)
评论(0)
推荐(0)
摘要:
前一篇博客写到项目中的广告位管理,当时没有写到今天的问题,这个问题当时也是困扰我好久。经过自己的努力和同志们的帮助,最后最终解决。 实现要求把全部的广告位后面的单选button设成一组,目的是一个广告位仅仅能显示一张图片。仅仅是简单的在特定列加入单选button事实上并没有太大的难度,后期还要通过选 阅读全文
posted @ 2017-06-07 20:01
yutingliuyl
阅读(521)
评论(0)
推荐(0)
摘要:
Babelfish Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 36967 Accepted: 15749 Description You have just moved from Waterloo to a big city 阅读全文
posted @ 2017-06-07 19:13
yutingliuyl
阅读(151)
评论(0)
推荐(0)
摘要:
这篇文章的主题是动态规划。 主要介绍LeetCode中一维动态规划的题目, 列表例如以下: Climbing StairsDecode WaysUnique Binary Search TreesMaximum SubarrayMaximum Product SubarrayBest Time to 阅读全文
posted @ 2017-06-07 17:33
yutingliuyl
阅读(668)
评论(0)
推荐(0)
摘要:
A. Elections time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output The country of Byalechinsk i 阅读全文
posted @ 2017-06-07 16:42
yutingliuyl
阅读(322)
评论(0)
推荐(0)
摘要:
1、错误描写叙述 2014-7-12 21:06:37 org.hibernate.engine.jdbc.internal.LobCreatorBuilder useContextualLobCreation INFO: HHH000422: Disabling contextual LOB cr 阅读全文
posted @ 2017-06-07 14:21
yutingliuyl
阅读(732)
评论(0)
推荐(0)
摘要:
软件下载地址 首先下载库 https://code.google.com/p/msysgit/ 接着安装 https://code.google.com/p/tortoisegit/ 然后就能够用了 $(function () { $('pre.prettyprint code').each(fun 阅读全文
posted @ 2017-06-07 13:19
yutingliuyl
阅读(113)
评论(0)
推荐(0)
摘要:
import java.io.* ; import java.math.* ; import java.util.* ; import java.text.* ; public class Main { public static void main(String[] args) { Scanner 阅读全文
posted @ 2017-06-07 11:40
yutingliuyl
阅读(152)
评论(0)
推荐(0)
摘要:
字典(dict)删除元素, 能够选择两种方式, dict.pop(key)和del dict[key]. 代码 # -*- coding: utf-8 -*- def remove_key(d, key): r = dict(d) del r[key] return r x = {1: 2, 3: 阅读全文
posted @ 2017-06-07 11:39
yutingliuyl
阅读(2771)
评论(0)
推荐(0)
摘要:
一、关于layout_margin 搞Android时间也不短了。对layout_margin也不陌生了,可近期遇到一个问题让我发现,对它的认识还不够深入全面。大量网络资料上都说,layout_margin指view距离父view的距离。这个说法不够严谨。正确的说法是。距离view的相对view的距 阅读全文
posted @ 2017-06-07 11:38
yutingliuyl
阅读(228)
评论(0)
推荐(0)
摘要:
任性诗画能做什么? 文字、诗词生成动图 支持、字的轮流变色 字的逐字显示 行的轮流变色 行的逐行显示 段的轮流变色 立体字、渐进字 描边字 、空心字等特效 字的旋转、放大缩小、上下左右运动轨迹 以及生存周期 直接在界面上书写横竖文字,或直接复制粘贴上去 照片加入文字、加入动图 拖入背景照片,拖入动图 阅读全文
posted @ 2017-06-07 10:34
yutingliuyl
阅读(238)
评论(0)
推荐(0)
摘要:
直接贴代码啦 /** * * @param zkIp * @param zkPort * @param tablename * @param startRow 传null扫全表 * @param stopRow 已~结尾 * @throws Exception */ public static vo 阅读全文
posted @ 2017-06-07 09:57
yutingliuyl
阅读(2389)
评论(0)
推荐(0)
摘要:
一,什么是Servlet? Servlet是一个Java编写的程序。此程序是基于Http协议的。在server端执行的(如tomcat)。 是依照Servlet规范编写的一个Java类。 二,Servlet有什么作用? 主要是处理client的请求并将其结果发送到client。 三,Servlet的 阅读全文
posted @ 2017-06-07 08:55
yutingliuyl
阅读(170)
评论(0)
推荐(0)
浙公网安备 33010602011771号