Redian新闻
>
求助:求合同法的律师或同学
avatar
求助:求合同法的律师或同学# Law - 律师事务所
P*e
1
国航收200$
代理收100$
国航在帮代理赚钱!!!
破烂东西,气死我了。
avatar
p*1
2
准备明年下半年买个小房子。我有一点储蓄, 可以作为首期付款。我想知道是否有什么
渠道, 我可以比较安全地投资,获得比银行利息更多的利益, 与此同时, 当我需要买房
子时, 我可以灵活地将这笔钱取出来?
谢谢。
avatar
c*d
3
有没有otc的药可以治疗
并且求问神经性皮炎的英文名
avatar
b*d
4
献给汶川地震中失去孩子的母亲们
avatar
c*6
5
这就奇怪了,这个女人究竟是谁呢?
这时,人们窃窃私语。二奶?情妇?私生子?什么瞎猜和怀疑都有。有的说,二奶情
妇怎敢大白天来探望又痛哭流涕,也有的说石局长不是那样的人。
此时,张姐脑际翻腾,心中也在翻腾,以往听说好些做官的男人在外背着老婆寻花问
柳,包养情人,莫非一直都乖张的自家男人也干了那种事?如果这个女人真的是,我就
拿扫把赶走她。
正当大家在暗地里说长说短的时候,去药房取药的局长秘书小朱回来了,大家把刚才
那件事跟小朱说了。
小朱出去一看,紧紧握住神秘女人的手,说“梅嫂,你怎么来了,你怎么知道石局长
住院了?”女人说:“是村委会罗主任告诉我的,我今早坐第一班中巴车从家中来。村
委干部和群众代表明天也会来看局长。”
看到小朱和这少妇如此熟息,众人尤其是张姐急切地问:“她是谁?”小朱倒了一杯
开水递给这个叫“梅嫂”的女人,然后不紧不慢地跟大家道出原委。
去年8月,受到江川县委的安排,石局长带领我和几位同志,作为驻村工作组来到了
距离县城40公里外的北部山区黄石镇石灰塘村。几个月来,工作组和当地群众在一起,
想方设法,筹集资金,为石灰塘村修了一条3公里长的水泥路,做了该做的事。
(未完待续)
avatar
g*o
6
假设有300个二进制数 (每个二进制数都是30位)
1001001011111011110
1010101110111111001
1010111101110101110
1011111000000010101
..
..
..
..
1001001011111011110
1010101110111111001
1010111101110101110
1011111000000010101
所以就是,300行,30列
位置:每个二进制数(即每一行)最左边的一位为第1位,最右边的一位就是第30位。
现在需要输出:所有符合要求的两个位置,条件是在这么多的二进制数中,这两个位置
都为1的次数超过50次。
比如输出:
第1位,第2位
第5位,第20位
.
.
.
请问有什么好的算法吗?
avatar
c*e
7
朋友是国内的注册会计师,现在上海一家公司工作,他说要变成执业的,必须在会计师
事务所连续工作两年,是这样的吗?有没有其他途径? 多谢了先。
avatar
l*i
8
有点小问题请咨询或者帮忙解决下,可有偿。站内留下你的联系方式。谢谢
avatar
s*d
9
是代理给你好处少收。
avatar
a*9
10
money market saving, or some riskfree cd
avatar
y*i
11
re
感动!
avatar
k*g
12

I can think of a two-pass approach.
First pass, Find the digits that do not have enough ones (i.e. bit positions
for which less than 50 inputs have a value of one in that bit position).
This first step is optional - even if you skip this step, you still only
need to accumulate ( 30 * 29 / 2 ) = 435 histogram bins.
// initialize
foreach bitIndex
accum [ bitIndex] = 0
// accumulate
foreach inputIndex
foreach bitIndex
accum [ bitIndex ] += input [ inputIndex ] . bit [ bitIndex ]
// Second step.
Let SelectTwo = ...
... Select ( i , j ) from ( bitIndex.Min <= i < j <= bitIndex.Max )
// initialize
foreach tuple ( i, j ) in SelectTwo
histogram [ i, j ] = 0
// accumulate
foreach inputIndex
foreach tuple ( i, j ) in SelectTwo
if ... ( input [ inputIndex ] . bit [ i ] == 1 ) ,
AND ( input [ inputIndex ] . bit [ j ] == 1 ) ,
then
histogram [ i , j ] += 1
endif
// print result
foreach tuple ( i , j ) in SelectTwo
if histogram [ i , j ] >= 50
print i , j , histogram [ i , j ]
endif

