由买买提看人间百态

topics

全部话题 - 话题: cstr
1 2 3 下页 末页 (共3页)
m**x
发帖数: 75
1
来自主题: _pennystock版 - [CSTR] In My Watchlist
[CSTR] No need to introduce this ticker.
In 2007, I was a member of the Blockbuster DVD rental service. I hated the way they charged for
rentals. Unless you have a big family or friend network to share your cost,
it makes no sense to pay ~5 bucks to keep the DVD for 5 days.
In 2008, I registered an account with Netflix(NFLX). HDDVD and BD was still
in the format war. I did not think NFLX would do so well in the near term. I
did not like the DVD mailing service so much because I feel entertainmen... 阅读全帖
g*****u
发帖数: 298
2
来自主题: Programming版 - 关于linked list的copy cstr和dstr
我说的就是copy cstr和dstr。TIC是thinking in C++吗?如果copy cstr不new,那么谁
应该delete呢?提供一个clear()让user调用吗?能不能讲讲不应该new的情况是怎么样
的?
j******e
发帖数: 294
3
来自主题: Stock版 - AMZN & CSTR
anyone notice the breakout in AMZN and CSTR. should get some of these also.
Tech is the real leader right now for this market
Hopefully ISRG and CREE will report good earning next week.
Long ISRG, CREE, AAPL, INFN
h********r
发帖数: 668
4
来自主题: Stock版 - 有赌 cstr ER的吗?
10 call for CSTR DEC 18 2010 50.0 CALL @1.85
h********r
发帖数: 668
5
来自主题: Stock版 - 有赌 cstr ER的吗?
我在做梦NFLX收购了CSTR。
x*******l
发帖数: 542
6
来自主题: Stock版 - lol cstr 赌注out 10X
cstr 55c 60c?
w******s
发帖数: 16209
7
来自主题: Stock版 - lol cstr 赌注out 10X
cstr 呀。
c***1
发帖数: 3281
8
来自主题: Stock版 - cstr果然放量涨了
赞完少。可是netflix顾客真的很多会转去cstr吗?
g*****u
发帖数: 298
9
来自主题: Programming版 - 关于linked list的copy cstr和dstr
copy cstr应该new每个节点吗?如果不的话,两个链表可能共享某些节点,如果其中一
个删除另一个会出问题。为什么很多书里都没有这两个函数呢?
h**v
发帖数: 2010
10
来自主题: _Stockcafeteria版 - CSTR,听听大家意见
【 以下文字转载自 HardTimeCall 俱乐部 】
发信人: hdtv (发光二极管), 信区: HardTimeCall
标 题: CSTR,听听大家意见
发信站: BBS 未名空间站 (Fri Jul 13 11:13:36 2012, 美东)
考虑盘尾买。
P********l
发帖数: 452
11
How about this version using Dynamic Programming?
The basic idea is fill in a table for a matching path. If the last pair
matches, the whole string will match.
mtch is the array, which is of (string length + 1)*(pattern length + 1).
mtch[0][*] and mtch[*][0] is padded with false.
Then the function is something like:
mtch[i][j] =
1. if pattern char='.', mtch[i][j]=mtch[i-1][j-1]
2. if pattern char='*', mtch[i][j]=mtch[i-1][j-1] || mtch[i][j]=mtch[i-1][
j]
3. if pattern char=string char, mtc... 阅读全帖
p*****p
发帖数: 379
12
来自主题: JobHunting版 - Word Search large case TLE
http://leetcode.com/onlinejudge#question_79
思路就是DFS,递归实现backtrack
large case超时,不知是剪枝不对还是递归费时
代码感觉没大问题
求帮忙看看,谢谢
class Solution {
public:
bool exist(vector > &board, string word) {
// Start typing your C/C++ solution below
// DO NOT write int main() function
if (word.empty()) return true;
int m = board.size();
int n = board[0].size();
for (int i = 0; i < m; ++i) {
for (int j = 0; j < n; ++j) {
if (board[i]... 阅读全帖
i**********e
发帖数: 1145
13
来自主题: JobHunting版 - Word Search large case TLE
Some basic optimizations, now it passes Large in 316ms.
class Solution {
public:
bool exist(vector > &board, string word) {
// Start typing your C/C++ solution below
// DO NOT write int main() function
if (word.empty()) return true;
int m = board.size();
int n = board[0].size();
for (int i = 0; i < m; ++i) {
for (int j = 0; j < n; ++j) {
vector >visited;
if (board[i][j] != word[0... 阅读全帖
P********l
发帖数: 452
14
Same as previous version but only 1-dimension array is used.
time complexity is still O(mn).
You can check the code here:
http://code.google.com/p/sureinterview/source/browse/src/solution/string/WildcardMatching.java
After you logged in, you can conveniently put comments on the code.
/**
* check if patt matches the string str. Same as {@link match} but
* one-dimension array is used.
*
* @param str
* the string to match
* @param patt
* ... 阅读全帖
P********l
发帖数: 452
15
Fixed the issue ihasleetcode mentioned. Thanks.
Added more test cases like:
string = "ho"
pattern = "**ho", "ho**"
string = "a", pattern = "aa"
string = "aa", pattern = "a"
Code:
/**
* check if patt matches the string str. Same as {@link match} but
* one-dimension array is used.
*
* @param str
* the string to match
* @param patt
* the pattern matching str. '*' is for 0 or more characters
and
* '.' is for exactly one cha... 阅读全帖
h*****g
发帖数: 944
16
借Google大侠的名字发个贴
我下面的c program为何不work?
#include
#include
int main(){
const char * cstr="Hello";
int array_size=0;
while(cstr!=NULL){

printf("%c\t",*cstr);
cstr++;
}
return 0;
}
菜鸟一个,谢谢了
g****y
发帖数: 240
17
来自主题: JobHunting版 - interleaved string
Edit: 好像不对,还是更复杂的情况。
想了一个O(n)的解法。请帮忙看一下对不对。
if A and B have no duplicate char: easy problem. just traverse C. increase A
's
index if A's char matches or increase B's index if B's char matches.
if A and B have duplicate chars, we assume A[i, j] == B[m, n].
when we traverse C and in the position where C[k] == A[i] == B[m], we have
two ways to go: increase A's index or increase B's index. in this kind of
situation, we will always select to increase A's index.
if we are lucky, A is the right way to ... 阅读全帖
m*******n
发帖数: 370
18
就是点一个小圈选yes/no, 选是没问题,点了就显示已经选了,存到数据库里也没有问题。问题出
在,下一次用户再登录,看不到自己之前的选择。就是说data明明在数据库里,但是页面读不出来。
现在这个“vote” field的数据类型是text, 所以存到数据库里显示的是“文字的”yes/no.以下
的code在连接access时,是不会出现上面的问题的,但是换到连接SQL server,网页就读不出来
这个field了。
问题到底出在哪? 应该怎么改?谢谢先

Yes
Response.Write("CHECKED") : Response.Write("")%> type="radio"
name="Vote<%=CurrentItem%>" value="Yes">
No
Response.Write("CHECKED") : Response.Write("")%> ty... 阅读全帖

M*****8
发帖数: 17722
19
*** NOTE: PRICE TARGETS & CALCULATIONS ARE APPROXIMATE ***
(Minimum Cash Unit is $1000. Simply multiply for large sums.)
FORECAST FOR TICKER SYMBOL: CSTR AS OF 20111208 (YYYYMMDD)
CLOSING PRICE ON 20111208 was 47.4500
STOCK RATING: BEARISH
Short-Term Price Potential is DOWN: -4.1741 (-8.80%)
Short-Term Price Target: 43.2759
At Price Target, profit is 87.9684 on $1000 investment. (+8.80%)
Close out >= half of your short position at about 43.2759
There is a small chance of price reaching 39.9... 阅读全帖
M*****8
发帖数: 17722
20
*** NOTE: PRICE TARGETS & CALCULATIONS ARE APPROXIMATE ***
(Minimum Cash Unit is $1000. Simply multiply for large sums.)
FORECAST FOR TICKER SYMBOL: CSTR AS OF 20111208 (YYYYMMDD)
CLOSING PRICE ON 20111208 was 47.4500
STOCK RATING: BEARISH
Short-Term Price Potential is DOWN: -4.1741 (-8.80%)
Short-Term Price Target: 43.2759
At Price Target, profit is 87.9684 on $1000 investment. (+8.80%)
Close out >= half of your short position at about 43.2759
There is a small chance of price reaching 39.9... 阅读全帖
w*********6
发帖数: 544
21
发信人: mikeandlily (mike), 信区: come_back_my_money
标 题: 抽空说说我炒股的基本原则
发信站: BBS 未名空间站 (Fri Mar 27 22:40:20 2015, 美东)
不一定对,仅供大家参考,我很鼓励每个人都写写自己的炒股心得策略什么的,总之希
望多一些干货。
1、图形为王。不管是短期投资还是长线投资,个人觉得图形比其他信息都重要。其实
这个和价值投资并不矛盾,试想一个基本面真如我们看到的数据那么好的股票却连续的
喋喋不休,你信么?反正我不信,图形好的股票一定是阳多阴少阳长阴短的,这样的股
票做起来是令人放心的。
2、谁笑到最后谁才笑得最好。开盘涨不算涨,收盘涨才是涨。这一点我说过很多次就
不重复了。
3、高抛低吸,先玩不要追涨,即使是知道这个股票随后会大幅度上涨,也一定要等他
短暂的回调才介入,这一点很重要,这就和我们去市场买菜讨价还价一样,购买价格越
低肯定对我们越好。
其实这些都是最基本的操作,但是真正做起来其实并不容易,我个人分析最主要的原因
就是我们的感官容易被股价的波动所感染,不能像一台机器那样工作,很多时候看不得
... 阅读全帖
w*********6
发帖数: 544
22
发信人: mikeandlily (mike), 信区: come_back_my_money
标 题: 抽空说说我炒股的基本原则
发信站: BBS 未名空间站 (Fri Mar 27 22:40:20 2015, 美东)
不一定对,仅供大家参考,我很鼓励每个人都写写自己的炒股心得策略什么的,总之希
望多一些干货。
1、图形为王。不管是短期投资还是长线投资,个人觉得图形比其他信息都重要。其实
这个和价值投资并不矛盾,试想一个基本面真如我们看到的数据那么好的股票却连续的
喋喋不休,你信么?反正我不信,图形好的股票一定是阳多阴少阳长阴短的,这样的股
票做起来是令人放心的。
2、谁笑到最后谁才笑得最好。开盘涨不算涨,收盘涨才是涨。这一点我说过很多次就
不重复了。
3、高抛低吸,先玩不要追涨,即使是知道这个股票随后会大幅度上涨,也一定要等他
短暂的回调才介入,这一点很重要,这就和我们去市场买菜讨价还价一样,购买价格越
低肯定对我们越好。
其实这些都是最基本的操作,但是真正做起来其实并不容易,我个人分析最主要的原因
就是我们的感官容易被股价的波动所感染,不能像一台机器那样工作,很多时候看不得
... 阅读全帖
G***o
发帖数: 5158
23
来自主题: Seattle版 - Gerdo 请进来一下
LOL -16.66% AH today
http://www.google.com/finance?q=NFLX#
if anyone likes DVD renters, bet on CSTR,rather than NFLX
CSTR will be the new leader in an era when more and more Americans are
bluecollarized.
g*********s
发帖数: 1782
24

while (*cstr != '\0')
A****S
发帖数: 2066
25
是的,不过求问怎么贴图,我已经截了邮件的图了。内容是:
Thank you for using your American Express® Card ending in XXXXX at PAPA
JOHNS CSTR GFTCRD. You will have successfully redeemed the offer if your
purchase meets the terms of the offer.
也就是说他明知道我这个确实是从cashstar买的但还是有点数。
z*******n
发帖数: 49
26
来自主题: Stock版 - cstr
终于长了如我所料
e******a
发帖数: 40
27
ID: edishena
long CSTR 100%

5
M****7
发帖数: 324
28
参赛ID: Mars27
long 50% DGIT
long 50% CSTR
c******n
发帖数: 4965
29
来自主题: Stock版 - 推荐一个烧: CSTR
前一段时间DVD 租赁它被炒过头
本来就自己往下滑,现在跟大盘,滑得更厉害
我朝30$ 烧
c********g
发帖数: 1106
30
来自主题: Stock版 - 推荐一个烧: CSTR
赌fill the gap? 我就冲着这个去,可惜掉的太慢了。
c******n
发帖数: 4965
31
来自主题: Stock版 - 推荐一个烧: CSTR
慢的才好
慢了是象轮胎慢撒气, 它loose momentum 很明显, 如果快了倒是swing
反正如果大盘继续掉,它一个月内掉回30$ 很容易
y***t
发帖数: 644
32
来自主题: Stock版 - 即将跨掉的十大品牌:
Then you should get coinstar(CSTR). But the winner might be NFLX. Redbox
will die too.
v****e
发帖数: 19471
33
来自主题: Stock版 - 我关注的几个科技股ER
ORCL 7/19
AAPL 7/20
ISRG 7/21
NFLX 7/21
AMZN 7/22
MSFT 7/22
CSTR 7/29
PCLN 8/9
CSCO 8/11
HPQ 8/19
y***r
发帖数: 16594
34
来自主题: Stock版 - ibd 100
NFLX
BIDU
HMIN
LULU
MELI
CMG
WPZ
FFIV
SAM
VIT
MED
DECK
ULTA
PRGO
VLTR
ISRG
CXO
SAN
SWKS
SLW
DGIT
JOBS
CACC
EPB
NTAP
THOR
PCLN
HAS
NEM
EZPW
NETL
SHOO
KWR
BMA
CTSH
DLTR
ROVI
CRM
APKT
ABV
CRVL
HLF
WRLD
BVN
GIL
RMD
EGO
ALTR
DLB
VQ
CRUS
TSL
SCL
LZ
WYNN
NGLS
STRI
SRCL
AZO
EL
BAP
NVO
TPX
PAY
AKAM
CSTR
VMW
JAS
AIXG
CTRP
DISCA
DTV
IAG
TSCO
BCPC
ORLY
CMI
NRGP
ASPS
PTI
UA
CISG
SVR
RVBD
HSP
EC
LSTZA
XEC
OPEN
LCAPA
SNDK
CMCSA
PNRA
FDO
EMC
XLNX
NUS
PII
MSB
HSNI
w********s
发帖数: 343
35
来自主题: Stock版 - cstr
coinstar这股怎样?会不会是小号的nflx?
I********n
发帖数: 1468
36
来自主题: Stock版 - cstr
值得赌一下。
B********e
发帖数: 397
37
来自主题: Stock版 - er play candidate
AMSC CCE CSTR MTW for long (ER day:Oct 28)! I got most of them (except CCE) at the bottom today. I just want to provide some candidates for your considering. Judge
them and take responsibility by yourself!
I********n
发帖数: 1468
38
来自主题: Stock版 - 有赌 cstr ER的吗?
昨天买了点靠,入点不是很好, 马的。
I********n
发帖数: 1468
39
来自主题: Stock版 - 有赌 cstr ER的吗?
good, better entry than mine. I bot Nov 19 50 call @ 1.5
I********n
发帖数: 1468
40
来自主题: Stock版 - 有赌 cstr ER的吗?
靠, 不至于吧, 中奖了?
I********n
发帖数: 1468
41
来自主题: Stock版 - 有赌 cstr ER的吗?
老大也在搞这个东西, 同喜,估计赚了几十万吧?
p*********9
发帖数: 501
42
来自主题: Stock版 - 有赌 cstr ER的吗?
恭喜, 等包子。
B********e
发帖数: 397
43
来自主题: Stock版 - 有赌 cstr ER的吗?
恭喜, 等包子
I********n
发帖数: 1468
44
来自主题: Stock版 - 有赌 cstr ER的吗?
村长删贴了?
g**********7
发帖数: 2026
45
来自主题: Stock版 - 有赌 cstr ER的吗?
deng!
w******s
发帖数: 16209
46
来自主题: Stock版 - lol cstr 赌注out 10X
this is good.
I seldom did this before.
i********g
发帖数: 479
47
来自主题: Stock版 - lol cstr 赌注out 10X
恭喜,啥呀,说说,俺也学习一下!
p****r
发帖数: 4348
48
来自主题: Stock版 - lol cstr 赌注out 10X
cong
I********n
发帖数: 1468
49
来自主题: Stock版 - lol cstr 赌注out 10X
baozi
z*****r
发帖数: 1456
50
来自主题: Stock版 - lol cstr 赌注out 10X
厉害
1 2 3 下页 末页 (共3页)