由买买提看人间百态

topics

全部话题 - 话题: rmid
(共0页)
a***e
发帖数: 413
1
题目
https://oj.leetcode.com/problems/search-a-2d-matrix/
我写的如下,先搜索行,再列。后面那个简短的是看到的别人的答案,简洁很多,但要
不要考虑行数*列数overflow的情况呢?多谢!
bool searchMatrix(vector > &matrix, int target) {
int row = matrix.size();
if (row==0) return false;
int col = matrix[0].size();
if (col==0) return false;
int rmin=0, rmax=row-1, cmin=0, cmax=col-1,rmid,cmid;
while (rmin<=rmax)
{
rmid = rmin+(rmax-rmin)/2;
if (matrix[rmid][0]>target... 阅读全帖
w*******y
发帖数: 60932
2
Pacsun is having one of those additional 50% off clearnace.
No coupons or codes required.
Flat rate of $7 Shipping or Free shipping over $75.
Pacsun.com:
http://pacsun.com
Men's Clearance:
http://shop.pacsun.com/search/All-Promo-Markdowns/refine/cat/Me PRODUCT_TYPE_NAME_x3D_General_x20_Product)( PRODUCT_TYPE_NAME)( General_x20_Product))(attribute_value_string=ShipToCountry=( ShipToCountry_x3D_US)( ShipToCountry)( US))(free_text==( All_x20_Promo_x20_Markdowns))&rmid=10_16_11_6WaysToSave&rrid=3893... 阅读全帖
p*****y
发帖数: 1049
3
2010年10月8日,中国政府领导人,中华民国总统马英九先生对刘晓波获奖表示祝贺!
http://www.president.gov.tw/Default.aspx?tabid=131&itemid=22484&rmid=514
總統對劉曉波獲得諾貝爾和平獎表達祝賀之意
公布日期
中華民國99年10月08日
劉曉波先生榮獲諾貝爾和平獎,總統府發言人羅智強表示,馬總統對劉曉波的獲獎
,表達祝賀之
意。
羅智強表示,馬總統在今年的六四感言中即曾表示:
「在這全新的歷史條件下,我們希望大陸當局此刻在人權方面展現全新的思維,以
充分的誠意與自
信,逐步化解重大人權事件所遺留下來的問題,並以更寬宏的氣度,對待異議人士。這
不但有助提升大
陸人民對大陸當局的信賴,也必然可以大幅拉近兩岸在人權方面的距離,更使世人相信
中國大陸的崛
起,不僅是和平的,同時也是自由、民主與人權普世價值的顯現。」
馬總統認為,中國大陸的經濟發展已讓世人刮目相看,如果在人權問題上,能有進
步與突破,會更
符合其「和平崛起」的目標,也會贏得台灣人民與國際社會的肯定。劉曉波榮獲和平獎
,馬總統認為,
這不只是劉曉... 阅读全帖
c**i
发帖数: 6973
4
来自主题: Salon版 - Pres. Ma's Interview with AP
In chronological order.
(1) Brian Carvillano and Peter Enav, AP Interview: Taiwan's Ma moves ahead
with China. Associated Press, Oct. 19, 2010.
http://news.yahoo.com/s/ap/20101019/ap_on_re_as/as_taiwan_president
(2) 北京“不急于与台湾政治军事对话”. BBC Chinese, Oct. 20, 2010.
http://www.bbc.co.uk/zhongwen/simp/china/2010/10/101020_china_taiwan_political.shtml
(3) 台湾出面澄清马英九敏感谈话内容. BBC Chinese, Oct. 20, 2010.
http://www.bbc.co.uk/zhongwen/simp/china/2010/10/101020_taiwan_ma.shtml
Note: 美聯社專訪總統報導與答覆原文對照. Office o... 阅读全帖
p******s
发帖数: 582
5
【 以下文字转载自 DealGroup 俱乐部 】
发信人: wiiRhappy (wiiRhappy), 信区: DealGroup
标 题: 【$】Blackberry playbook buy 2 get 1 free on select retailer
发信站: BBS 未名空间站 (Thu Oct 27 20:20:53 2011, 美东)
HI ALL! I just got an email from blackberry to their business customers from
now through DEC 31,2011. You can get a buy 2 get 1 free promotion for
blackberry playbook from select retailers.
link: Link:
http://us.blackberry.com/business/playbook/?RMID=B2B_201110_PB_
I checked the price on pcmall, and its $352 for the 16g... 阅读全帖
f****6
发帖数: 4472
6
For a limited time only, Southwest Airlines Rapid Rewards® and TurboTax
® have teamed up to bring you a special offer where you can earn Rapid
Rewards Points just for filing your taxes with TurboTax® Online. File
your 2012 tax return with any TurboTax Online Federal product1 by April 15,
2013 and earn 1,000 points. Get your maximum refund, guaranteed2, and Rapid
Rewards Points!
link: https://rapidrewardsshopping.southwest.com/me____.htm?mids=2542&RMID=L
_20130103_RREU_TurboTax_V... 阅读全帖
m**o
发帖数: 5261
7
来自主题: SanDiego版 - 在San Diego哪里买水果便宜
偶已Sign In.是看到一些
coupon没看到10 off 30的呢
https://www.worldmarketexplorer.com/offers/?utm_medium=email&utm_source=
wmenl&utm_campaign=wk38&utm_content=coupon&RMID=20111017_WK38_WME_NL_10off30
&RRID=35533540#offer-top
h*******3
发帖数: 327
8
家有小朋友的爸爸妈妈可以考虑...
俺家的才一岁半, 太小了些...
N年前看过一次, 还是适合小朋友看...
June 3 - 27, Kooza
http://www.cirquedusoleil.com/en/shows/kooza/tickets/seattle.aspx
Sometime in Sep, Alegria
http://www.cirquedusoleil.com/en/shows/alegria/tickets.aspx?rmid=20100408_NewsletterUSCA_EN&rrid=25fc0563-066e-4b37-8ed0-727e18638702
票价相差很大, 我以前买的是premium, 进去才发现地方不大, 其实买便宜的票一样看
得清楚... 当然, 想让小朋友坐第一排, 和台上有互动, 那就买最最贵的好了...
S********t
发帖数: 3431
9
趁southwest有deal,打算计划一次ski trip
http://www.southwest.com/html/promotions/black-friday.html?RMID
还从来没有ski trip过,求推荐西部地区雪场!
想在某个星期的星期五出发,星期天回,希望:
雪场离机场近,租车好开
周末人别太多
旅馆在雪场内/边上
(ski only的也行)
CO貌似听说机场离雪场挺远的,UTAH好像好些?
谢谢阿!
p******r
发帖数: 216
10
收到Cirque du Soleil 的邮件,说25周年庆,buy one get one 25$,包括O, KA,
LOVE, 等等。May 11 到Oct 31。Visit
http://www.cirquedusoleil.com/CirqueDuSoleil/en/LasVegas/summerPromo.htm?rmid=20090519_Vegas_News_EN&rrid={13D9135A-87E9-4037-9602-3CAB27DA6BC8}
或者打预定电话:866-998-4830,要说code: SUMMER。
个人觉得还可以,165刀原价,打完折两个人每人90来块钱,最便宜票打完折的60来刀
。不过打预定电话问问后,感觉这个Promotion里给的票位置不太好,都是些边边角角
,要么就是太靠前了,可能不同的时间也不同吧。可以打电话预定,网上直接出来的都
是位置不太好的票。
h*******g
发帖数: 10585
a***u
发帖数: 14
12
来自主题: Unix版 - 什么时候做shmctl(IPC_RMID)
我有几个独立的process, 他们share一个mem seg。 他们可能run concurrently,也可能
run sequentially。我应该怎样判断什么时候做RMID,在哪一个process做呢?
Thanks.
w*******y
发帖数: 60932
13
Halloween sale direct from Epson. This normally sells for $81 direct, which
is what I paid back in June.
Link:
http://www.epson.com/cgi-bin/Store/consumer/consDetail.jsp?oid=63087442&infoType=Accessories&RMID=20101027_Halloween_72-Hour_SaleA&RRID=1011164552
w*******y
发帖数: 60932
14
来自主题: _DealGroup版 - 【$】Pacsun free shipping 11/5 11/7
11-5 until 11-7 free shipping no codes needed.
Link:
http://shop.pacsun.com/home.jsp?rmid=11_04_2010_FSO&rrid=388320378&XCID=E:0001017
w*******y
发帖数: 60932
15
LINK:
http://www.foxconnect.com/special-offers.html?utm_source=eblast_11_16_2010&utm_medium=email&utm_term=Nav_SpecialOffers&utm_campaign=avatarextended_gleekgift_sunnygift&rmid=fc_Avatar_Extended&rrid=w*********[email protected]
Time to add to your Blu-ray collection
This Carpenter classic is only $8.99
and if you sign up to Fox Connect
(simple login name and email address) you get 10%
off your entire order plus free shipping!
2 Movies! 1 Price! Bluray + DVD
Featuring Other movies combos at this ... 阅读全帖
w*******y
发帖数: 60932
w*******y
发帖数: 60932
17
Under Armour is having a sale with items up to 75% off.
Link:
http://www.underarmour.com/shop/us/en/outlet?RMID=6_24_11_Clear
they are also offering free shipping on everthing on the site with no
minimum. code : FVB7FDKTZ
w*******y
发帖数: 60932
18
HI ALL! I just got an email from blackberry to their business customers from
now through DEC 31,2011. You can get a buy 2 get 1 free promotion for
blackberry playbook from select retailers.
link: Link:
http://us.blackberry.com/business/playbook/?RMID=B2B_201110_PB_
I checked the price on pcmall, and its $352 for the 16gb which would bring
it down to $230 each.
w*******y
发帖数: 60932
19
3 days only..
This is great for anyone who's going to make a big purchase at a store like
Target. Let's say you buy a tv for $1,000.. that's 6,000 points, enough for
2 trips to Vegas for me =).
Link:
https://rapidrewardsshopping.southwest.com/promo____.htm?chan=c&med=em&cont=
em0312&RMID=L_120329_RREU_RRShopping&RRID=ZHlsYW4uaHBAaG90bWFpbC5jb20.&src=
MAILRRDUPDT00000A120329
There are many other stores as well.
(共0页)