<!DOCTYPEhtml><html><head> <metacharset="utf-8"> <metaname="viewport"content=" width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <title>bootstrap8</title> <linkr..
分类:
其他好文 时间:
2017-02-07 16:49:02
阅读次数:
188
1 package Today; 2 //LeetCode:485. Max Consecutive Ones 3 /* 4 Given a binary array, find the maximum number of consecutive 1s in this array. 5 6 Exam... ...
分类:
其他好文 时间:
2017-02-06 13:22:30
阅读次数:
155
1、WebApp全屏模式: 1、WebApp全屏模式: <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=n ...
分类:
移动开发 时间:
2017-02-05 21:34:41
阅读次数:
710
题目链接:hdu 2459 Maximum repetition substring 题意: 让你找一个重复最多的子串,并且输出。 题解: 这个是论文题,看的cxlove的题解,不是很理解为什么这样就能完全找完,当作结论使吧。 1 #include<bits/stdc++.h> 2 #define ...
分类:
编程语言 时间:
2017-02-05 13:57:16
阅读次数:
285
天呢,好神奇的一个DP23333%%%%% 因为1.向左走1格的话相当于当前列和向左走列全选 2.想做走超过1的话可以有上下走替代。而且只能在相邻行向左。 全选的情况只能从第1行和第3行转移,相反全选的情况也只能转移到第1行和第3行。 (大雾,DP太玄乎了,不是很懂2333) ...
分类:
其他好文 时间:
2017-02-04 16:15:40
阅读次数:
135
原题链接在这里:https://leetcode.com/problems/maximum-xor-of-two-numbers-in-an-array/ 题目: Given a non-empty array of numbers, a0, a1, a2, … , an-1, where 0 ≤ ...
分类:
其他好文 时间:
2017-02-01 10:52:14
阅读次数:
346
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may comple ...
分类:
其他好文 时间:
2017-01-31 12:56:50
阅读次数:
189
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may comple ...
分类:
其他好文 时间:
2017-01-31 10:36:08
阅读次数:
178
原题链接在这里:https://leetcode.com/problems/max-consecutive-ones/ 题目: Given a binary array, find the maximum number of consecutive 1s in this array. Example ...
分类:
其他好文 时间:
2017-01-31 10:35:08
阅读次数:
176
<!DOCTYPE html> <html> <head> <meta charset='UTF-8'/> <meta name='viewport' content='width=device-width, initial-scale=1, minimum-scale=1, maximum-sca ...
分类:
Web程序 时间:
2017-01-30 14:00:21
阅读次数:
463