由买买提看人间百态

topics

全部话题 - 话题: shou3
1 (共1页)
j***u
发帖数: 836
1
要交CS作业、小project什么的同学有福了。抄抄我这个就可以对付了。
为了看清楚电脑是怎么发牌的,我用Perl语言编了以下这个小程序。
不会编程的同学,只要在自己电脑上安装有Perl(可以免费下载和安装,3分钟的事,见
后),就可以运行我的程序玩。
这个程序的核心在于$random_number = int(rand(34));
搞到1个在0和33之间的伪随机数。然后根据0到33各代表哪张麻将牌发出麻将。
程序先用了时间作种子。
$seed = time();
srand($seed);
根据网上资料,Perl的srand不可在循环里反复被call,否则反而带来重复。
用Windows的同学,先在右下角Start的命令里打cmd(或All Programs>Accessaries>
Command Promopt)打开Command窗口,打Perl -v看看有无Perl程序。没有的话google "
how to install Perl"之类。我建议免费下载并安装ActivePerl,然后copy & paste我
以下的源程序到1个text editor比如Notepad或Wo... 阅读全帖
b**********2
发帖数: 1923
2
来自主题: NewYork版 - After the market close
... shou3 ba3 shou3?
k****n
发帖数: 8684
3
u r ebiz/flea "Tie3 Shou3 Pan4 Guan1"
I like your style, and I am really "Pa4 Pa4" you.
hehe
=======================================
kinson,您好:
您转给 D1200,现金(伪币):130,收取手续费:1.3
同时附加了如下留言给 D1200.
hehe
s*********t
发帖数: 16647
4
obviously, the last question u asked suggested u didn't even KaoGu
so my last post is not for you, just to suggest to other old cops u don't
deserve the help because u r a "Shen1 Shou3 Dang3"
simple, period
GL
x****g
发帖数: 796
5
来自主题: PennySaver版 - 10 off 10 Kohls coupon valid at Newark store?
Xin1 Shou3
T*****n
发帖数: 18811
6
昨天听个词儿,读音好像也是两岸有差异?
“教唆”,唆,大陆这边读suo1,缩的音;听一位台湾人读shou3还是sou3,首或叟的音
是不是这样啊?
f**e
发帖数: 1269
7
来自主题: Alabama版 - 2025
zi4 ji3 dong4 shou3, feng1 yi1 zu2 shi2
this will be the way I water in the coming months. wahaha
s**********n
发帖数: 2601
8
来自主题: Chicago版 - 宫心计2出了
na you 兔子打西瓜 连 de zen3 me yang4 le?
next time we compete bah, dont take shou3 zhi3 back home again le, wa
kakakaka
s**********n
发帖数: 2601
9
来自主题: Chicago版 - 这是什么动物?
ai ya, last time 你came to 我家玩. u lost the game and "won" lots of shou3纸
, not 草纸. why 你 fei1 xian1 so often recently ya? miss me too much??
k********a
发帖数: 7225
10
来自主题: NewJersey版 - 我觉得
No, no, no! Bu4 yao4 shou3!
Hia hia!
j**4
发帖数: 10425
11
来自主题: NewYork版 - 写给 ja94 beefcurtain0的一封信
ni3 zuo3 you4 shou3 hu4 buo2 de ji4 shu4, bu4 cuo4
T********e
发帖数: 8631
12
ji3 shou3 huo4
j**4
发帖数: 10425
13
来自主题: NewYork版 - huaren
is occupied by 90 hou4?? sheng1 huo2 na4 ge4 luan4 ah... du2 shou3 ye4 de
da4 keng1 you3 gan3
j**4
发帖数: 10425
14
来自主题: NewYork版 - 这下买什么手机好?
zheng1 tmd po2 po2 ma1 ma1. mai3 ge4 shou3 ji1 ye3 yao4 zhe4 me jjww
N****D
发帖数: 217
15

hoho, I think you can only get up to 3 points considering he and Sam
are ranked as #3 in USA men double. Well, good try and you can
improve if you can get more chances to play with him. He used to
play mixed double with Yeping in DC open. Now you get 2 famous coaches,
Yeping and Vincent. Hopefully you will become a GAO1 SHOU3 in a
year or two.
d****r
发帖数: 2912
16
I think 谢军的形象 is not 实在惨 ya.
"大嫂形象" she is 30 le.

