由买买提看人间百态

topics

全部话题 - 话题: cmp
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
t********k
发帖数: 808
1
来自主题: Java版 - 关于CMP问题
我在JSP中通过JavaBean调用CMP
并取的该表的一个列表Collection
该Collection元素就是该CMP
并返回此Collection到JSP客户端
在JSP客户端
肯定要逐项打开Collection中的CMP
并显示这些数据
这样不是在JSP使用了CMP了么?
这算起来也不符合设计模式吧?
这些CMP占不占数据库连接呢?
h*******y
发帖数: 896
2
【 以下文字转载自 EE 讨论区 】
发信人: heartaway (9527), 信区: EE
标 题: job opening - CMP Process Engineer, ATMC Austin, TX
发信站: BBS 未名空间站 (Wed Feb 16 10:26:45 2011, 美东)
send me your resume if your background matches this position very well
========================================
Job Posting: Feb 14, 2011
Primary Location: US-TX-Austin-Ed Bluestein (TX11)
Job: Process
Education Level: Bachelor's Degree
Job Type: Experienced
Description:
Scope of Responsibilities / Expectations:
· Sustain and Improve CMP process... 阅读全帖
h*******y
发帖数: 896
3
【 以下文字转载自 EE 讨论区 】
发信人: heartaway (9527), 信区: EE
标 题: job opening - CMP Process Engineer, ATMC Austin, TX
发信站: BBS 未名空间站 (Wed Feb 16 10:26:45 2011, 美东)
send me your resume if your background matches this position very well
========================================
Job Posting: Feb 14, 2011
Primary Location: US-TX-Austin-Ed Bluestein (TX11)
Job: Process
Education Level: Bachelor's Degree
Job Type: Experienced
Description:
Scope of Responsibilities / Expectations:
· Sustain and Improve CMP process... 阅读全帖
c*****s
发帖数: 214
4
来自主题: Java版 - 关于CMP问题
当然符合,不然CMP怎么用?
拿到CMP Collection时理论上不占链接因为query都做完了,实际上和CMP实现有关,不过
这些你都不用管,放心的交给container做就好了。
第一句没明白,什么叫javabean调用CMP?
JNDI拿到HOME,HOME调用查询,返回Collection,和javabean啥关系?
h*******y
发帖数: 896
5
send me your resume if your background matches this position very well
========================================
Job Posting: Feb 14, 2011
Primary Location: US-TX-Austin-Ed Bluestein (TX11)
Job: Process
Education Level: Bachelor's Degree
Job Type: Experienced
Description:
Scope of Responsibilities / Expectations:
· Sustain and Improve CMP processes to meet Manufacturing demand for
throughput and cycle time.
· Improve quality levels in CMP by reducing scrap and yield loss mechanisms.
· Identify an... 阅读全帖
O**********m
发帖数: 781
6
Congratulations. PTD usually only open to green card and US citizen. You
might be able to get EB1 over there.
CMP in PTD is more development related since there are some issues with
defects post CMP process. Since Intel is a big company, you should expect to
work on a quite narrow area. In your case, it will be more likely to be CMP
process improvement, new slurry development or qualification, defects
reduction..etc
s****l
发帖数: 10462
7
真不是赚钱的料啊
照说CMP我应该可以挣好一年的八费。11/24 我82.x进的,重仓,中间几度出水入水,
水下深处也熬过来了,出水的水面总是不高,也没有卖。11/30平推卖了,第二天大盘
就串啊串,CMP也跟着走高,昨天消息终于出来了,近了一个index,一下子涨了不少。
不知道我这是哪里出问题了。为什么开始小利润可以不拿,深水中也能熬,出来透气了
又入水几次,终于在串高之前跑了。为什么那个时候就不能多熬一天呢?要能多熬三天
就更好了啊。
典型的散户心理么?
t********k
发帖数: 808
8
来自主题: Java版 - 关于CMP问题
我是通过一个共用的JavaBean中的一个方法去调用CMP的
这个是一个static方法
不是说JSP最好不要直接调用CMP么?
w******s
发帖数: 16209
9
"Breakout Trade: The current price is resting around the support level of 81
.8. If the low price of the day is above 81.8, then look for going long.
Retracement Trade: Consider buy when the price retraces around 81.8 if you
are aggressive. Alternatively, a conservative buy would be around 78.01.
Risk Management: Consider risking somewhere between 2.682(3.26%) and 4.47(5.
43%) points on your position. Risk management is an important part of
trading. Our risk management strategy is based on the a... 阅读全帖
K*******o
发帖数: 41
10
想請問各位板上的前輩們,INTEL裡CMP部門的工作內容在INTEL裡面未來會有發展嗎?
因為INTEL的ON SITE INTERVIEW來的比其他公司早,想說先了解一下這工作性質對我的
規劃會很有幫助。非常感謝板上的前輩們可以抽空回答小弟的問題。
O**********m
发帖数: 781
11
CMP: chemical mechanical polishing. It depends where is the position? Is it
in PTD or D1D? it is unlikely since it is not open to H-1 Chinese citizens,
is it in D1C? if that is the case, it will be the same as other process
engineering positions.
K*******o
发帖数: 41
12
是PTD的耶! 請問前輩PTD裡的CMP如何呢?
感謝你喔。

