摘要:
1.poj 1742 Description People in Silverland use coins.They have coins of value A1,A2,A3...An Silverland dollar.One day Tony opened his money-box and f 阅读全文
摘要:
题目: Given an unsorted array of integers, find the number of longest increasing subsequence. Example 1: Example 2: 题解: 首先解决最长的递增序列问题,最朴素的做法是深搜,以每一个数为开头 阅读全文
摘要:
摘自http://www.cplusplus.com 1. scanf 函数 Parameters format Whitespace character: the function will read and ignore any whitespace characters encountered 阅读全文
摘要:
题目: Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing only 1's and return its area. For example, given the follo 阅读全文