c*o
2 楼
我终于,不自觉地走近你
在午夜仍残余的思念里
不肯睡去
如果爱你,是一种惩罚
我会在心里,画着你的影子
每一笔,偿还你给过的呢喃细语
怨恨离愁
我已银丝渐露,岁月盈头
亲爱的
既然爱你是我的必经之路
在我老去之前
再爱我一次吧
在午夜仍残余的思念里
不肯睡去
如果爱你,是一种惩罚
我会在心里,画着你的影子
每一笔,偿还你给过的呢喃细语
怨恨离愁
我已银丝渐露,岁月盈头
亲爱的
既然爱你是我的必经之路
在我老去之前
再爱我一次吧
r*y
3 楼
【 以下文字转载自 Java 讨论区 】
发信人: romancity (山顶一枝草), 信区: Java
标 题: javascript
发信站: BBS 未名空间站 (Mon Oct 3 13:28:42 2011, 美东)
I have a file 1.txt
//1.txt
A B
B C
D E
E F
G H
I J
two letters in each line are in same group. So for the file above
A B C is in one group
D E F is in second group
G H is in third group
I J is in the fourth group
I need to use javascript to get the output below:
There are 4 groups:
group 1: A, B, C
group 2: D, E, F
group 3: G, H
group 4: I, J
How to write the javascript code ? Thanks a lot
发信人: romancity (山顶一枝草), 信区: Java
标 题: javascript
发信站: BBS 未名空间站 (Mon Oct 3 13:28:42 2011, 美东)
I have a file 1.txt
//1.txt
A B
B C
D E
E F
G H
I J
two letters in each line are in same group. So for the file above
A B C is in one group
D E F is in second group
G H is in third group
I J is in the fourth group
I need to use javascript to get the output below:
There are 4 groups:
group 1: A, B, C
group 2: D, E, F
group 3: G, H
group 4: I, J
How to write the javascript code ? Thanks a lot
f*r
4 楼
股版炒船股还炒的起劲,估计要被套死了
m*a
7 楼
I concur. this section will be dead for a while until China is truly
recovered. When this happens, it is 10 X opportunity. Very interesting sect
to watch.
【在 s********n 的大作中提到】
: http://www.bloomberg.com/apps/news?pid=20601087&sid=ax4RVuref7vQ
recovered. When this happens, it is 10 X opportunity. Very interesting sect
to watch.
【在 s********n 的大作中提到】
: http://www.bloomberg.com/apps/news?pid=20601087&sid=ax4RVuref7vQ
t*t
13 楼
http://en.wikipedia.org/wiki/Disjoint-set_data_structure
i dunno why you focus on programming language while dealing with this
typical algorithm problem
【在 r*******y 的大作中提到】
: A B
: C B
: in this case A, B, C are also in same group
: I think the time complexity is a big problem here.
: I want to use c++ now
i dunno why you focus on programming language while dealing with this
typical algorithm problem
【在 r*******y 的大作中提到】
: A B
: C B
: in this case A, B, C are also in same group
: I think the time complexity is a big problem here.
: I want to use c++ now
i*o
14 楼
There are only 27 letters, where is the time complexity? All you need is to
start eith 27 empty pointers. The time for this operation is most likely O(n
).
★ 发自iPhone App: ChineseWeb - 中文网站浏览器
【在 r*******y 的大作中提到】
: A B
: C B
: in this case A, B, C are also in same group
: I think the time complexity is a big problem here.
: I want to use c++ now
start eith 27 empty pointers. The time for this operation is most likely O(n
).
★ 发自iPhone App: ChineseWeb - 中文网站浏览器
【在 r*******y 的大作中提到】
: A B
: C B
: in this case A, B, C are also in same group
: I think the time complexity is a big problem here.
: I want to use c++ now
r*y
15 楼
thanks a lot.
The problem is that it is not just about letters. A, B, C stands names
and the data may be huge
to
(n
【在 i*****o 的大作中提到】
: There are only 27 letters, where is the time complexity? All you need is to
: start eith 27 empty pointers. The time for this operation is most likely O(n
: ).
:
: ★ 发自iPhone App: ChineseWeb - 中文网站浏览器
The problem is that it is not just about letters. A, B, C stands names
and the data may be huge
to
(n
【在 i*****o 的大作中提到】
: There are only 27 letters, where is the time complexity? All you need is to
: start eith 27 empty pointers. The time for this operation is most likely O(n
: ).
:
: ★ 发自iPhone App: ChineseWeb - 中文网站浏览器
相关阅读
C++求助: New/Delete in Multidimensioned arraylook at this:-)C++ Primer 4th 原版书到底多少页?release Vs. debug???ask a C++ inheritance questionquant lib请教:how to call a COM object in a stored procedure? (转载)一道面试题请教matlab转C++vc下程序的合并问个技术问题: 怎样把其他网站的搜索结果显示在自己的网站上which school in MA has good evolutionary computation program ?问一个关于matlab的这个条件语句如何写?hashtable questionEOF一问一个矩阵分解的问题(对称实矩阵)Linux terminal graphicsa C questionoptimization