码迷,mamicode.com
首页 >  
搜索关键字:comare version number    ( 48018个结果)
android 中ScrollView的使用
android中布局一般都有两种方式,一种xml声明,另外一种则是程序声明: xml: xml version="1.0" encoding="utf-8"?> LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" ...
分类:移动开发   时间:2014-09-08 02:11:56    阅读次数:270
Web Pages - Efficient Paging Without The WebGrid
Web Pages - Efficient Paging Without The WebGrid If you want to display your data over a number of pages using WebMatrix Beta1, you have two options. ...
分类:Web程序   时间:2014-09-07 23:44:45    阅读次数:397
Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2014-09-07 23:40:25    阅读次数:202
ZOJ - 3816 Generalized Palindromic Number
Description A number that will be the same when it is written forwards or backwards is known as a palindromic number. For example, 1234321 is a palindromic number. We call a number generalized p...
分类:其他好文   时间:2014-09-07 22:31:15    阅读次数:241
ZigZag Conversion
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font ...
分类:其他好文   时间:2014-09-07 21:07:35    阅读次数:247
zoj 3816 Generalized Palindromic Number (二分+贪心)
题目连接 :http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5348牡丹江网络赛的题,比赛的时候想到做法的,但是一直没调出来,赛后也调了些时间,最近代码能力堪忧啊~有好多做法, 我的做法是二分下界low,即判断在low到n-1之间...
分类:其他好文   时间:2014-09-07 21:07:25    阅读次数:270
NYIST 760 See LCS again
See LCS again时间限制:1000 ms | 内存限制:65535 KB难度:3描述There are A, B two sequences, the number of elements in the sequence is n、m;Each element in the seque.....
分类:其他好文   时间:2014-09-07 21:01:55    阅读次数:286
ZOJ 3816 Generalized Palindromic Number dfs+暴力枚举
题目链接:点击打开链接 题意: 给定一个数n 找一个最大的数u使得u 枚举前面有多少位是一样的。然后分类讨论。啪啦啪啦 #include #include #include #include #include using namespace std; typedef long long ll; const int N = 22; int pie[N], piesize; ll ...
分类:其他好文   时间:2014-09-07 19:52:35    阅读次数:252
Mudangjiang Online H Generalized Palindromic Number
一开始觉得是数位DP,后来想不出来。 但是感觉爆搜+剪枝可以过,于是就过了。。#include #include #include using namespace std;typedef long long LL;const int maxn = 50;int lim[maxn], len;LL n...
分类:其他好文   时间:2014-09-07 18:32:55    阅读次数:177
分享两个常用的脚本,适合快速部署虚拟机
虚拟机克隆完后,通常我使用这两个脚本来帮助快速部署,一个是修改主机名,一个是修改IP地址(IP地址修改比较适合只用一块网卡的虚拟机,修改eth0的IP地址)。适合Redhat 6及CentOS 6的操作系统。修改主机名:#!/bin/bash# Ivan Liao - Version 0.1clea...
分类:其他好文   时间:2014-09-07 14:45:35    阅读次数:230
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!