select beauty me? :))
Deng yi1 chu1 ma3,
xian1 ba3 dou4 shou3 xia4 san3 tiao4,
then easy to win le. :))
Fox might eat potato. ;)
s******e
发帖数: 1985
17
W Xian1 Shou3 Ti4, strong Wai4 Shi4, B big failure.
j***u
发帖数: 836
18
再看下面这把牌,起手大家对子都不多(最多的才俩对),但是后面打到一半,C不打
错1张的话,已经可以自摸7对,如果黄庄,最后各人能分别能抓7,7,11,9对。
从发牌连续性看:70和71连来俩张南风,然后仅隔1张,第73张又是南风;
87和88的连续的来1条;
98和99的9饼;
115和116的1饼,仅隔1张118又来1张;
121和122的7万,之前仅隔1张199也是7万;
134到136最后3张连着3张8条。
At start (Qi3 Shou3)
--------------------------------------------
A: Zhong|Fa|East|North|North|2_Wan|2_Tiao|3_Tiao|5_Tiao|6_Tiao|7_Tiao|9_Tiao
|4_Bing|9_Bing|
B: Zhong|North|2_Wan|3_Wan|5_Wan|9_Wan|1_Tiao|5_Tiao|7_Tiao|9_Tiao|4_Bing|5_
Bing|9_Bing|
C: East|South|3_Wan|3_Wan|5_Wan|6_Wan|2_Ti... 阅读全帖
j***u
发帖数: 836
19
再贴1个,这把分析特定玩家连抓牌:
A在105和109连抓俩张南风(注意A在96张后已经4对了,丢了第5对会很心疼);
接着不久,A在117和121连抓俩张7条(前面隔1张115时候,C也抓了7条)。
At start (Qi3 Shou3)
--------------------------------------------
A: 2_Wan|6_Wan|7_Wan|9_Wan|1_Tiao|3_Tiao|6_Tiao|3_Bing|5_Bing|6_Bing|6_Bing|
6_Bing|8_Bing|8_Bing|
B: Fa|Bai|6_Wan|7_Wan|8_Wan|8_Wan|2_Tiao|6_Tiao|9_Tiao|1_Bing|3_Bing|4_Bing|
8_Bing|
C: East|South|North|1_Wan|4_Wan|7_Wan|7_Wan|3_Tiao|9_Tiao|4_Bing|5_Bing|7_
Bing|8_Bing|
D: Zhong|West|3_Wan|6_Wan|6_Wan|8_Wan|9_Wan|1_Tiao|5_Tiao|5_T... 阅读全帖
j***u
发帖数: 836
20
At start (Qi3 Shou3)
--------------------------------------------
A: North|2_Wan|2_Wan|3_Wan|4_Wan|9_Wan|5_Tiao|7_Tiao|8_Tiao|8_Tiao|9_Tiao|3_
Bing|5_Bing|6_Bing|
B: East|West|North|5_Wan|5_Wan|8_Wan|2_Tiao|4_Tiao|6_Tiao|7_Tiao|4_Bing|4_
Bing|7_Bing|
C: Fa|Bai|East|West|3_Wan|7_Wan|1_Tiao|5_Tiao|3_Bing|4_Bing|6_Bing|7_Bing|8_
Bing|
D: Fa|2_Wan|8_Wan|8_Wan|1_Tiao|2_Tiao|3_Tiao|3_Tiao|8_Tiao|9_Tiao|2_Bing|3_
Bing|3_Bing|
Number of pairs so far (2+ same mahjongTiles)
-------------------------------... 阅读全帖
j***u
发帖数: 836
21
At start (Qi3 Shou3)
--------------------------------------------
A: Zhong|Bai|East|West|5_Wan|8_Wan|2_Tiao|4_Tiao|7_Tiao|3_Bing|5_Bing|5_Bing
|6_Bing|7_Bing|
B: Fa|3_Wan|3_Wan|4_Wan|6_Wan|3_Tiao|4_Tiao|5_Tiao|8_Tiao|9_Tiao|5_Bing|6_
Bing|8_Bing|
C: Fa|South|West|1_Wan|2_Wan|4_Wan|4_Wan|6_Wan|7_Wan|3_Tiao|7_Tiao|1_Bing|2_
Bing|
D: South|4_Wan|7_Wan|7_Wan|8_Wan|1_Tiao|2_Tiao|3_Tiao|5_Tiao|7_Tiao|8_Tiao|5
_Bing|9_Bing|
Number of pairs so far (2+ same mahjongTiles)
---------------------------------... 阅读全帖
j***u
发帖数: 836
22
At start (Qi3 Shou3)
--------------------------------------------
A: Fa|South|South|North|North|2_Wan|5_Wan|5_Wan|3_Tiao|3_Tiao|1_Bing|6_Bing|
8_Bing|9_Bing|
B: Fa|4_Wan|8_Wan|8_Wan|3_Tiao|5_Tiao|7_Tiao|8_Tiao|8_Tiao|8_Tiao|9_Tiao|7_
Bing|8_Bing|
C: Fa|Fa|West|1_Wan|2_Wan|5_Wan|7_Wan|7_Wan|8_Wan|2_Tiao|5_Tiao|3_Bing|7_
Bing|
D: Bai|East|East|South|3_Wan|8_Tiao|9_Tiao|3_Bing|5_Bing|6_Bing|6_Bing|7_
Bing|8_Bing|
Number of pairs so far (2+ same mahjongTiles)
----------------------------------------... 阅读全帖
P*****a
发帖数: 2464
23
来自主题: Running版 - 为什么大家不买620?
xixi, female is correct, gao1 shou3 is wrong - in the process of training an
d hopefully moving towards gao shou direction in the new year! :-)
Really hope i can type Chinese in Cterm on my work computer (oh well, my onl
y computer) - anyone knows how to do that without the need to change the ent
ire system to Chinese settings?
t*******f
发帖数: 2634
24
Qiao4 shou3 qi3 pan4...
y*m
发帖数: 102
25
来自主题: TVChinese版 - where to watch Shou3 Ji1?
I couldn't find them on either PPS or PPTV? Thanks.
m****g
发帖数: 988
l*********e
发帖数: 7492
27
来自主题: TVChinese版 - where to watch Shou3 Ji1?
看不了呀
m****g
发帖数: 988
28
来自主题: TVChinese版 - where to watch Shou3 Ji1?
奇怪咧,我点开可以看的啊,你不能看youtube吗?
m*******o
发帖数: 4179
29
来自主题: MiddleSchool版 - 7月19号题
shi1 shou3 le
h*i
发帖数: 27
30
来自主题: Literature版 - Depth & Reality-Re: 所谓困难
It seems that almost everyone knows Marques's
"One Hundred Years of Solitude".
Somehow sadness literature expresses could be very deep.
Very often it conveys what we are really concerned for the
problems of human beings or the society, e.g. Kafka's work.
Reality has its cruel side, but also has its bright side.
From another point of view, we also need more lively
work to keep the balance. I recalled a paragraph in
Bai2 Xian1 Yong3's "Mu4 Ran2 Hui2 Shou3"(白先勇 "蓦然回首"),
as pasted below.
后来又在文学杂志上继续
p*******o
发帖数: 5060
31
xiao3 shou3 bing1 liang2
h*****t
发帖数: 395
32
来自主题: XMU版 - Re: admire

