腾讯科技讯 8月18日,微信公众平台宣布新增设备功能,给公众号获得绑定设备和传输设备数据的能力。?微信设备功能平台是微信开放平台的物联解决方案,当前支持智能可穿戴设备接入,其它类目硬件设备产品将陆续开放。?微信设备功能客户端协议,目前支持蓝牙2.X,3.X,4.0,Wi-Fi及移动网络连接方式接入。...
分类:
微信 时间:
2014-08-19 10:38:23
阅读次数:
480
hdu题目poj题目参考了罗穗骞的论文《后缀数组——处理字符串的有力工具》题意:求两个序列的最长公共子串思路:后缀数组经典题目之一(模版题)//后缀数组sa:将s的n个后缀从小到大排序后将 排序后的后缀的开头位置 顺次放入sa中,则sa[i]储存的是排第i大的后缀的开头位置。简单的记忆就是“排第几的...
分类:
其他好文 时间:
2014-08-18 23:24:13
阅读次数:
367
leetcode中和括号匹配相关的问题共有三个,分别是:
Valid Parentheses
Given a string containing just the characters '(', ')', '{', '}', '[' and ']',
determine if the input string is valid.
The brackets m...
分类:
其他好文 时间:
2014-08-18 20:35:52
阅读次数:
221
public?class?PatternMatching?{
?/*
??*?该方法用来判断子串是否存在于父串中?若存在返回true,否则返回false?searchMe表示父串,substring表示子串
??*/
?public?boolean?match(String?searchM...
分类:
编程语言 时间:
2014-08-18 18:56:33
阅读次数:
201
刚学c#不久,也不太懂什么IHTMLDocument、IHTMLDocument2、IWebBrowser2等等。自己琢磨了好久,终于知道了怎么用WebBrowser操作frame和iframe。1.获取frame的源文件MessageBox.Show(webBrowser1.Document.Wi...
分类:
Web程序 时间:
2014-08-18 15:58:52
阅读次数:
250
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioning ofs.For example, giv...
分类:
其他好文 时间:
2014-08-18 14:25:12
阅读次数:
204
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:
其他好文 时间:
2014-08-17 16:55:02
阅读次数:
202
https://oj.leetcode.com/problems/minimum-window-substring/模拟题这道题细节比较多。从左到右扫一遍模拟着做 class Solution {public: string minWindow(string S, string T) { ...
//设置窗体全屏getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);//设置窗体始终点亮getWindow().setFlags(Wi...
分类:
移动开发 时间:
2014-08-16 19:38:20
阅读次数:
418
java中substring的使用方法str=str.substring(int beginIndex);截取掉str从首字母起长度为beginIndex的字符串,将剩余字符串赋值给str;str=str.substring(int beginIndex,int endIndex);截取str中从b...
分类:
编程语言 时间:
2014-08-16 09:43:10
阅读次数:
155