码迷,mamicode.com
首页 >  
搜索关键字:bigger    ( 231个结果
Uva 10131 Is Bigger Smarter? (LIS,打印路径)
option=com_onlinejudge&Itemid=8&page=show_problem&problem=1072">链接:UVa 10131题意:给定若干大象的体重及智商值。求满足大象体重严格递增,智商严格递减的序列的最大个数。并打印随意一组取得最大值的序列的大象编号分析:这个是LIS的...
分类:其他好文   时间:2016-01-07 16:09:58    阅读次数:135
Using ASTC Texture Compression for Game Assets
By David Chait, Tegra Developer Technology Since the dawn of the GPU, developers have been trying to cram bigger and better textures into memory. Sometimes that is accomplished with more RAM but mo...
分类:其他好文   时间:2015-11-04 19:52:51    阅读次数:575
SPOJ 15. The Shortest Path 堆优化Dijsktra
You are given a list of cities. Each direct connection between two cities has its transportation cost (an integer bigger than 0). The goal is to find ...
分类:Web程序   时间:2015-10-19 10:44:47    阅读次数:333
Bigger is Better
题意:有n个火柴棒,已知拼成9个数字花费的数目,求能拼出的能整除m的最大数分析:dp[i][j]表示,用i个火柴棒,拼出的数余m余数为j时的最大数int tmp=dp[i][j]*10+k;(k是拼成的某个数)dp[i+num[k]][tmp%m]=max(dp[i+num[k]][tmp%m],t...
分类:其他好文   时间:2015-10-14 00:16:15    阅读次数:184
RequireJs调研
背景Problem(问题)Web sites are turning into Web apps(网站正转变为网络应用程序)Code complexity grows as the site gets bigger(代码复杂度随着站点变大而变复杂)Assembly gets harder(组装变得更...
分类:Web程序   时间:2015-09-26 20:01:08    阅读次数:258
第45讲:Scala中Context Bounds代码实战及其在Spark中的应用源码解析
今天学业习了上下文界定的内容,看下这段代码class Pair_Ordering[T:Ordering](val first : T,val second : T){ def bigger(implicit ordered:Ordering[T]) = { if(ordered.compare(fi...
分类:其他好文   时间:2015-09-06 01:05:42    阅读次数:179
Scala中Context Bounds代码实战及其在Spark中的应用源码解析之Scala学习笔记-36
package com.leegh.parameterization/** * @author Guohui Li */class Pair_Ordering[T: Ordering](val first: T, val second: T) { def bigger(implicit order....
分类:其他好文   时间:2015-08-29 09:44:52    阅读次数:215
Codeforces Round #258 (Div. 2) B. Sort the Array
Being a programmer, you like arrays a lot. For your birthday, your friends have given you an array a consisting of n distinct integers. Unfortunately, the size of a is too small. You want a bigger ...
分类:其他好文   时间:2015-08-20 21:01:57    阅读次数:278
猜数字
写一个猜数字脚本,当用户输入的数字和预设数字(随机生成一个小于100的数字)一样时,直接退出,否则让用户一直输入,并且提示用户的数字比预设数字大或者校#!/bin/bashm=`echo$RANDOM`n1=$[$m%100]while:doread-p"Pleaseinputanumber:"nif[$n==$n1]thenbreakelif[$n-gt$n1]th..
分类:其他好文   时间:2015-08-11 23:37:43    阅读次数:134
Google Guava 学习记录《二》 Precondition
1 int i = 4; 2 int j = 5;3 Preconditions.checkArgument(i>j,"i should bigger than j, but i is %s and j is %s",i,j);Exception i...
分类:其他好文   时间:2015-08-11 18:05:38    阅读次数:220
231条   上一页 1 ... 14 15 16 17 18 ... 24 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!