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 - 中文网站浏览器
相关阅读
王垠:AlphaGo与人工智能zz (转载)请问这是什么编辑器或者插件stormpath这个公司如何?做的东西有前途吗?求大神指教linux 能查到 deleted file list 吗再说说react & angular 2uber用的python作的api.不是java, php【编程随想】整理的《太子党关系网络》狂笑——习特勒得知 AlphaGo战胜李世石(视频)redis真是神器python 小问题Scala,F#或haskell怎么用DI?从deepblue到alphagocmake 求教总结一下kaggle比赛求教怎么建一个AWS的real time scoring engine?请问Java有没有支付功能的轮子mesos 用得多吗?谷歌机器人atlas的自动瞄准系统 (转载)求教个quickbooks Oauth的问题懂deepmind得说说