【在 g********o 的大作中提到】
: 假设有300个二进制数 (每个二进制数都是30位)
: 1001001011111011110
: 1010101110111111001
: 1010111101110101110
: 1011111000000010101
: ..
: ..
: ..
: ..
: 1001001011111011110

avatar
k*o
13
是,你可以找个小所给你出个证明。
avatar
s*x
14
我的review就是为你写的
avatar
K*D
15
There is none.

【在 p****1 的大作中提到】
: 准备明年下半年买个小房子。我有一点储蓄, 可以作为首期付款。我想知道是否有什么
: 渠道, 我可以比较安全地投资,获得比银行利息更多的利益, 与此同时, 当我需要买房
: 子时, 我可以灵活地将这笔钱取出来?
: 谢谢。

avatar
f*8
16
楼上的算法复杂度为O(M^2*N^2).
下面给出O(M*N)的算法,以及实现。
第一步,先扫描各行各列,找出每一列1的个数,然后将每列1的个数及列号按个数从大
到小排列到
一个LIST中,且直接忽略1的个数小于50的列号;O(M*N)+O(MlogM),其中N为行数,M为
列数。
第二步,根据第一步扫描的结果,创建 FP-tree(Frequency Pattern tree)。创建方
法如下:树中每个节点包括column-index,出现次数,worst复杂度O(M*N).
第三步,统计结果,就是遍历树的过程,有一些技巧,worst复杂度为O(M^2).
因为N》M,所以整体worst复杂度:O(M*N).
本人冬季刚计算机工程专业硕士毕业,之前在国内有一定工作经历,JAVA C++ WEB DB
都做过一些。找湾区码农工作,prefer涉及BIG DATA和MACHINE LEARNING相关的工作,
求内推:f****[email protected],万分感激!
avatar
s*e
17
The most important thing you should be looking for is not loose any of your
principle. From that point, only limited options exist. Then you need
liquidity since you don't know for sure when you'll need the money. This
further limits your options.
I would suggest money market, as it pays slightly higher interest, and it's
completely liquid. That's what I did when I was in the same situation.

【在 p****1 的大作中提到】
: 准备明年下半年买个小房子。我有一点储蓄, 可以作为首期付款。我想知道是否有什么
: 渠道, 我可以比较安全地投资,获得比银行利息更多的利益, 与此同时, 当我需要买房
: 子时, 我可以灵活地将这笔钱取出来?
: 谢谢。

avatar
m*c
18
顶干货

N)

【在 f****8 的大作中提到】
: 楼上的算法复杂度为O(M^2*N^2).
: 下面给出O(M*N)的算法,以及实现。
: 第一步,先扫描各行各列,找出每一列1的个数,然后将每列1的个数及列号按个数从大
: 到小排列到
: 一个LIST中,且直接忽略1的个数小于50的列号;O(M*N)+O(MlogM),其中N为行数,M为
: 列数。
: 第二步,根据第一步扫描的结果,创建 FP-tree(Frequency Pattern tree)。创建方
: 法如下:树中每个节点包括column-index,出现次数,worst复杂度O(M*N).
: 第三步,统计结果,就是遍历树的过程,有一些技巧,worst复杂度为O(M^2).
: 因为N》M,所以整体worst复杂度:O(M*N).

avatar
K*D
19
The OP asked for something better than "bank interest".
Money market will earn bank interest.

your
s

【在 s******e 的大作中提到】
: The most important thing you should be looking for is not loose any of your
: principle. From that point, only limited options exist. Then you need
: liquidity since you don't know for sure when you'll need the money. This
: further limits your options.
: I would suggest money market, as it pays slightly higher interest, and it's
: completely liquid. That's what I did when I was in the same situation.

avatar
u*u
20
写了一个,请大家指正.没有编译过.
void GetPair(void)
{
int32 Data[300];
int index[30];
int i,j;
for (i=0;i<30;i++)
for (j=0;j<30;j++)
index[j]+=(data[i]>>j)&1;
for (i=0;i<30;i++)
for (j=i;j<30;i++)
if (index[i]+index[j]>50)
printf("%d %dn",i,j);
}

