There are N gas stations along a circular route, where the amount of gas at station i is gas[i].
You have a car with an unlimited gas tank and it costs cost[i] of gas to travel from station i to
...
分类:
其他好文 时间:
2015-02-06 15:06:34
阅读次数:
180
该代码是实现附近的生活服务类查询,如:附近的酒店、银行、加油站等等,借助图灵机器人提供的免费端口就能简单快速实现,返回的结果为json格式附近的酒店请求示例请求示例: http://www.tuling123.com/openapi/api?key=KEY&info=北京中关村附近的酒店 { ".....
分类:
其他好文 时间:
2015-02-04 14:28:06
阅读次数:
335
2012-04-12 15:45:51==============好久没写了,这段时间在准备期中的高数考试,加油!。今天抽空完成了游戏的一个小功能——实现游戏内窗口的拖动,比如你打开一个物品栏,然后用鼠标把它拖到右上角。很简单的功能,不过能大大增加玩家的游戏体验。方法同样自己想的,原创!流程: 1....
分类:
其他好文 时间:
2015-02-04 12:45:42
阅读次数:
207
总是只能做4、5题,要加油啊!1. XORSUBYou are given an array A of N integers and an integer K. Your task is to return the maximum possible value of F(P) xor K, wher...
分类:
其他好文 时间:
2015-02-03 14:44:15
阅读次数:
159
There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You have a car with an unlimited gas tank and it costscost[...
分类:
其他好文 时间:
2015-02-02 09:30:30
阅读次数:
141
今天解决了一个新的bug,很是happy.bug提示必须声明标量:这个错误的原因是:ExecuteNoQuery里面没有写参数paras.这个代码给的警示是——要知其然,还要知其所以然。加油!——2015年2月1日
分类:
其他好文 时间:
2015-02-02 00:42:43
阅读次数:
158
之前,写英语总结,就是凭着自己的脑袋,搜索一年里自己和英语有过的美好回忆,然后就是加上重新启程,继往开来,加油,加油之类的话!这一次总结,和以往不同,不再是我一个人单纯的“思念”。这一次,有迹可循,我发现,这一年来,我们之间有一个完整的故事。
(备注:9、10...
分类:
其他好文 时间:
2015-01-31 18:05:52
阅读次数:
141
之前我也自学过jquery但是就是没有毅力,老是三天打鱼两天撒网,所以学习的不怎么好,现在我每天都会写下我今天学习的心得,给自己加油!第一天:1、 区别一下js中的windowonload=function(){}和jq中的$(document).ready(function(){});的区 别;前...
分类:
Web程序 时间:
2015-01-29 23:49:54
阅读次数:
161