码迷,mamicode.com
首页 >  
搜索关键字:match    ( 5193个结果
hdu 1281 棋盘游戏
将行和列的标号组成X和Y集合,然后如果x,y坐标可以放车,就在x和y点之间连一条线,不同行和列车就不会相互攻击,所以求出最大匹配就是所得的最多可放车额个数 然后枚举每个点,判断其是否为重要点 #include #include #include using namespace std; #define N 102 int map[N][N],visit[N],match[N]; int n,m,...
分类:其他好文   时间:2015-06-17 09:44:47    阅读次数:153
一int考虑什么类型的多少字节
一int表示的字节数?问题是,我们经常得到的答案4.但int究竟占多少个字节,却跟你的机器环境有关.As you can see, the typical data type sizes match the ILP32LL model, which is what most compilers ad...
分类:其他好文   时间:2015-06-16 21:12:35    阅读次数:106
PHP正则获取字符串中数字
<?php ????$patterns?=?"/\d+/";?//第一种 ????//$patterns?=?"/\d/";???//第二种 ????$strs="left:0px;top:202px;width:90px;height:30px"; ????preg_match_all($patterns,$strs,$arr);...
分类:Web程序   时间:2015-06-16 19:38:03    阅读次数:160
Android开发技巧三--格式化TextView文本
本例主要研究一下如何在TextView中显示网页链接和改变特定文字颜色1.main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match...
分类:移动开发   时间:2015-06-16 19:17:38    阅读次数:234
HDU3416 Marriage Match IV(spfa+最大流SAP)
Marriage Match IV Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2391    Accepted Submission(s): 722 Problem Description Do not sincer...
分类:其他好文   时间:2015-06-16 19:14:34    阅读次数:124
Java compiler level does not match解决方法
1、先设置好jdk,需要确定 项目,eclipse/myeclipse,系统 用的是同一个版本的JDK,我系统中安装的JDK是1.6,所以我把eclipse的jdk成1.62进入 windows---proferences---java--compiler设置编译出来的文件使用的格式是 1.6版本的...
分类:编程语言   时间:2015-06-16 12:36:01    阅读次数:134
HDU3081Marriage Match II(二分答案+并查集+最大流SAP)经典
Marriage Match II Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2507    Accepted Submission(s): 856 Problem Description Presumably, y...
分类:其他好文   时间:2015-06-16 00:00:45    阅读次数:428
练习2
<?xml?version="1.0"?encoding="utf-8"?> <LinearLayout?xmlns:android="http://schemas.android.com/apk/res/android" ????android:layout_width="match_parent" ????android:layout_height="match_...
分类:其他好文   时间:2015-06-15 19:01:50    阅读次数:96
Android 中 ViewFlipper 的简单实例
main.xml<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="...
分类:移动开发   时间:2015-06-15 09:19:29    阅读次数:189
JS获取地址栏参数
function getQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r = window.location.search.substr(1).match(reg); if (...
分类:Web程序   时间:2015-06-14 22:37:26    阅读次数:187
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!