【在 g********o 的大作中提到】
: 假设有300个二进制数 (每个二进制数都是30位)
: 1001001011111011110
: 1010101110111111001
: 1010111101110101110
: 1011111000000010101
: ..
: ..
: ..
: ..
: 1001001011111011110

avatar
X*r
21
Actually current money market (short term securities) rate is
close to 0 now. Saving account could earn more.

【在 K****D 的大作中提到】
: The OP asked for something better than "bank interest".
: Money market will earn bank interest.
:
: your
: s

avatar
m*t
22
为啥是 int32型

【在 u****u 的大作中提到】
: 写了一个,请大家指正.没有编译过.
: void GetPair(void)
: {
: int32 Data[300];
: int index[30];
: int i,j;
: for (i=0;i<30;i++)
: for (j=0;j<30;j++)
: index[j]+=(data[i]>>j)&1;
: for (i=0;i<30;i++)

avatar
K*D
23
Yes, but it's still bank interest though, same as CD.
That's why I directly replied "there is none".

【在 X****r 的大作中提到】
: Actually current money market (short term securities) rate is
: close to 0 now. Saving account could earn more.

avatar
t*r
24
reward checking might help.

【在 p****1 的大作中提到】
: 准备明年下半年买个小房子。我有一点储蓄, 可以作为首期付款。我想知道是否有什么
: 渠道, 我可以比较安全地投资,获得比银行利息更多的利益, 与此同时, 当我需要买房
: 子时, 我可以灵活地将这笔钱取出来?
: 谢谢。

avatar
z*g
25
How much? Depends on how much you have

【在 p****1 的大作中提到】
: 准备明年下半年买个小房子。我有一点储蓄, 可以作为首期付款。我想知道是否有什么
: 渠道, 我可以比较安全地投资,获得比银行利息更多的利益, 与此同时, 当我需要买房
: 子时, 我可以灵活地将这笔钱取出来?
: 谢谢。

avatar
v*o
26
reward checking 5% APR

【在 p****1 的大作中提到】
: 准备明年下半年买个小房子。我有一点储蓄, 可以作为首期付款。我想知道是否有什么
: 渠道, 我可以比较安全地投资,获得比银行利息更多的利益, 与此同时, 当我需要买房
: 子时, 我可以灵活地将这笔钱取出来?
: 谢谢。

avatar
w*h
27
Anything you do wouldn't be easier than to buy the house by 4/30, and claim
Obama's dollar. Free money.
avatar
K*D
28
Actually in many places it would be better to buy after 4/30,
if the tax credit doesn't get extended again.
The tax credit is designed to raise the house prices in struggled
markets.

claim

【在 w********h 的大作中提到】
: Anything you do wouldn't be easier than to buy the house by 4/30, and claim
: Obama's dollar. Free money.

avatar
w*h
29
总之晚买不如早买。朋友刚才过来聊天,比我早买6个月,lot大2000尺,房子大300尺
,才比我贵10k。所以既然一样要买,就早点动手,free money到手就好。至于房价涨
上来了,还能不能下去,可就难说的很。不过rate肯定是越晚越高了。

【在 K****D 的大作中提到】
: Actually in many places it would be better to buy after 4/30,
: if the tax credit doesn't get extended again.
: The tax credit is designed to raise the house prices in struggled
: markets.
:
: claim

avatar
m*w
30
rate升高,tax credit失效,房价会降。

【在 w********h 的大作中提到】
: 总之晚买不如早买。朋友刚才过来聊天,比我早买6个月,lot大2000尺,房子大300尺
: ,才比我贵10k。所以既然一样要买,就早点动手,free money到手就好。至于房价涨
: 上来了,还能不能下去,可就难说的很。不过rate肯定是越晚越高了。

avatar
a*9
31
rate升高, 房价会降, maybe the total cost is even to you

【在 m**********w 的大作中提到】
: rate升高,tax credit失效,房价会降。
avatar
m*w
32
but i would prefer interests higher as it can be offset by tax.

【在 a*******9 的大作中提到】
: rate升高, 房价会降, maybe the total cost is even to you
avatar
h*3
33
最好的投资莫过于现在马上买了房子,呵呵,完全符合你的要求:比较安全地投资,获
得比银行利息更多的利益。至于最后一点,当我需要买房子时可以灵活地将这笔钱取出
来,那就不用再麻烦了。现在在美国投资房地产是最好的选择
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。