由买买提看人间百态

topics

全部话题 - 话题: empty
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
g********d
发帖数: 19244
1
来自主题: Automobile版 - [合集] F30 328i驾驶体验
☆─────────────────────────────────────☆
felixcat (felixcat) 于 (Thu Mar 28 19:40:12 2013, 美东) 提到:
前些时候车子拿去维护,开了几天F30 328i loaner car。
Dealer的loaner car一般配置挺裸,我拿到的这辆算是中配吧,premium pkg、导航、
倒车雷达之类的还是配了的,但是没有配sports pkg。我觉得这代表了多数328买家的
流行配置吧。
先上几张照片。
☆─────────────────────────────────────☆
felixcat (felixcat) 于 (Thu Mar 28 19:42:41 2013, 美东) 提到:
接着来。我觉得这个铭牌的印刷质量跟上一代比显得粗糙了。
☆─────────────────────────────────────☆
felixcat (felixcat) 于 (Thu Mar 28 19:45:38 2013, 美东) 提到:
B柱有点单薄,但好处是车内空间比上一... 阅读全帖
g********d
发帖数: 19244
2
☆─────────────────────────────────────☆
Ktar (Kta) 于 (Wed Jan 8 21:08:30 2014, 美东) 提到:
我之前有过两辆BMW。
一个98年的528i,中规中矩,自动挡的没意思。三个月就卖了。
后来搞了个99年的540i,带Sports Package,Upgraded Audio,手动。
我到现在为止没见过比这辆更赞的车子,下一代BMW E60外形太渣,人都说E39是Driver
Oriented,E60就不是。
Sports 调教的悬挂操控一流,V8动力很强,几乎就是个M5。
还有那个音效很无敌。虽说没有任何牌子,但是比我现在的Bose好太多了。 可能奔驰
的哈曼卡登要更好些,别的估计不行。
只可惜那一代BMW的散热系统是个渣,老是漏Coolant, water pump, radiator, gasket
,都换过,很头疼。 就这样,今年暑假我还开着这辆BMW出去开了6000英里环游了美国
一圈。
后来上班了,车子必须不能出问题,就把BMW买了,换了辆07年G35.
虽说我现在G35很可靠,也是有Sp... 阅读全帖
C*N
发帖数: 1792
3
#include
#include
#include
using namespace std;
struct currentListStruct
{
double A;
double B;
std::vector values;
};
void getMaxNSum (std::vector & array1, std::vector & array2,
currentListStruct & cur, int N)
{
if (array1.empty () || array2.empty ()) {
return;
}
cur.A = array1.back();
cur.B = array2.back();
cur.values.push_back (cur.A + cur.B);

double a=array1.front()-1, b=array2.front()-1;
... 阅读全帖
a****r
发帖数: 87
4
来自主题: JobHunting版 - 如何判断两个BST的元素是一样的?
我的算法:
对两个BST同时进行in-order traversal in an iterative way.
bool is_BST_eq(TreeNode *r1, TreeNode *r2){
if(r1 == nullptr && r2 == nullptr) return true;

stack st1;
stack st2;

TreeNode *p = r1;
TreeNode *n1 = nullptr;
TreeNode *q = r2;
TreeNode *n2 = nullptr;

while(true){

// iterative inorder traversal for r1
while(!st1.empty() || p){
if(p){
st1.push(p);
p = p->left;
... 阅读全帖
p*********e
发帖数: 4
5
来自主题: Europe版 - 《真爱无敌》!孤单的凭吊!
真爱无敌
昨夜梦见自己 长了双翼飞向前去
在每一个你出现过的地方 徘徊不已 啊
昨夜我梦见自己 竟然可以不必呼吸
穿过蓝蓝的冰冷的海洋 为了寻你
想转醒却无力 心痛无比清晰
若爱过必留痕迹 别问我为何舍不得你
The city is so empty 只因为这里没有你
The city is so empty 这天地彷佛要失去主题
The city is so empty 只因为这里没有你
The city is so empty 可是我依然相信真爱无敌
昨夜梦见自己 就要成为谁人的妻
发现吻我的人 他不是你 落泪心急 啊
昨夜我梦见自己 那么努力那么心虚
独自在空荡荡的台上演戏 可怜兮兮
这梦境迂回诡异 时而深陷时而抽离
如果我无从躲避 我只想知道是什么道理
The city is so empty 只因为这里没有你
The city is so empty 这天地彷佛要失去主题
The city is so empty 只因为这里没有你
The city is so empty 可是我依然相信真爱无敌
k********k
发帖数: 835
6
来自主题: LeisureTime版 - 真爱无敌
许茹芸<真爱无敌>, 李宗盛作词作曲。1999年发行,闻弦歌而知雅意,一首老歌却像是
为今天的希拉里向比尔倾诉所作。
“昨夜梦见自己,长了双翼飞向前去。
在每一个你出现过的地方,徘徊不已。
(不知是在白宫,还是阿肯色州小石城)
昨夜我梦见自己,竟然可以不必呼吸。
穿过蓝蓝的冰冷的海洋,为了寻你。
(竞选路上,步履蹒跚)
想转醒却无力,心痛无比清晰。
若爱过必留痕迹,
(是证物裙子,还是爱女切尔西?)
别问我为何舍不得你。
The City is so empty 只因为这里没有你.
The City is so empty 这天地仿佛要失去主题.
The City is so empty 只因为这里没有你.
The City is so empty 可是我依然相信真爱无敌.
(在美国英语中,The City 特指纽约,比尔任期届满后,退出政坛。希拉里却在纽约当
上参议员,开始攀登权力高峰)
昨夜梦见自己,就要成为谁人的妻.
(金主太多? 不知如何平衡?)
发现吻我的人,他不是你,落泪心急。
(2008年初选失利)
啊! 昨夜我梦见自己,那么努力那么心虚。
(政治强人的自省)
独自在空荡... 阅读全帖
b*******s
发帖数: 5216
7
来自主题: AnthroLing版 - a script
#!/usr/bin/env /usr/bin/python3
import sys, os, argparse, shutil
templates_dir = os.path.expanduser('~') + '/templates/'
cwd = os.getcwd() + '/'
py_templates = ['empty.py']
cpp_templates = ['empty.h','empty.cpp']
test_templates = ['Makefile','main.cpp','helper.h','Test.cpp']
perf_templates = ['perf.h']
main_templates = ['entry.cpp']
make_templates = ['CMakeLists.txt']

def copy_templates(templates,name,affected,to_be_replaced,to_replace):
for file in templates:
if not os.pat... 阅读全帖
b*******s
发帖数: 5216
8
来自主题: AnthroLing版 - a script
#!/usr/bin/env /usr/bin/python3
import sys, os, argparse, shutil
templates_dir = os.path.expanduser('~') + '/templates/'
cwd = os.getcwd() + '/'
py_templates = ['empty.py']
cpp_templates = ['empty.h','empty.cpp']
test_templates = ['Makefile','main.cpp','helper.h','Test.cpp']
perf_templates = ['perf.h']
main_templates = ['entry.cpp']
make_templates = ['CMakeLists.txt']

def copy_templates(templates,name,affected,to_be_replaced,to_replace):
for file in templates:
if not os.pat... 阅读全帖

发帖数: 1
9
来自主题: Military版 - 12 月26日 可能的真相
12月26日 事实的真相
以前我们分析过,Augusta, GA 只是这个人体基地的一个点,而且我们也追踪到还有一
个点在加州。那么经过更多的分析,显示事实的真相可能是如此。这些地下通道是很久
以前就存在的,是为了战争或避难用的,后来在南北战争中,又充当奴隶逃跑到北方的
通道。那么在后来的后来,就被一些别有用心的人充当了非法活动的场地。而到了80年
代后,日本人就加入进来,把其改造成了一个军事,人体实验基地,成了报复美国的一
种手段。当然,我也强调历史和解,仇恨和解,但要在正确的认知,悔改下的和解。如
果一边在屠杀受害者,一边高谈和解,并千方百计掩盖事情真相的曝光,这不是悔改的
表现,最多是转移了屠杀的目标,我们不能原谅罪恶势力彼此勾结下的和解。根据分析
,这个基地的入口就在Deerfield, ILLinois. 世界每一个人都是这个基地的受害者,
都是这些大药厂的受害者,受害者以亿为单位来计算。你们很可能都在不知不觉中受到
了他们的伤害,请把信息传达到世界每一个角落,让我们一起携手和世界上最邪恶的势
力做顽强的斗争,他们现在还在屠杀无辜的受害者,每天在我家里杀人。请你们和我站
在... 阅读全帖
j*****y
发帖数: 1071
10
来自主题: JobHunting版 - F面经
写了一个,欢迎测试
#include
#include
#include
#include
#include
using namespace std;
bool isNumber(string s)
{
if(s[0] == '+' || s[0] == '-' || s[0] == '(' || s[0] == ')')
{
return false;
}
return true;
}
int helper(int a, int b, char c)
{
if(c == '+')
{
return a + b;
}
else
{
return a - b;
}
}
bool valid(vector &s)
{
stack v;
stack c;
for(int i = 0; i < s.size(); ++i)
... 阅读全帖
j*****y
发帖数: 1071
11
来自主题: JobHunting版 - F面经
写了一个,欢迎测试
#include
#include
#include
#include
#include
using namespace std;
bool isNumber(string s)
{
if(s[0] == '+' || s[0] == '-' || s[0] == '(' || s[0] == ')')
{
return false;
}
return true;
}
int helper(int a, int b, char c)
{
if(c == '+')
{
return a + b;
}
else
{
return a - b;
}
}
bool valid(vector &s)
{
stack v;
stack c;
for(int i = 0; i < s.size(); ++i)
... 阅读全帖
f**********t
发帖数: 1001
12
Well, my code is complex and sigfault. Let me go back if I have time.
This is too hard for a 45 minutes interview.
void skipSpace(const char **s) {
while (isspace(**s)) {
++(*s);
}
}
int getNum(const char **s) {
bool neg = false;
if (**s == '-') {
neg = true;
++(*s);
}
int cur = 0;
while (isdigit(**s)) {
cur = cur * 10 + (**s - '0');
++(*s);
}
--(*s);
return neg ? -cur : cur;
}
int opNum(int x, int y, char op) {
switch (op) {
case '+':
return x + y... 阅读全帖
a*****f
发帖数: 6
13
leetcode上ValidNumber这道题有点烦,因为它的需求不明确
试了很多次,下面的代码通过了测试,供参考
public class Solution {
enum Token {Empty, Sign, Float, Int, IntWithSign, Invalid};

int findFirst(char[] s, char c, int p1, int p2) {
for (int i = p1; i <= p2; i ++)
if (s[i] == c) return i;

return -1;
}

int findLast(char[] s, char c, int p1, int p2) {
for (int i = p2; i >= p1; i --)
if (s[i] == c) return i;

return -1;
}

Tok... 阅读全帖
x5
发帖数: 27871
14
☆─────────────────────────────────────☆
jjjstc (买买提就是一个垃圾处理站) 于 (Sun Apr 3 20:43:12 2011, 美东) 提到:
永远正确 = 永远耍流氓
指导员做战前动员,称“只要冲锋足够快,就不会受伤”。你拼尽全力冲锋,可
战后却浑 身血淋淋地被抬了回来。你说指导员的话不对,指导员却说:“那是因为你
冲得
不够快,否则就不会受伤了,记着下次冲快点啊。”面对这么流氓的解释,你只能哑
口无
言。但你已经知道了他是个骗子,原因在于他根本就没有给出冲锋足够快的标准,无论你
冲得有多快,只要你受伤了,他永远可以称原因是你不够快,他的说法 “永远正确”。
李大娘相信黄大仙,她认为世上万事万物,包括你我的思想都是由一只超级黄鼠
狼完全控制着,当然包括我这篇文章的写作。依托这只黄鼠狼,李大娘可以解 释一切
,下
雨是它流鼻涕,打雷是它打喷嚏。你还别跟李大娘较劲,因为你永远都无法证明这个黄鼠
狼是不存在的。指导员和李大娘的说法有一个共性,那就是说法 本身根本就没有可以
否定
它的途径,用科学... 阅读全帖
r****y
发帖数: 26819
15
来自主题: TVChinese版 - 求助佛经翻译
这个翻译到处都有吧
我有纸书,也可以google到
这个翻译应该是经典的:
Prajna Paramita Heart Sutra
When Bodhisattva Avalokiteshvara was practicing the profound Prajna Paramita
, he illuminated the Five Skandhas and saw that they are all empty, and he
crossed beyond all suffering and difficulty.
Shariputra, form does not differ from emptiness; emptiness does not differ
from form. Form itself is emptiness; emptiness itself is form. So too are
feeling, cognition, formation, and consciousness.
Shariputra, all Dharmas are empty of c... 阅读全帖
m*********n
发帖数: 11525
16
来自主题: TVChinese版 - [合集] 求助佛经翻译
☆─────────────────────────────────────☆
rcf (hello world) 于 (Sat Nov 5 13:48:45 2011, 美东) 提到:
版上高人很多,哪里可以找到下面的翻译啊?我邻居拿过来的,我只看到前面的
抗日宣传,没看到后面居然有一页
般若波罗密多心经
!!!!!!!!
中文我都困难啊
☆─────────────────────────────────────☆
rodney (开府特进轻车都尉) 于 (Sat Nov 5 14:11:09 2011, 美东) 提到:
这个翻译到处都有吧
我有纸书,也可以google到
这个翻译应该是经典的:
Prajna Paramita Heart Sutra
When Bodhisattva Avalokiteshvara was practicing the profound Prajna Paramita
, he illuminated the Five Skandhas and saw that they are all empty, and he
cros... 阅读全帖
N*******n
发帖数: 348
17
来自主题: Wisdom版 - One more question: Are there only ONE?
I was busy at work this morning and did not have time to type an example.
Now I have a little bit of time and I will try to explain to you with an
example. Suppose you are in a room. When you do not see anybody else in the
room, you know you are the only one in the room. This same situation can be
applied to awareness. Suppose this room has light - awareness is like the
light. Let's say there is nothing in the room except light. The room is
totally empty. Remember the awareness has the ability t... 阅读全帖
l****z
发帖数: 29846
18
by Bruce N. Eimer, Ph.D
The question is often asked, “what is the best handgun for concealed carry?
” There are many valid answers to this question and they usually begin with
, “well, it depends on a number of factors.” However, in my humble opinion
, there is one universally valid answer, and that is, “it is the gun that
you have on you when you need it.” With that said, the purpose of this
brief article is to make you aware of twelve handguns that are so easy to
carry, that there is no excuse... 阅读全帖
g********d
发帖数: 19244
19
☆─────────────────────────────────────☆
Calsky (blueblue) 于 (Tue Mar 12 21:23:07 2013, 美东) 提到:
请问谁知道X3,Q5,GLK的保养维修费哪个最贵,哪个最便宜呢
据说奔驰>宝马>奥迪?具体的比例是怎样呢
也听说德系车保养维修贵,请问到底有多贵呢,比如新车出了保修后一般每年花费多少
之类,谢谢
☆─────────────────────────────────────☆
geeti (geeti) 于 (Tue Mar 12 22:29:14 2013, 美东) 提到:
真得看平日的保养,
☆─────────────────────────────────────☆
Calsky (blueblue) 于 (Tue Mar 12 22:30:56 2013, 美东) 提到:
多谢,可能我问的太宽泛了,那就说换零件吧,同样的零件坏了,修的话哪个最贵,哪
个最便宜呢?
貌似国内奔驰的零件比宝马贵很多。

☆───────────────────────────────... 阅读全帖
g********d
发帖数: 19244
20
☆─────────────────────────────────────☆
qqzj (小车车) 于 (Sun Nov 10 10:07:57 2013, 美东) 提到:
1理论
基本论点:升马力是评价发动机表现(performance)的唯一依据,而不是BMEP。这里的
performance仅指马力大跑得快。升马力的意义很明显。这里集中讨论为什么BMEP不是
正确的标准。因为BMEP和升扭矩是线性的,所以为了大多数人容易理解,这里在BMEP和
升扭矩之间画等号。因为升马力 = rpm*升扭矩,升扭矩作为衡量标准的缺陷非常明显
,因为这个指标仅仅描述了发动机在每一个完整冲程内做功的多少或者平均扭力的大小
,完全无视发动机在一定时间内可以运行多少个冲程。事实上升扭矩是随着rpm变化的
。所以升马力 = rmp * 升扭矩(rpm,x)。升扭矩(rpm,x)意思是升扭矩是rpm和其他因
素的函数。这个公式直接表明,如果升扭矩在一定rpm的区间下降,但是只要下降的速
度小于1,为了提高升马力,可以牺牲升扭矩。简单来说比较升扭矩的意义只有在相同
rpm的情况下在有比较的意义。当... 阅读全帖
f**e
发帖数: 2160
21
来自主题: ebiz版 - 看神户在fashion版骗包子
怎么有这么缺德的人咩
http://www.mitbbs.com/article_t/Fashion/33209539.html
发信人: april2009 (empty), 信区: Fashion
标 题: 遇到骗子?现在该怎么办?
发信站: BBS 未名空间站 (Fri Feb 10 10:30:04 2012, 美东)
现在的人怎么连包子也骗啊,太坏了吧。
在版面上包子求coach 100 off 300 coupon,有个人发信跟我说他有,要我先发包子。
我就马上转了50个包子给他,结果他发了个根本不能用的code给我。我马上回信说code
不valid,他假装没有看见信。我再次发信跟他说如果他没有valid code,麻烦他退包
子,因为我包子就那么点,他不退给我我就没有包子跟其他人换了。这人又给了我另一
个code,还是不能用。然后他就不回我信玩失踪装下线了。
50个包子,500伪币,值得这样吗?这人道德怎么这么败坏。我在版面上和给他的信里
都说coupon急用,居然会发生这种事情。。。。。
大家注意看回信时间,一开始他回得多快,后面就玩失踪了。
-----------... 阅读全帖
d******0
发帖数: 22800
22
☆─────────────────────────────────────☆
story9988 (小小故事人) 于 (Mon Jan 3 09:24:25 2011, 美东) 提到:
最近经常用到,随便讲一下。
jitter本身就是一个专业术语,可惜,90%的中文书里面看不到正确的解释,10%的英文
专业书,也会有错误的解释。
jitter是 variety of delay。很清楚,很明白,比方说delay一直是10ms,那么就是
constant了,也就是jitter=0.但是,可能么?
这里就解释了为什么有些人提出cd player加个RAM就可以解决的问题,可以么?
不可以!
这也就是为什么jitter消除不了的原因。
再说一下震动,音响器材里面最怕的就是震动,因为器械一震,会影响很多问题,这也
就是脚钉这样一个神奇之物的主要功效。
但是,震动就一定是不好的么?很多时候歪打正着,很可能就是抵消了有害波,这个时
候,就有意思的。
所以了,HIFI为啥这么多年来一直这么有魅力,一句话:不统一的和谐型。
这也是我老见过最有趣的一个东西,一个早就拥有了一个宗旨:高度还原... 阅读全帖
x***n
发帖数: 70
23
来自主题: JobHunting版 - 两道F电面题
第二题用栈来解决好像很容易。不过可能跟上面说的递归的算法是一样的。
public class patternMatch {
static java.util.Stack stackS = new java.util.Stack >();
static java.util.Stack stackP = new java.util.Stack >();
static void initStack( char [] s, char [] p ) {
for( char s1 : s ) {
stackS.add(s1);
}
for( char p1 : p ) {
stackP.add(p1);
}
}
static boolean is_match_stack( char [] s, char [] p) {
while( (!stackS... 阅读全帖
x***n
发帖数: 70
24
来自主题: JobHunting版 - 两道F电面题
第二题用栈来解决好像很容易。不过可能跟上面说的递归的算法是一样的。
public class patternMatch {
static java.util.Stack stackS = new java.util.Stack >();
static java.util.Stack stackP = new java.util.Stack >();
static void initStack( char [] s, char [] p ) {
for( char s1 : s ) {
stackS.add(s1);
}
for( char p1 : p ) {
stackP.add(p1);
}
}
static boolean is_match_stack( char [] s, char [] p) {
while( (!stackS... 阅读全帖
S**I
发帖数: 15689
25
☆─────────────────────────────────────☆
careerchange (Stupid) 于 (Sat Jun 4 20:25:58 2011, 美东) 提到:
void reversePrint(Node* head) {
if(head=NULL) {
cout << "Empty List. No node to print." << endl;
return;
}
if(head->next=NULL) {
cout << head->data << endl;
return;
} else {
Node* temp=head;
head=temp->next;
reversePrint(head);
cout << temp->data << endl;
return;
}
}
☆─────────────────────────────────────☆
speeddy (Wade) 于 (Sat Jun 4 20:30:33 ... 阅读全帖
h****n
发帖数: 1093
26
写了一个,不过废了挺长时间,不知道要写详细到什么程度
enum STATE{MAINTENANCE,STAND,UP,DOWN};
public class Elevator
{
private:
STATE state;
int currentFloor;
priority_queue, greater> UpFloorReqList;
priority_queue DownFloorReqList;
public:
Elevator(STATE st, int floor)
{
state = st;
floor = currentFloor;
}
STATE GetState()
{
return state;
}
void SetState(STATE newst)
{
state = newst;
}
int GetCurrentFloor()
{
return currentFloor;
}
void SetCurrentFloor(int floor)
{
currentFloor = floor;
}
void Ad... 阅读全帖
a***e
发帖数: 413
27
写了很久都过不了,15分钟哪里能写完啊?能把思路说清楚就不错了。不知道什么样的
公司和面试官会出这种题。
https://oj.leetcode.com/problems/word-ladder-ii/
vector> findLadders(string start, string end, unordered_set<
string> &dict) {
vector> res;
vector> empty;
queue curLevel;
queue nextLevel;
vector path;
path.push_back(start);
curLevel.push(start);
res.push_back(path);
string word = start;
bool find = false;
int n = word.size();
bo... 阅读全帖
a***e
发帖数: 413
28
写了很久都过不了,15分钟哪里能写完啊?能把思路说清楚就不错了。不知道什么样的
公司和面试官会出这种题。
https://oj.leetcode.com/problems/word-ladder-ii/
vector> findLadders(string start, string end, unordered_set<
string> &dict) {
vector> res;
vector> empty;
queue curLevel;
queue nextLevel;
vector path;
path.push_back(start);
curLevel.push(start);
res.push_back(path);
string word = start;
bool find = false;
int n = word.size();
bo... 阅读全帖
v********d
发帖数: 167
29
来自主题: GunsAndGears版 - AK vs AR
Found this article online. ak & ar are compared in details.
http://jumpthestack.blogspot.com/2012/04/ak-vs-ar.html
AK vs AR
Here is my take on AK (Kalashnikov) style rifles vs AR-15 style rifles. For
simplicity's sake, I will consider AKs in 7.62x39 and ARs in 5.56x45 NATO. I
own both, and I like both, and I have experience running both in carbine
classes, for whatever that's worth. AKs and ARs have different design
decisions. In general, the design decisions that give one its strength, also
giv... 阅读全帖
t******n
发帖数: 2939
30
☆─────────────────────────────────────☆
firekimmel (Fire Kimmel) 于 (Mon Oct 28 00:37:26 2013, 美东) 提到:
ABC不用理会普通观众,但无法将联邦政府调查员拒之门外。现在的电视节目大多是有
剧本的,Federal Communications Commission (FCC)有必要调查 Kill Everyone In
China 这句台词的用意。大多数人认为这句话有严重的种族歧视 (racial
discrimination) 及煽动性。
FCC在接到观众投诉后会进行调查,比如 2004年的 Janet Jackson Wardrobe
Malfunction 导致了50万件投诉。如果调查结果认为违规,FCC会处以罚款。
请到以下网站投诉:
http://www.fcc.gov/complaints
-->Broadcast (TV and Radio), Cable, and Satellite
-->Unauthorized, unfair, biased, illegal b... 阅读全帖
f**e
发帖数: 2160
31
【 以下文字转载自 ebiz 讨论区 】
发信人: fuse (Genie), 信区: ebiz
标 题: 看神户在fashion版骗包子
发信站: BBS 未名空间站 (Fri Feb 10 15:37:17 2012, 美东)
怎么有这么缺德的人咩
http://www.mitbbs.com/article_t/Fashion/33209539.html
发信人: april2009 (empty), 信区: Fashion
标 题: 遇到骗子?现在该怎么办?
发信站: BBS 未名空间站 (Fri Feb 10 10:30:04 2012, 美东)
现在的人怎么连包子也骗啊,太坏了吧。
在版面上包子求coach 100 off 300 coupon,有个人发信跟我说他有,要我先发包子。
我就马上转了50个包子给他,结果他发了个根本不能用的code给我。我马上回信说code
不valid,他假装没有看见信。我再次发信跟他说如果他没有valid code,麻烦他退包
子,因为我包子就那么点,他不退给我我就没有包子跟其他人换了。这人又给了我另一
个code,还是不能用。然后他就不回... 阅读全帖
z***o
发帖数: 2104
32
Face the Fact and See What Happens
We have all had the experience of tremendous loneliness, where books,
religion, everything is gone and we are tremendously, inwardly, lonely,
empty. Most of us can't face that emptiness, that loneliness, and we run
away from it. Dependence is one of the things we run to, depend on, because
we can't stand being alone with ourselves. We must have the radio or books
or talking, incessant chatter about this and that, about art and culture. So
we come to that point ... 阅读全帖
R*o
发帖数: 3781
33
来自主题: TrustInJesus版 - Study and Exposition of Romans 4:13-22
C. Full Exegetical Outline
Idea: The reason the promise to Abraham (or all his descendents)—that he wo
uld inherit the world—was fulfilled not through the law, but through Abraha
m’s sheer faith, in spite of the fact that both he and Sarah were unable to
produce children, is because the law works wrath, empties faith, and nullif
ies the promise, whereas faith is in keeping with grace which alone makes th
e promise certain to all Abraham’s descendents.
I. The reason the promise to Abraham (or to ... 阅读全帖
T******T
发帖数: 3066
34
来自主题: EE版 - 请教一个verilog code
As general note in synchronous digital design, unless clock rate is slow and
absolutely necessary, refrain from using double edged sequential logic. I
would only use it for fast <-> real slow time domain synchronization related
stuff.
DDR sounds cool, and it might seem efficient as hell to be able to
accomplish twice as much operation in only 1 single clock cycle, but when it
comes time to backend STA timing closure, you'll regret not having that
extra slack to deal with worst path circuit delay... 阅读全帖
l*****7
发帖数: 8463
35
http://redalertpolitics.com/2012/11/10/southern-states-issue-wh
Americans in 15 states issue White House petitions asking permission to
secede
1663 If at first you don’t succeed, just secede!
More than 8,000 Louisiana residents have signed an online petition to the
Obama administration to allow the state of Louisana to, “withdraw
peacefully from the United States of America and create its own new
government.”
The petition, posted to the online White House petitions page, cites the
Declaration of... 阅读全帖
j******e
发帖数: 388
36
您好,您知道那里可以找到这方面的律师吗?
这整件事情我的确觉得自己是被误导并歧视了。
我实在不能理解这里有些人的想法,首先一定要找出自己人身上的错误,然后拿着放大
镜放大再放大。我唯一做的不太符合标准的就是在经济舱广播说行李满架的情况下,大
家都在过道里堵着走不过去的情况下,先把行李放在必经的商务舱的行李架上然后再去
找乘务员商量,因为在狭窄的飞机过道里面,很难一手拉着小孩一手拉箱子。
难道这些说我的人都希望被白人如此对待吗?还是说他们希望自己的老婆孩子被白人如
此对待?
为什么他们对那个乘务长的的态度视而不见,反而说她说没有空座是委婉的说法,而我
说的确有空座就算是让别人没面子?
我来美国也有很多年了,来来回回坐飞机也很多次了,这样明目张胆的歧视还正是第一
次见到。
这是我写给UA的信,欢迎转发:
Dear United Airline Customer Service Team,
My name is ***. I am a frequent traveler who has lived in American for over
15 years. It is not very ... 阅读全帖
j******e
发帖数: 388
37
请问那些报社和网站比较好?有知名度?
以下是我写给UA的信,欢迎转发:
Dear United Airline Customer Service Team,
My name is ***. I am a frequent traveler who has lived in American for over
15 years. It is not very often that I become upset enough to write a letter
to the Corporate Office of United Airlines. However I am writing this
letter as a formal complaint of the misleading information, unprofessional,
prejudice and the discriminatory treatment I received on flight United
Airline Flight #UA851 on September 18, 2014. This f... 阅读全帖
S**I
发帖数: 15689
38
来自主题: JobHunting版 - [合集] 收到G家拒信,发面经
☆─────────────────────────────────────☆
recursive (递归) 于 (Mon Apr 11 10:56:49 2011, 美东) 提到:
大半夜收到HR的thank you note。不用管什么NDA了
本人ECE fresh PhD,背景是电路/EDA,跟G业务基本没什么关系
同学内部推荐的,很简单的一次电面就给了onsite
题都不难,但是自己没把握好机会,出了一些小bug。
总的感觉,出错就是硬伤,宁可从最简单的算法写起,也不能出错。
电面:
1,Skip list, http://en.wikipedia.org/wiki/Skip_list
写code实现struct skip_list * find(struct skip_list *head, int value)
2,sorted array with repeated elements
for given element, find out its range.
e.g. A A B B B B B C C D D E F G, given B, the out... 阅读全帖
n**0
发帖数: 136
39
来自主题: JobHunting版 - 面试题:如何设计一个停车场。
OO经典题了
ParkingLot is a class.
ParkingSpace is a class.
ParkingSpace has an Entrance.
Entrance has a location or more specifically, distance from Entrance.
ParkingLotSign is a class.
ParkingLot has a ParkingLotSign.
ParkingLot has a finite number of ParkingSpaces.
HandicappedParkingSpace is a subclass of ParkingSpace.
RegularParkingSpace is a subclass of ParkingSpace.
CompactParkingSpace is a subclass of ParkingSpace.
ParkingLot keeps array of ParkingSpaces, and a separate array of vacant
Parking... 阅读全帖
C***U
发帖数: 2406
40
我能想到的就是O(n^2)时间 O(n)空间的
bool isInterleaveNew(string s1, string s2, string s3) {
vector possibleIndex;
vector tempIndex;
if(s1.empty()) {
return s2 == s3;
}
if(s2.empty()) {
return s1 == s3;
}
if(s1.size() + s2.size() != s3.size()) {
return false;
}
if(s1[0] != s3[0] && s2[0] != s3[0]) {
return false;
}
else {
if(s2[0] == s3[0]) {
possibleIndex.push_back(-1);
}
if(s1[0] == s3[... 阅读全帖
C***U
发帖数: 2406
41
我能想到的就是O(n^2)时间 O(n)空间的
bool isInterleaveNew(string s1, string s2, string s3) {
vector possibleIndex;
vector tempIndex;
if(s1.empty()) {
return s2 == s3;
}
if(s2.empty()) {
return s1 == s3;
}
if(s1.size() + s2.size() != s3.size()) {
return false;
}
if(s1[0] != s3[0] && s2[0] != s3[0]) {
return false;
}
else {
if(s2[0] == s3[0]) {
possibleIndex.push_back(-1);
}
if(s1[0] == s3[... 阅读全帖
w****x
发帖数: 2483
42
来自主题: JobHunting版 - 几道F家面试题
struct NODE
{
int nVal;
NODE* pLft;
NODE* pRgt;
NODE(int x) : nVal(x), pLft(NULL), pRgt(NULL) {}
};
struct TreeIter
{
stack m_stk;
void movNext()
{
if (m_stk.empty())
return;
NODE* pCur = m_stk.top();
if (pCur->pRgt != NULL)
{
pushLft(pCur->pRgt);
return;
}

while (!m_stk.empty() && pCur != m_stk.top()->pLft)
{
pCur = m_stk.top();
m_stk.pop... 阅读全帖
d*******u
发帖数: 186
43
来自主题: JobHunting版 - Question about Leetcode: Maximum rectangle
Hello,
The following code can pass the Leetcode test, if it ran separately.
But it can not pass the Leetcode online. Any problem? thanks.
class Solution {
public:
int largestAreaunderHistogramv(vector histogram, int size)
{
stack histindexlessthan;
int *area = new int[size];

int left = -1;
//get Li
for(int i=0; i {
while(!histindexlessthan.empty())
{
if(histogram[i] <= histogram[histindexlessthan.top()])
... 阅读全帖
w****x
发帖数: 2483
44
来自主题: JobHunting版 - 问一道题

我就想问问那个初始化怎么方便的处理,二爷看看我的code吧
class CIterIter
{
public:
CIterIter(vector>& vecvec) : m_vecvec(vecvec), m_ni(0), m_nj(0),
bInited(false)
{}
bool hasNext()
{
if (!m_vecvec.empty() && !m_vecvec[0].empty())
return true;
int i,j;
return prob(i,j);
}
int getVal() { return m_vecvec[m_ni][m_nj]; }
void next()
{
if (!bInited)
{
bInited = true;
if (!m_vecvec.empty() && !m_vecvec[0].empty())
return;
}
prob(m_ni, m_nj);
}
private:
bool prob(in... 阅读全帖
l*******b
发帖数: 2586
45
来自主题: JobHunting版 - 拓扑排序
记得前几天有大侠贴过一个的,找不到了
被面到了,讲完思路画了下流程,code写了一半时间到了,一直很糊涂该怎么写图的数
据结构。补一个code吧
#include
#include
#include
#include
using namespace std;
typedef unordered_map > Graph;
vector topologicalSort(Graph &gr) { // destructive
vector sorted;
queue degree_zero;
while(!gr.empty()) {
for(Graph::iterator i = gr.begin(), j = i; i != gr.end(); i = j) {
j++;
if(i->second.empty()) {
... 阅读全帖
f**********t
发帖数: 1001
46
来自主题: JobHunting版 - 热腾腾的 LinkedIn 电面题攒RP
// Given a binary tree where all the right nodes are either leaf nodes with
a sibling (a left node that shares the same parent node) or empty, flip it
upside down and turn it into a tree where the original right nodes turned
into left leaf nodes. Return the new root.
// {1,2,3,4,5}, to [4,5,2,#,#,3,1]
class BiTree {
struct Node {
char val;
Node *left, *right;
Node(char c) : val(c), left(nullptr), right(nullptr) {}
};
Node *_root;
public:
BiTree(string s) {
queue qu... 阅读全帖
a******f
发帖数: 9
47
来自主题: JobHunting版 - 求指点一道G家Iterator的题目
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
class NestedInteger {
public:
NestedInteger(int i) : integer(i), isInt(true) {}
NestedInteger(vector l) : nestedList(l), isInt(false) {}

// Return true if this NestedInteger holds a single integer, rather than
a nested list.
bool isInteger() {
return isInt;
}

// R... 阅读全帖
H****r
发帖数: 16240
48
Shooting Times上面的文:
http://www.shootingtimes.com/2013/03/19/a-gentlemans-guide-to-o
When’s the last time you went to a public range and had a horrible day—not
because your guns weren’t cooperating, but because well-meaning idiots
offered unsolicited coaching, handled your stuff without asking, asked
questions or “corrected” your form when you were in the middle of shooting
groups, or just plain made a nuisance of themselves? If you’re a regular
at the shooting range, I’ll wager it happens to you... 阅读全帖
a*******9
发帖数: 79
49
来自主题: Fashion版 - 遇到骗子?现在该怎么办?
现在的人怎么连包子也骗啊,太坏了吧。
在版面上包子求coach 100 off 300 coupon,有个人发信跟我说他有,要我先发包子。
我就马上转了50个包子给他,结果他发了个根本不能用的code给我。我马上回信说code
不valid,他假装没有看见信。我再次发信跟他说如果他没有valid code,麻烦他退包
子,因为我包子就那么点,他不退给我我就没有包子跟其他人换了。这人又给了我另一
个code,还是不能用。然后他就不回我信玩失踪装下线了。
50个包子,500伪币,值得这样吗?这人道德怎么这么败坏。我在版面上和给他的信里
都说coupon急用,居然会发生这种事情。。。。。
大家注意看回信时间,一开始他回得多快,后面就玩失踪了。
---------------------------------------------------
寄信人: hellowhy (夹死do it)
标 题: Re: 〉〉〉coach正价店300减100专用帖〈〈〈
发信站: 未名空间 (Fri Feb 10 08:24:26 2012)
来 源: 130.91.
你需要吗?我有

------... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)