自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 Unity学习_实现人物跟随地板移动

//1、 利用层级关系,触碰时,方块是角色的父级,离开解除关系void OnCollisionStay(Collision other){other.gameObject.transform.parent = transform;}void OnCollisionExit(Collision other){other.gameObject.transform.parent = nu...

2019-05-15 21:51:38 3205

原创 Leetcode 题目3-- 重编strStr

刚开始让我编这个程序我是拒绝的。翻来覆去,想搞两个不同步执行的,字符串内的指针。结果执行的时候,各种奇奇怪怪的结果。最后忍不住看了一眼参考代码,就被洗脑了。真滴是非常简洁,值得借鉴。原题目:Question:Implement strstr(). Returns the index of the first occurrence of needle in haystack, or –1...

2019-01-20 22:05:16 123

原创 Leetcode题目_2

题目如下:Given a string, determine if it is a palindrome, considering only alphanumeric charactersand ignoring cases.For example,"A man, a plan, a canal: Panama" is a palindrome."race a car" is ...

2018-12-29 16:09:14 235

原创 Leetcode 题目_1

题目_1TWO SUMGiven an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two numbers such that they add up to th...

2018-12-25 20:21:43 143

空空如也

空空如也

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

TA关注的人

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