自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

转载 leetcode 399. Evaluate Division

题目:Equations are given in the formatA / B = k, whereAandBare variables represented as strings, andkis a real number (floating point number). Given some queries, return the answers. If th...

2016-09-19 14:01:00 77

转载 leetcode 394. Decode String

题目:Given an encoded string, return it's decoded string.The encoding rule is:k[encoded_string], where theencoded_stringinside the square brackets is being repeated exactlyktimes. Note tha...

2016-09-08 18:03:00 77

转载 leetcode 345. Reverse Vowels of a String

题目:Write a function that takes a string as input and reverse only the vowels of a string.Example 1:Given s = "hello", return "holle".Example 2:Given s = "leetcode", return "leotcede". 1...

2016-04-25 17:33:00 76

转载 leetcode 344. Reverse String

题目:Write a function that takes a string as input and returns the string reversed.Example:Given s = "hello", return "olleh". 1 public class Solution { 2 public String reverseString(S...

2016-04-22 20:13:00 90

转载 leetcode 337. House Robber III

题目:The thief has found himself a new place for his thievery again. There is only one entrance to this area, called the "root." Besides the root, each house has one and only one parent house. Af...

2016-04-22 14:42:00 33

转载 leetcode 341. Flatten Nested List Iterator

题目:Given a nested list of integers, implement an iterator to flatten it.Each element is either an integer, or a list -- whose elements may also be integers or other lists.Example 1:Given th...

2016-04-21 13:33:00 38

转载 leetcode 338. Counting Bits

题目:Given a non negative integer numbernum. For every numbersiin the range0 ≤ i ≤ numcalculate the number of 1's in their binary representation and return them as an array.Example:Fornum...

2016-04-20 17:11:00 43

转载 leetcode 342. Power of Four

题目:Given an integer (signed 32 bits), write a function to check whether it is a power of 4.Example:Given num = 16, return true. Given num = 5, return false.Follow up: Could you solve it wit...

2016-04-20 17:08:00 53

转载 leetcode 343. Integer Break

题目:Given a positive integern, break it into the sum ofat leasttwo positive integers and maximize the product of those integers. Return the maximum product you can get.For example, givenn= ...

2016-04-20 17:04:00 91

转载 Ubuntu虚拟机下搭建reviewboard服务器

Ubuntu虚拟机下安装reviewboard参考许多资料以及实际操作后,写下如下较为完整的reviewboard安装过程。1.安装virtualbox2.新建64位Ubuntu系统,并安装Ubuntu系统,注意,不要勾选下载时更新选项,否则会安装失败。3.安装Python setuptools  sudo apt-get install python-setupto...

2015-10-27 15:08:00 151

转载 camera旋转+模型移动

刚接触Unity不久,正处于用什么学什么的状态,遇到这个问题着实研究了一阵子,得到了一个比较笨的方法。 想要完成的功能有两个,一是摄像机绕着整个场景中的所有模型旋转,旋转的中心点是世界坐标的原点;二是不管摄像机旋转到什么位置,模型都能跟随鼠标进行移动。 单独的让摄像机绕世界坐标原点旋转可以使用transform.RotateAround(Vector3.zer...

2015-04-20 11:12:00 144

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除