码迷,mamicode.com
首页 >  
搜索关键字:extended lights out    ( 36586个结果
HDU 4919 打表找规律 java大数 map 递归
== oeis: 点击打开链接 然后不知道哪里写挂了,贴个基友的代码刷人气啊,兄弟多刷新几下再走啊 import java.math.*; import java.util.*; import static java.lang.System.out; public class Main { static BigInteger x0 = new BigInteger("0");...
分类:编程语言   时间:2014-08-05 19:23:39    阅读次数:286
求从10到100中能被3或5整除的数的和
intsum=0;for(inti=10;i<=100;i++)if(i%3==0||i%5==0)sum+=i;System.out.println(sum);
分类:其他好文   时间:2014-08-05 19:13:11    阅读次数:209
将一个字符串逆序,不要使用反转函数
Stringmessage="hesawaracecar";StringBuilderrev=newStringBuilder();for(inti=message.length()-1;i>=0;i--)rev.append(message.charAt(i));System.out.printl...
分类:其他好文   时间:2014-08-05 18:54:51    阅读次数:405
【Vim】Cscope安装基础和使用
安装 在CentOS下,我们可以直接使用yum命令进行安装 整体步骤 安装cscope 配置vim配置文件 生成cscope.out文件 使用cscope命令进行操作 cscope安装 在cscope主页进行下载: http://cscope.sourceforge.net cent os的用户可以...
分类:其他好文   时间:2014-08-05 18:33:39    阅读次数:333
堆栈--java语言的理解
堆栈1,概要堆栈是两种数据结构。堆栈都是一种数据项按序排列的的数据结构,只能在一端进行(称为栈顶(top))对数据项进行插入和删除。要点:堆,列队优先,先进先出。栈,后进先出(Last-In/First-Out)。2,对比(Java语言)1.栈(stack)和堆(heap)都是java用来在Ram中...
分类:编程语言   时间:2014-08-05 18:24:29    阅读次数:358
Combinations C++
Question: Given two integersnandk, return all possible combinations ofknumbers out of 1 ...n.要产生全部的combinations,我们需要一种有序的方式产生combination以达到既产生全部又没有重复的...
分类:编程语言   时间:2014-08-05 15:17:59    阅读次数:263
POJ 1651 Multiplication Puzzle (区间DP)
Description The multiplication puzzle is played with a row of cards, each containing a single positive integer. During the move player takes one card out of the row and scores the number of points eq...
分类:其他好文   时间:2014-08-05 11:12:25    阅读次数:267
HDU2451:Simple Addition Expression
Problem Description A luxury yacht with 100 passengers on board is sailing on the sea in the twilight. The yacht is ablaze with lights and there comes out laughers and singing from the hall where a...
分类:其他好文   时间:2014-08-05 11:09:49    阅读次数:240
Exception和RuntimeException
public class RuntimeExceptionDemo01 { public static void main(String[] args) { String string="123"; int temp=Integer.parseInt(string); System.out.prin...
分类:其他好文   时间:2014-08-05 11:01:09    阅读次数:203
A trip through the Graphics Pipeline 2011_11 Stream Out
Welcome back! This time, the focus is going to be on Stream-Out (SO). This is a facility for storing the Output of the Geometry Shader stage to memory...
分类:其他好文   时间:2014-08-05 00:34:38    阅读次数:299
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!