Background
Some concepts in Mathematics and Computer Science are simple in one or two dimensions but become more complex when extended to arbitrary dimensions. Consider solving differential equations...
分类:
其他好文 时间:
2014-10-17 22:01:08
阅读次数:
231
Inside Deep Zoom –Part II: Mathematical AnalysisWelcome to part two ofInside Deep Zoom. Inpart one, I talked about the very basic ideas behind Deep Zo...
分类:
Web程序 时间:
2014-10-17 13:45:51
阅读次数:
263
相同的雪花
时间限制:1000 ms | 内存限制:65535 KB
难度:4
描述You may have heard that no two snowflakes are alike. Your task is to write a program to determine whether this is really true. Your
program w...
分类:
其他好文 时间:
2014-10-17 09:41:24
阅读次数:
193
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo...
分类:
其他好文 时间:
2014-10-17 00:04:43
阅读次数:
304
Problem DescriptionJGShining's kingdom consists of 2n(n is no more than 500,000) small cities which are located in two parallel lines.Half of these ci...
分类:
其他好文 时间:
2014-10-16 21:14:33
阅读次数:
282
Hashmat the Brave WarriorXX自己有士兵a人, 敌军有士兵b人,自己的士兵永远比敌军少, 求对方比自己多多少人。 (虽说要从头刷,但是这样的还是太水了吧 2333333喜闻乐见的错了因为2^32爆了int。。。These two numbers in each line...
分类:
其他好文 时间:
2014-10-16 20:04:33
阅读次数:
264
ConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionGive two positive integers a and b, please help us calculate a*b.InputThe first line of t...
分类:
其他好文 时间:
2014-10-16 14:06:42
阅读次数:
135
Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of ...
分类:
其他好文 时间:
2014-10-16 14:01:02
阅读次数:
154
[leetcode]Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)...
分类:
其他好文 时间:
2014-10-16 13:02:12
阅读次数:
183
Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical an...
分类:
其他好文 时间:
2014-10-16 08:40:12
阅读次数:
131