??
Description
The country is facing a terrible civil war----cities in the country are divided into two parts supporting different leaders. As a merchant, Mr. M does not pay attention to politic...
分类:
其他好文 时间:
2014-06-05 00:16:43
阅读次数:
266
JS方法: $(function(){ is_weixn(); }) function
is_weixn(){ var ua = navigator.userAgent.toLowerCase();
if(ua.match(/MicroMesse...
分类:
微信 时间:
2014-06-04 18:04:49
阅读次数:
413
界面效果
应用的权限
布局文件
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
andr...
分类:
移动开发 时间:
2014-06-03 00:45:02
阅读次数:
303
Haskell functions can take functions as parameters
and return functions as return values. A function that does either of those is
called a higher orde...
分类:
其他好文 时间:
2014-06-02 18:16:16
阅读次数:
334
【题目】
Given a string containing only digits, restore it by returning all possible valid IP address combinations.
For example:
Given "25525511135",
return ["255.255.11.135", "255.255.111.35"]. (Order does not matter)
【题意】
给定一个字符串,恢复并返回所有符合条件的IP串
【思路】...
分类:
其他好文 时间:
2014-06-01 13:01:56
阅读次数:
295
布局文件:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="...
分类:
移动开发 时间:
2014-06-01 04:04:04
阅读次数:
490
不断找增广路,直到没有增广路,每找到一条增广路匹配数就加1 //hungary const
int X=100,Y=100;int match[Y];// initial to -1bool vis[Y];int g[X][Y];bool
dfs(int x){ for(int y=1;y<=Y;y...
分类:
其他好文 时间:
2014-05-31 20:49:41
阅读次数:
247
function getServiceUrl() { var serverUrl =
Xrm.Page.context.getServerUrl(); if (serverUrl.match(/\/$/)) { serverUrl =
serverUrl.substring(0, serverUrl...
分类:
其他好文 时间:
2014-05-31 05:01:55
阅读次数:
214
Marriage Match II
Time Limit: 2000/1000 MS (Java/Others) Memory Limit:
32768/32768 K (Java/Others)
Problem Descript...
分类:
其他好文 时间:
2014-05-26 04:40:15
阅读次数:
228
【题目】
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.
If the last word does not exist, return 0.
Note: A word is defined as a character sequence consists of non-space ...
分类:
其他好文 时间:
2014-05-25 07:39:05
阅读次数:
256