it
,
O**********m
发帖数: 781
13
Since Intel is moving down in gate length, CMP will be more and more
challenging, because the grain size in slurry and polishing pads might be
the source of defects. I am sure Intel will keep you loaded and busy, enjoy
your life while you still can.
s*x
发帖数: 8041
14
来自主题: Military版 - 半导体生产设备和材料
半导体生产设备和材料,是半导体产品的最上游。全世界每年销售的生产设备和材料,
加起来总共800多亿美元左右,如果仅仅从规模上来看,其实并不大,就算有个国家占
据了全球50%的生产设备和材料的份额,一年销售额也就是400亿美元多点。这两个领域
主要是技术门槛高,同时是制高点,因此可以起到控制他国集成电路发展速度的作用。
具体来说,根据国际半导体产业协会SEMI的统计,2016年全球半导体设备出货额412亿
美元,全球半导体材料出货额443亿美元。
而据国际半导体产业协会(SEMI) 2018年1月26日公布的数据,2017年全球半导体设备商
出货金额达到560亿美元,比起上一年大幅增长接近40%,创下历史新高。很遗憾的是,
由于全球新建的12英寸晶圆厂在逐渐向中国集中,因此半导体设备采购额增长,很大程
度上来自中国,在这个领域,我们处于受制于人的局面。
我们看下Gartner 2016年的全球十大半导体设备制造商排名,当然里面并没有中国公司
出现,只有三个国家的公司上榜了,美国,日本和荷兰。
世界前三名是美国应用材料,美国Lam Research,荷兰ASML。
接下来是第四名日本的东京... 阅读全帖
f***y
发帖数: 4447
15
来自主题: Military版 - 除了光刻机,其他都能造
除了光刻机,其他都能造。
https://zhuanlan.zhihu.com/p/33375439
半导体生产设备和材料,是半导体产品的最上游。全世界每年销售的生产设备和材料,
加起来总共800多亿美元左右,如果仅仅从规模上来看,其实并不大,就算有个国家占
据了全球50%的生产设备和材料的份额,一年销售额也就是400亿美元多点。这两个领域
主要是技术门槛高,同时是制高点,因此可以起到控制他国集成电路发展速度的作用。
具体来说,根据国际半导体产业协会SEMI的统计,2016年全球半导体设备出货额412亿
美元,全球半导体材料出货额443亿美元。
而据国际半导体产业协会(SEMI) 2018年1月26日公布的数据,2017年全球半导体设备商
出货金额达到560亿美元,比起上一年大幅增长接近40%,创下历史新高。很遗憾的是,
由于全球新建的12英寸晶圆厂在逐渐向中国集中,因此半导体设备采购额增长,很大程
度上来自中国,在这个领域,我们处于受制于人的局面。
我们看下Gartner 2016年的全球十大半导体设备制造商排名,当然里面并没有中国公司
出现,只有三个国家的公司上榜了,美国,日本和荷... 阅读全帖
b*******t
发帖数: 4756
16
https://mp.weixin.qq.com/s/4GxXapP8yivNrqQVTBQ5Iw
今天我们聊聊半导体材料。
半导体这个产业,下游到上游,技术难度和壁垒都非常高,可以说没有容易做的东西。
从芯片设计(英特尔,高通),到芯片制造(台积电,三星,英特尔),到芯片设备(
应用材料,lam research,东京电子,ASML),到半导体材料,全部都很困难,后来者
进入必定是充满艰辛。
在之前的文章里面,已经大概讲了芯片设计,制造,封装,设备等,这篇讲讲半导体材
料。
我们要知道,在半导体的产业链里面,设备和材料被认为是上游。
这两个领域美国和日本是占据优势的。
那么市场空间有多大呢?
根据SEMI(国际半导体产业协会)的统计,2017年全球半导体设备销售额为570亿美元
,而全球半导体材料市场销售额为469亿美元,增长了9.6%。
也就是设备 材料=1039亿美元,这比华为一年的销售额要多一点。
整个半导体2017年总的销售额,如果按照Gartner的数据,是4197亿美元,也就是设备
材料占了整个市场的24.76%,也就是差不多25%的水平。
所以好了,我们要知道一个重点,... 阅读全帖
y****e
发帖数: 23939
17
来自主题: Programming版 - Visual C++ 高手帮忙,一个Link Error
I paste the full code to if anybody can help me out.
the function refalifn and refalifnfast are good to compile on vc++.
But the function refalidf and refalifdf will have this LNK2019 error on vc++
. Same code compiles OK on g++. It must be some kind of restraint with
visual c++.
static double refalifn(const gsl_vector * v, void *params)
{
Dict *dict = (Dict *) params;
double x = gsl_vector_get(v, 0);
double y = gsl_vector_get(v, 1);
double a = gsl_vector_get(v, 2);
EMData *t... 阅读全帖
d****i
发帖数: 4809
18
来自主题: Programming版 - 两行quicksort,不难些吧
Plain old vanilla pure C code. Disclaimer: copied from online
#include
#include
static void swap(void *x, void *y, size_t l) {
char *a = x, *b = y, c;
while(l--) {
c = *a;
*a++ = *b;
*b++ = c;
}
}
static void sort(char *array, size_t size, int (*cmp)(void*,void*), int
begin, int end) {
if (end > begin) {
void *pivot = array + begin;
int l = begin + size;
int r = end;
while(l < r) {
if (cmp(array+l,pivot) <= 0) {
... 阅读全帖
b**********h
发帖数: 419
19
来自主题: Programming版 - CIH源代码
究竟难在哪里?
; Win Cih Source Code
;I m not the dissembler of the code and really I don't know ;who is the
writer or dissembler . Compile or run this program ;at your own risk. Also I
m not giving any guarantee of running ;the program !!!.
;****************************************************************************
; * The Virus Program Information *
;****************************************************************************
; * *
; * Designer : CIH Source : TTIT of TATUNG in Taiwan... 阅读全帖
m***r
发帖数: 359
20
来自主题: Programming版 - Python日报 2015年2月楼
Python日报 2015-02-15
@好东西传送门 出品, 过刊见
http://py.memect.com
订阅:给 [email protected]
/* */ 发封空信, 标题: 订阅Python日报
更好看的HTML版
http://py.memect.com/archive/2015-02-15/short.html
1) 【用Matplotlib创建论文插图】 by @爱可可-爱生活
关键词:库, 代码, 绘图
[文章]《Creating publication-quality figures with Matplotlib》 [1] Python下
用Matplotlib创建可供发布的论文插图,文中引用的资源也很实用
[1] https://github.com/jbmouret/matplotlib_for_papers
长微博图:http://ww4.sinaimg.cn/large/5396ee05jw1epac7q7b4sj20lmov7hdy.jpg
2) 【cmp函数原理剖析】 by @me坤子
关键词:基础
分享 @me坤子 的文章「Pyt... 阅读全帖
n***s
发帖数: 1745
21
来自主题: Macromolecules版 - 美国华人教授领导巴斯夫全球研发
巴斯夫宣布,化学机械研磨(CMP)行业著名专家、美国Clarkson大学教授李玉琢博士将
加入巴斯夫,负责领导公司全球CMP 研发团队,为半导体行业开发创新解决方案。
李玉琢教授说:“开发更小的芯片,需要更多创新的化学品和材料。我非常高兴能够加
入巴斯夫这个全球领先的化工企业。巴斯夫在化学品及其应用方面的丰富专业知识为先
进CMP 研发创造了一个绝佳的环境。”
巴斯夫电子材料CMP业务负责人马涛博士则表示。“巴斯夫致力于为半导体行业提供智
慧化创新解决方案。我们的战略之一就是广纳贤才。李教授丰富的专业知识和经验与巴
斯夫的跨国界跨学科研发资源相辅相成,继续为集成电路(IC)产业的未来做出贡献一向
是我们的使命。”
李玉琢教授1982年毕业于中国天津南开大学化学系,1988年在美国伊利诺意斯大学获得
有机化学博士学位。李玉琢教授拥有20 年相关研发经验。他在取得有机化学博士学位
后首先将研究方向集中在生物科技领域,之后转向了半导体行业。李玉琢教授在有机化
学领域的深厚背景为CMP 业界在解决制造难题方面别辟蹊径,使集成电路(IC)继续向22
纳米甚至更小尺寸迈进。
李玉琢教授当前在CMP
d**********o
发帖数: 1321
22
来自主题: WebRadio版 - 潜水员冒泡兼征版友意见
最终版本的compiler测试结果
=================================================
Output of Building User Code
Explode the tar
c-.l
c-.y
scanType.h
makefile
symtab.h
symtab.cpp
emitCode.h
emitCode.cpp
20131214164956-huang-CS445-F13-A5.tar: POSIX tar archive (GNU)
Tests: directory
c-.l: lex description text
c-.y: lex description text
emitCode.cpp: ASCII C++ program text
emitCode.h: ... 阅读全帖
d**********o
发帖数: 1321
23
来自主题: WebRadio版 - 潜水员冒泡兼征版友意见
最终版本的compiler测试结果
=================================================
Output of Building User Code
Explode the tar
c-.l
c-.y
scanType.h
makefile
symtab.h
symtab.cpp
emitCode.h
emitCode.cpp
20131214164956-huang-CS445-F13-A5.tar: POSIX tar archive (GNU)
Tests: directory
c-.l: lex description text
c-.y: lex description text
emitCode.cpp: ASCII C++ program text
emitCode.h: ... 阅读全帖
r****r
发帖数: 755
24
登月的那些事儿(二十四)---争分夺秒
Jim Lovell是当时世界上太空飞行次数最多的宇航员,甚至还环绕过一次月球,作为他
的妻子,Marilyn无疑也经受了一次次的紧张和焦虑。她在多年后依然清晰地记得Jim第
一次告诉她阿波罗8号任务时的情景,本来Marilyn已经计划好了68年的圣诞节,一家5
口人去墨西哥著名的旅游地Acapulco度假,可是中途NASA高层部署有变,突然决定让阿
波罗8号首次飞往月球,前面给大家介绍过中间的细节,种种巧合导致Jim的团队要来执
行这次人类首次绕月飞行任务,而预定的到达月球的时间正好是地球这边的圣诞节,得
到任务的当天晚上,Jim回到家里,把妻子拉到书房的一角:
Jim表情很为难:“我很不情愿告诉你这个消息。恐怕我们今年不能去Acapulco度假了
。”
Marilyn显然很意外,也很失望,毕竟自从Jim成为宇航员以来,他们一家很少能有机会
一起出去度假了:“你说什么?什么叫‘我们去不了了’?圣诞节你不和家人在一起,
你还打算去哪里?”
Jim迟疑了几秒钟,平静地告诉Marilyn:“去月球。”
。。。。。。
Marilyn照例去看了阿波罗8号... 阅读全帖
z*m
发帖数: 3227
25
自动化与仪表 2018-10-29
1 、Applied Materials(应用材料)
应用材料公司是一家半导体和显示制造设备商,应用材料公司成立于1967年,2017财年
,应用材料公司营业额达到145亿美元,在17个国家设有90个分支机构,全球员员工人
数18400人。拥有超过11,900专利。
1984年,应用材料公司在北京设立了中国客服中心,成为第一家进入中国的国际芯片制
造设备公司。通过长期参与中国的高科技制造业,应用材料公司为半导体、先进显示以
及太阳能光伏制造行业提供设备与服务。
作为一家老牌的美国半导体设备商,应用材料(AMAT)是全球最大的半导体设备公司,
产品横跨CVD、 PVD、刻蚀、CMP、RTP等除光刻机外的几乎所有半导体设备。在全球晶
圆处理设备供应商中排名第一,应用材料市占率19%左右,其中,在PVD领域,应用材
料占据了近85%的市场份额,CVD占30%。
2、Lam Research(泛林)
LamResearch是刻蚀机设备领域龙头。Lam Research是向世界半导体产业提供晶圆制造
设备和服务的主要供应商之一。主要从事半导体生产设备、开发、制... 阅读全帖
d**********g
发帖数: 1146
W***o
发帖数: 6519
27
这个是我CrimeTypeKey的class,生成composite key object:
public class CrimeTypeKey implements Writable, WritableComparable<
CrimeTypeKey>
{
private Text key = new Text();
private IntWritable year = new IntWritable();

public CrimeTypeKey() { }

public CrimeTypeKey(String k, int y)
{
key.set(k);
year.set(y);
}

public static CrimeTypeKey read(DataInput in) throws IOException
{
CrimeTypeKey keytp = new CrimeTypeKey();
keytp.readFields(... 阅读全帖
l*x
发帖数: 14021
28
来自主题: Football版 - Indoor vs outdoor: Brees and Rodgers
Rodgers;
http://espn.go.com/nfl/player/splits/_/id/8439/aaron-rodgers
BY LOCATION CMP ATT YDS CMP% AVG LNG TD INT SACK RAT
OUTDOORS 271 400 3,605 67.8 9.01 93 38 6 26 121.5
INDOORS 72 102 1,038 70.6 10.18 79 7 0 10 126.2
Brees:
http://espn.go.com/nfl/player/splits/_/id/2580/drew-brees
BY LOCATION CMP ATT YDS CMP% AVG LNG TD INT SACK RAT
OUTDOORS 191 274 2,219 69.7 8.10 59 12 8 12 96.4
INDOORS 277 3... 阅读全帖
U******u
发帖数: 5829
29
来自主题: GunsAndGears版 - [ebook]Us army pistol Training
The CMP Guide To Rimfi re Sporter Shooting
􀁿 The CMP Games Shooting Sports Program
􀁿 The Rimfi re Sporter Match
􀁿 Basic Rifl e Marksmanship Skills for Rimfi re Sporter
􀁿 How to Fire the Rimfi re Sporter Course of Fire
􀁿 How to Conduct a Rimfi re Sporter Match
􀁿 How to Sanction a Rimfi re Sporter Match
􀁿 Offi cial CMP Rimfi re Sporter Rules
􀁿 Offi cial Program, 2008 National Rimfi re Sporter Match
4th Edition, with 2008 CMP R
p**o
发帖数: 3409
30
来自主题: Programming版 - mutating input argument不应该鼓励吧

如果你嫌copy有开销,自己定制一个又不是难事:
def dict_equal_except (dict_a, dict_b, except_key):
assert except_key in dict_a
if len(dict_a) != len(dict_b) + 1:
return False
for key, aval in dict_a.iteritems():
if key != except_key and (key not in dict_b
or dict_b[key] != aval):
retur False
return True
但CPython循环一般比C慢2-3个数量级,dict不大时还不如直接copy。
参考 CPython 实现:
http://hg.python.org/cpython/file/2.7/Objects/dictobject.c
static int
dict_equal(P... 阅读全帖
y***e
发帖数: 6082
31
来自主题: Chemistry版 - 最全的化学数据库(zz)
【 以下文字转载自 NanoST 讨论区 】
发信人: maodouzi (毛豆子), 信区: NanoST
标 题: 最全的化学数据库(zz)
发信站: BBS 未名空间站 (Mon Mar 26 11:27:29 2007), 转信
1. 化合物毒性相关数据库
Toxnet http://toxnet.nlm.nih.gov/
2毒性物质与健康和环境数据库 http://esc.syrres.com/efdb/TSCATS.htm
3. 急性毒性数据库 http://www.cerc.usgs.gov/data/acute/acute.html
4. SpectraOnline,Galact http://spectra.galactic.com/SpectraOnline/Default_ie
.htm
5. 药物使用指南,USP DI http://www.nlm.nih.gov/medlineplus/druginformation.ht
ml
6。美国常用药物索引库RxList http://www.rxlist.com/
7. 有机化合物光谱资料库系统 http://w... 阅读全帖
w*******y
发帖数: 60932
32
来自主题: _DealGroup版 - 【$】Free 50 Disney Movie Reward Points
Enter the Agents on a Mission Sweepstakes:
http://disney.go.com/cars/?cmp=dmov_dpic_car_url_agents#/sweeps
#/sweepstakes" rel="nofollow" target="_blank" onclick="_gaq.push(['_
trackEvent', 'thread', 'click', '2803767 - free-50-disney-movie-reward-
points']);">Agents on a Mission Sweepstakes [Agents on a Mission Sweepstakes:
http://disney.go.com/cars/?cmp=dmov_dpic_car_url_agents#/sweeps
#/sweepstakes" rel="nofollow" target="_blank" onclick="_gaq.push(['_
trackEvent', 'thread', 'click', '2803767 ... 阅读全帖
v******e
发帖数: 1715
33
我不在CMP已经很多年了............
虽然我们动辄还声称继续在做CMP,可惜没有CMP的人认为我们在做CMP........
v******e
发帖数: 1715
34
我不在CMP已经很多年了............
虽然我们动辄还声称继续在做CMP,可惜没有CMP的人认为我们在做CMP........
m**********e
发帖数: 12525
35
来自主题: Automobile版 - buick车在加完油后打不着了
不是给你说了吗
发动机持续工作需要CPS和CMP提供精确的曲轴转动位置来计算ignition 和injection
timing,其中CPS在发动机启动的时候提供初始timing,CMP在发动机运转的时候提供持续
的timing.
楼主在开往加油站的过程中,CPS死了,但是CMP还在工作,所以发动机可以继续运转,但是
加油的时候需要关机,加完油你要再启动的时候,这时候就得CPS提供初始timing,由于没
有这个数据,火花塞没有火花,喷油嘴也无法喷油.
所以遇到这个情况,没有fuel injection,也没有spark.许多傻逼都以为是fuel pump死
了,
其实不是,是CPS死了.
g*******y
发帖数: 1930
36
change function pointer to a functor should be ok
template class CMP{
public:
operator()(const T &t1, const T &t2){ return t1 };
template class Heap{
public:
Heap(const vector &data, CMP cmp);
};

I
l*********y
发帖数: 142
37
来自主题: JobHunting版 - Palantir面经2
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
struct Segment {
int from, to;
};
struct cmp {
bool operator() (const Segment& s1, const Segment& s2) {
return s1.from < s2.from;
}
};
bool ... 阅读全帖
w*******s
发帖数: 96
38
If the string is not the same length, my code will crash because of array
index out of boundary. Can you help find the bug?
//Refer Algorithm 4th, page 722
void exch(string &a, string &b)
{
string c = a;
a = b;
b = c;
}
int compare(int a, int b)
{
if (a if (a==b) return 0;
if (a>b) return 1;
}
void ThreeWayQsort(vector &v, int low, int high, int d)
{
if (high<=low) return;
//3 way partition to handle duplicate
int lt = low;
int gt = h... 阅读全帖
k*******t
发帖数: 144
39
知道怎么用priority_queue定义min heap, 如果heap中的元素为int, 我一般用
priority_queue, cmp> minheap, 另外再另外定义下cmp。有次面试
时,面试官问我priority_queue, cmp>中,为何需要vector
我说是个container, 其他的我就啥也不知道啦。有人知道为何c++不把这container写
死为一个类型,比如vector? 让用户自己定义container有啥优势?除了vector, 还有
其他container可以用来定义min heap么?问的问题有点弱,请轻拍
w********s
发帖数: 1570
40
来自主题: JobHunting版 - 狗狗家面筋
switch基本上就是
CMP XXX, VALUE
JUMP XXXXXX
举个例子,
void dummy(int s)
{
switch (s)
{
case 0:
std::cout << "this is 0.";
break;
case 1:
std::cout << "this is 1.";
break;
default:
std::cout << "default.";
break;
}
}
步骤:
parameter s(SS:[EBP+8]) -> EAX
move EAX to the stack
compare the value (s, which is in SS:[EBP-0F4] to switch values 0)
jump if equal (the code for handling case 0)
compare the value to 1
jump if equal
if there is no ... 阅读全帖
y***n
发帖数: 1594
41
来自主题: JobHunting版 - 3-way Partition 算法不容易
上次看了一个人贴了Google 问了3-way Partition, 自己试了一下,写的很难看, 后
来看了一下
Princeton 的书,就这么几行,面试时候写出来还真不不容易。。
也许是我转行的水平太差。。还得修炼。。
http://algs4.cs.princeton.edu/23quicksort/Quick3way.java.html
private static void partition(Comparable[] a, int lo, int hi) {
if (hi <= lo) return;
int lt = lo, gt = hi;
Comparable v = a[lo];
int i = lo;
while (i <= gt) {
int cmp = a[i].compareTo(v);
if (cmp < 0) exch(a, lt++, i++);
else if (cmp > 0) exch(... 阅读全帖
k***a
发帖数: 1199
42
我写了个死算的,lintcode pass了,复杂度mnlg(mn)
#include
#include
#include
using namespace std;
class Solution {
public:
/**
* @param heights: a matrix of integers
* @return: an integer
*/
int trapRainWater(const vector> &heights) {
int m = heights.size();
if (m<3) return 0;
int n = heights[0].size();
if (n<3) return 0;

typedef pair P;

auto cmp = [&heights](const P& left, co... 阅读全帖
b**i
发帖数: 2
43
来自主题: JobHunting版 - 面试用C++, heap 怎么办?
楼上说的对,用make_heap, pop_heap, push_heap 来做。
vector heap;
heap.push_back(1);
heap.push_back(2);
make_heap(heap.begin(), heap.end()); // 这样就把heap变成了一个max heap
auto cmp = [](int lhs, int rhs){return lhs > rhs;};
make_heap(heap.begin(), heap.end()); // 把heap变成了 min heap
下面都用minheap举例子,如果是maxheap不需要传第三个参数。
pop_heap(heap.begin(), heap.end(), cmp); // 现在 heap.back() 是heap的最上面
的那个元素,已经pop出来了
heap.push_back(998);
push_heap(heap.begin(), heap.end(), cmp); // 这样就把998正确插入到minheap了
heap的top应该可以通过front() 来... 阅读全帖
h*******t
发帖数: 156
44
来自主题: JobHunting版 - 求intel前辈内推帮助 (转载)
【 以下文字转载自 Oregon 讨论区 】
发信人: hanchenxt (韩若辰), 信区: Oregon
标 题: 求intel前辈内推帮助
发信站: BBS 未名空间站 (Mon Feb 27 02:33:06 2017, 美东)
各位前辈好!
小弟今年夏天PhD毕业,由于家里LD接了intel hillsboro 的offer,小弟非常想在
portland和LD团聚,苦于没有内推,简历都石沉大海,想请版上前辈们提携一下。
小弟化工专业,具体是Chemical Mechanical Planarization (CMP)方向,跟fab很对
口,现有10+篇paper(大部分是一作),Micron CMP R&D 实习经验。对设备比较熟悉
,曾在NY干过两年跟设备有关的工作。对device physics略有了解,对除了CMP以外的
process还算熟悉。相对熟悉C 和 python,正在自学SQL。
希望各位前辈能提供点帮助,小弟在此拜谢了。
h*******t
发帖数: 156
45
来自主题: Oregon版 - 求intel前辈内推帮助
各位前辈好!
小弟今年夏天PhD毕业,由于家里LD接了intel hillsboro 的offer,小弟非常想在
portland和LD团聚,苦于没有内推,简历都石沉大海,想请版上前辈们提携一下。
小弟化工专业,具体是Chemical Mechanical Planarization (CMP)方向,跟fab很对
口,现有10+篇paper(大部分是一作),Micron CMP R&D 实习经验。对设备比较熟悉
,曾在NY干过两年跟设备有关的工作。对device physics略有了解,对除了CMP以外的
process还算熟悉。相对熟悉C 和 python,正在自学SQL。
希望各位前辈能提供点帮助,小弟在此拜谢了。
w******t
发帖数: 1422
46
来自主题: Java版 - 关于EJB开发的几个问题
since you only limited to use session bean and BMP - here is what I would do:
(btw, what I say if generic, specific requirement may not apply)
-BMP: I would avoid to use BMP. Actually if I remember correctly, it's
recommended that in general, use CMP if you can. I feel like that BMP is
something for EJB1.0 time, when CMP is kind of hard to handle relative complex
relationships. In 2.0 with the addition of query language and CMR, CMP is more
powerful now.
-session bean:
do not put any SQL stateme
j*****k
发帖数: 1198
47
来自主题: Programming版 - 问一个sort的问题
想用stl sort来按string size排序。在relational function cmp里面
如果这样用就没问题
bool cmp(string &s1, string &s2)
{
return s1<=s2;
}
可是如果以下面的方式用,就会出现segment fault, 什么原因呢?
bool cmp(string &s1, string &s2)
{
return (s1.length()) <= (s2.length());
}
谢谢
s**t
发帖数: 342
48
来自主题: Automobile版 - 2003 mazda 6 engine light 亮
03年的mazda6,13万迈了,昨天启动的时候engine light亮了,到今天还一直亮。
看了油箱盖没问题,又重新紧过。
去auto zone把code读了, 大侠们帮忙看看。
P0340: Camshaft sensor (CMP) (RH) circuit malfunction
probable cause
1: open or short circuit condition
2: poor electrical connection
3: engine mechanical condition
4: Faulty CMP sensor
P0456: EVAP control system leak detected - very small leak
probable cause
1: Faulty fuel cap
2: Canister faulty
3: Purge valve solenoid faulty
4: damaged EVAP hose
5: Faulty EVAP leak detection pump
u****s
发帖数: 372
49
来自主题: Automobile版 - honda civic 低速突然踩油门没有速度
是变速箱的可能性应该很小。Check engine 灯亮了吗? 如两了,去读个码,好像应是
P1361。
你这个车的CAMshaft (凸轮轴)position TDC sensor (CMP) 可能挂了,所以计算机不知道
凸轮轴的位置,只有把车强制进入limbo (跛)模式,症状就是车可以从冷启动开一会,但
不知什么时候,会突然无力,加速不了,过热,直到发动机强行被关机由于过热。
CMP传感器在ADVANCE AUTOPART大约60$.自己可以换。
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)