- 博客(6)
- 资源 (10)
- 收藏
- 关注
原创 Idea 搭建 tomcat开发环境
准备工作: 1 创建工程,点击创建工程,按照如下进行选择,创建maven web app项目groupId 和artificialId可以随便写。这个是设置maven的,一般不用修改。创建好之后就是上面这个样子。替换web.xml内容,建立欢迎页面,创建启动项。配置web.xml<!DOCTYPE web-app PU
2017-08-15 13:27:00 304
原创 第一个Protobufbuf例子
1 创建一个addressbook.proto 的文件,写入如下内容package tutorial;message Person { required string name = 1; Protocol Buffer Basics: C++ required int32 id = 2; optional string email = 3; enum PhoneType {
2016-03-21 15:20:39 402
原创 leedCode 335 Self Crossing
问题描述:You are given an array x of n positive numbers. You start at point (0,0) and moves x[0] metres to the north, then x[1] metres to the west, x[2] metres to the south,x[3] metres to
2016-03-08 23:25:23 1462 1
原创 leedCode 334 Increasing Triplet Subsequence
问题描述:Given an unsorted array return whether an increasing sub sequence of length 3 exists or not in the array. Formally the function should:Return true if there exists i, j, k such that arr[i]
2016-03-08 23:15:48 459
原创 leedCode 292 Nim Game 解题
问题描述:You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 stones. The one who removes the last stone will
2016-03-08 23:12:47 431
原创 第一个jersey实例
第一步:使用eclipse创建一个dynamic web project 项目JTest第二步:创建一个简单的java 类 package canghailan.jaxrs; import javax.ws.rs.GET;import javax.ws.rs.Path;import javax.ws.rs.PathParam;import javax.ws.rs.
2016-03-04 02:35:29 444
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人