码迷,mamicode.com
首页 >  
搜索关键字:match    ( 5193个结果)
一系列网络流题目-2016.10.18
稍微修改了一下最大流的算法,昨天整理代码的有错误。本来想把算法封装成一个模板类,结果运行时间直接从2秒变成了超时,那道题总时间是15秒,单点限制5秒。 HDU3416:Marriage Match IVTime Limit: 2000/1000 MS (Java/Others) Memory Lim ...
分类:其他好文   时间:2016-10-18 18:10:48    阅读次数:157
解决java compiler level does not match the version of the installed java project facet【转载】
原博文地址http://blog.csdn.net/chszs/article/details/8125828 Java compiler level does not match the version of the installed java project facet错误的解决 因工作的关系 ...
分类:编程语言   时间:2016-10-18 02:11:48    阅读次数:109
Android DatePickerDialog TimePickerDialog
1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 android:layout_width="match_parent" 3 android:layout_height="match_parent ...
分类:移动开发   时间:2016-10-17 14:21:07    阅读次数:149
Android Toast 自定义
1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_width="match_pare ...
分类:移动开发   时间:2016-10-17 14:02:50    阅读次数:166
Android Dialog AlertDialog
1、普通的对话框 1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 android:layout_width="match_parent" 3 android:layout_height="mat ...
分类:移动开发   时间:2016-10-17 11:19:31    阅读次数:323
Android BaseAdapter ListView (明星简介列表)
1、搭建布局 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 android:layout_width="match_parent" 3 android:layout_height="mat ...
分类:移动开发   时间:2016-10-17 11:08:20    阅读次数:258
408. Valid Word Abbreviation
来看一题水平吊打的题 自己的方法,就是一个一个match咯& 当word和abbr都没有走到尽头: 如果当前位上的字母相等,那么i++, j++, continue; 如果abbr当前位置上的不是数字(因为之前如果是字母已经完成了匹配了),就返回false 如果找到abbr上的数字,i+=num 退 ...
分类:其他好文   时间:2016-10-15 02:51:26    阅读次数:172
PHP 中正则的应用 I Ⅱ Ⅲ
int preg_match ( string $pattern , string $subject [, array &$matches [, int $flags = 0 [, int $offset = 0 ]]] ) <?php$subject = "abcdef";$pattern = ' ...
分类:Web程序   时间:2016-10-14 20:29:29    阅读次数:143
MySQL中文全文检索
一、概述 MySQL全文检索是利用查询关键字和查询列内容之间的相关度进行检索,可以利用全文索引来提高匹配的速度。 二、语法 MATCH (col1,col2,...) AGAINST (expr [search_modifier]) search_modifier: { IN BOOLEAN MOD ...
分类:数据库   时间:2016-10-14 17:32:06    阅读次数:371
正则表达式
import re#正则分组就是去已经提取到的数据中在去提取数据。#origin="hasaabc kljlkjhlk hlaabc kj"#r=re.match("h\w+",origin)#match从开头来找开头找不到就算没有#r=re.match("h(\w+)",origin)#r=re. ...
分类:其他好文   时间:2016-10-14 14:41:29    阅读次数:118
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!