码迷,mamicode.com
首页 >  
搜索关键字:one person game    ( 39118个结果
面向对象基础(二)
1.创建类的方法 面向对象的程序都是类堆积起来的2.创建对象的方法3.类和对象关系1.创建类的方法 class 类名{ 属性; //也叫成员变量, 主要用于描述类的状态 方法; //也叫成员方法, 主要用于描述类的行为 } class Person{ int age; //属性 or 类的成...
分类:其他好文   时间:2014-05-19 20:46:03    阅读次数:491
Jaw crusher used in Cambodia
Jaw Crusher is one of our most main products(Jaw Crusher), we can produce all kinds of crusher(limestone crushing machine), grinding mill, sand making...
分类:其他好文   时间:2014-05-19 20:37:36    阅读次数:407
Android 屏幕切换动画
public voidoverridePendingTransition(int enterAnim, int exitAnim) Call immediately after one of the flavors ofstartActivity(Intent)orfinish()to speci....
分类:移动开发   时间:2014-05-19 08:43:06    阅读次数:426
【LeetCode】Jump Game II
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:其他好文   时间:2014-05-19 08:07:26    阅读次数:288
【leetcode】Best Time to Buy and Sell Stock
Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie...
分类:其他好文   时间:2014-05-18 20:30:16    阅读次数:301
POJ1753(Flip Game)
题目大意:给你一个4*4的矩阵,矩阵里面储存着棋子,棋子有黑色,和白色,你可以任意改变位置(i,j)的棋子,但是规则是这个位置的上下左右的棋子颜色都必须改变。求最少需要改变几颗棋子,使得棋盘的棋子都为白的或都为黑色。解题思路: 枚举+DFS。因为棋盘就16位所以,最多改变16个棋子。枚举每一种至少改...
分类:其他好文   时间:2014-05-18 20:17:09    阅读次数:309
【leetcode】Longest Palindromic Substring
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:其他好文   时间:2014-05-18 19:39:55    阅读次数:355
AngularJS tutorial - Lesson 2
AngularJS DirectivesDirectivesare one of the most powerful ofAngularJS. They allow us to extend HTML to answer the needs of web applications. Directiv...
分类:Web程序   时间:2014-05-17 15:26:40    阅读次数:436
CareerCup之1.8 字符串移位包含问题
【题目】 原文: 1.8 Assume you have a method isSubstring which checks if one word is a substring of another. Given two strings, s1 and s2, write code to check if s2 is a rotation of s1 using only one...
分类:其他好文   时间:2014-05-16 01:50:08    阅读次数:311
Best Time to Buy and Sell Stock I && II && III
题目1:Best Time to Buy and Sell Stock Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transaction (ie,...
分类:其他好文   时间:2014-05-16 01:46:15    阅读次数:460
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!