DescriptionByteman, one of the most deserving employee of The Goldmine of Byteland, is about to retire by the end of the year. The Goldmine management...
分类:
其他好文 时间:
2014-10-14 17:24:48
阅读次数:
323
Given a non-negative number represented as an array of digits, plus one to the number.
The digits are stored such that the most significant digit is at the head of the list.
class Solution {
pub...
分类:
其他好文 时间:
2014-10-14 16:04:43
阅读次数:
154
Follow up for "Remove Duplicates":
What if duplicates are allowed at most twice?
For example,
Given sorted array A = [1,1,1,2,2,3],
Your function should return length = 5, and A is now [1,1,2,...
分类:
其他好文 时间:
2014-10-12 19:42:38
阅读次数:
141
Information Entropy
Time Limit: 2 Seconds Memory Limit: 65536 KB Special Judge
Information Theory is one of the most popular courses in Marjar University. In this course, there is an i...
分类:
其他好文 时间:
2014-10-12 19:25:08
阅读次数:
206
Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at...
分类:
其他好文 时间:
2014-10-12 13:29:18
阅读次数:
160
It is quite a basic problem. However I spent half an hour solving it and made two mistakes. Guess it's because I haven't written some fundamental data structures like linked list for a while and kind...
分类:
其他好文 时间:
2014-10-12 09:08:27
阅读次数:
176
Who Gets the Most Candies?Time Limit: 5000MSMemory Limit: 131072KTotal Submissions: 10373Accepted: 3224Case Time Limit: 2000MSDescriptionN children ar...
分类:
其他好文 时间:
2014-10-12 01:18:06
阅读次数:
322
Hell on the Markets
Time Limit:3000MS
Memory Limit:Unknown
64bit IO Format:%lld & %llu
[Submit] [Go Back] [Status]
Description
Most financial institutions had ...
分类:
其他好文 时间:
2014-10-11 17:11:01
阅读次数:
315
CF:Carry Flag.The most recent operation generated a carry out of the most significant bit.Used to detect overflow for unsigned operations.ZF:Zero Flag...
分类:
其他好文 时间:
2014-10-11 11:28:15
阅读次数:
158
先上代码。 1 #include 2 #include 3 #include 4 using namespace std; 5 6 class Solution { 7 public: 8 int maxArea(vector &height) { 9 if (hei...
分类:
其他好文 时间:
2014-10-11 00:22:04
阅读次数:
354