~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
So sweet. Pai1 ma3 pi4 gao1 shou3!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Wow, I don't know anything about "这些老掉牙的招式".
Only heard that you are always good at them.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ He couldn't be better now.
w***e
发帖数: 232
33
来自主题: Jiangsu版 - 小龙虾。
shou3 biao3 ren2
but I like this one more, hehe
c*****r
发帖数: 1
34
there is a software called Guang3 Gao4 Sha1 Shou3. Can got from website in C
hina
L*****r
发帖数: 722
35
来自主题: MedicalCareer版 - insulin for pt on Vent without h/o DM
Very interesting topic. Seems most of the trials are on critical illness
Patients, not so specific as mentioned in the above case, but any way let’s
start from quoting the Holy Bible, or Chairman Mao, or wei3 Zuo4 Shou3 Yu4,
whatever. Here comes the Uptodate:
1. Summary — In mixed populations of critically ill medical and surgical
patients, IIT (Intensive Insulin Theray, target blood glucose of 80 to 110
mg/dL [4.4 to 6.1 mmol/L]) increased the incidence of severe hypoglycemia
and either increas
s**g
发帖数: 3271
36
来自主题: _PerfectMoms版 - 烟姨烟姨!
仰慕 me too bah
I can do 倒立 ah, cartwheel ah, qian2 shou3 fan1 etc when I was young :P
1 (共1页)