Orz hzwer只要用堆就可以了,跪烂了。。。话说那个什么ext的库真的能用嘛= =,反正我用了烂删除结果Rank.3←_← 1 /************************************************************** 2 Problem: 3252 ...
分类:
其他好文 时间:
2014-11-27 22:03:04
阅读次数:
446
题意:
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 complete as many transactions as you like (ie, buy one and sell one share of the stock multiple ti...
分类:
其他好文 时间:
2014-11-27 20:36:25
阅读次数:
215
My father was a self-taught mandolin player. He was one of the best string instrument players in our town. He could not read music, but if he heard a tune a few times, he could play it. When he was yo...
分类:
其他好文 时间:
2014-11-27 14:36:15
阅读次数:
230
题意:
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, buy one and sell one share of the stock), design an algorithm to find the maximum prof...
分类:
其他好文 时间:
2014-11-27 00:17:48
阅读次数:
227
CD
You have a long drive by car ahead. You have a tape recorder, but unfortunately your best music is on CDs. You need to have it on tapes so the problem to solve is: you have a tape N m...
分类:
其他好文 时间:
2014-11-26 22:39:08
阅读次数:
280
Module definitionsAngular modules can be declared in various ways, either stored in a variable or using the getter syntax. Use the getter syntax at al...
分类:
Web程序 时间:
2014-11-25 18:28:16
阅读次数:
128
Annotation Order:It's considered good practice to dependency inject Angular's providers in before our own custom ones.Bad:// randomly ordered dependen...
分类:
Web程序 时间:
2014-11-25 18:16:10
阅读次数:
155
废话不多说,直接上代码。function MySelectCtrl($scope){ $scope.Model = [ { id: 10002, MainCategory: '男', ProductName: '水洗T恤', ProductColor:...
分类:
Web程序 时间:
2014-11-25 14:05:07
阅读次数:
227
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 complet...
分类:
其他好文 时间:
2014-11-25 14:02:10
阅读次数:
175
Rank of Tetris
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 5447 Accepted Submission(s): 1526
Problem Description
自从Lele开发了Ra...
分类:
编程语言 时间:
2014-11-24 22:30:55
阅读次数:
337