码迷,mamicode.com
首页 >  
搜索关键字:jump game ii    ( 12386个结果
【LeetCode】Jump Game
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:23:07    阅读次数:223
【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
POJ1753(Flip Game)
题目大意:给你一个4*4的矩阵,矩阵里面储存着棋子,棋子有黑色,和白色,你可以任意改变位置(i,j)的棋子,但是规则是这个位置的上下左右的棋子颜色都必须改变。求最少需要改变几颗棋子,使得棋盘的棋子都为白的或都为黑色。解题思路: 枚举+DFS。因为棋盘就16位所以,最多改变16个棋子。枚举每一种至少改...
分类:其他好文   时间:2014-05-18 20:17:09    阅读次数:309
第一次瓶颈
昨天,想了一整个下午。我想要的究竟是什么?怎么开始。起源是,我前天为了aap解决了2个问题。但是,我在想。这些都是很简单的问题,只要知道google maps的api就可以了。我再想,难道这些就是我想要的吗?如果不是,那我想要的究竟是什么?我想要做有个web game?不,我不是很喜欢游戏。我想要做...
分类:其他好文   时间:2014-05-18 19:15:14    阅读次数:221
ACdream1008:A Very Easy Triangle Counting Game
Problem Description Speedcell and Shoutmon love triangles very much.One day,they are playing a game named “Triangle Counting”. In this game,Speedcell draws a round,and draws N points on the circum...
分类:其他好文   时间:2014-05-18 14:19:00    阅读次数:262
Codeforces 432D Prefixes and Suffixes(KMP+dp)
题目连接:Codeforces 432D Prefixes and Suffixes 题目大意:给出一个字符串,求所有既是前缀串又是后缀串的字符串出现了几次。 解题思路:根据性质可以根据KMP算法求出所有的前后缀串,然后利用dp求解,dp[i]表示从1到i这个子串出现过的次数。转移方程dp[jump[i]]+=dp[i]。任意一个dp[i]的初始状态应该是1。 #include #...
分类:其他好文   时间:2014-05-18 14:11:46    阅读次数:321
[问题2014S13] 复旦高等代数II(13级)每周一题(第十三教学周)
[问题2014S13] (1) 设 \(A\) 是数域 \(\mathbb{K}\) 上的 \(n\) 阶非异阵, 若存在主对角元全为 \(1\) 的下三角阵 \(L\in M_n(\mathbb{K})\) 以及上三角阵 \(U\in M_n(\mathbb{K})\) 使得 \(A=LU\), ...
分类:其他好文   时间:2014-05-18 01:32:24    阅读次数:203
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
QlikView概述
本文要学习的内容一共有两个: I.什么是Qlikview II. QlikView 的优缺点    1.1什么是QlikView 1.1什么是QlikView QlikView是一个工具,一个商业智能分析(BusinessIntelligence,简称BI)的工具。 QlikView是由QlikTech开发的。QlikTech 成立于1993,瑞典隆德。今天,她的研发中心仍然设...
分类:其他好文   时间:2014-05-15 23:40:54    阅读次数:446
[求PN点] poj 2505 A multiplication game
题目链接: http://poj.org/problem?id=2505 A multiplication game Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 5098   Accepted: 2573 Description St...
分类:其他好文   时间:2014-05-15 23:33:22    阅读次数:378
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!