loblongkid
发表于 2009-7-26 23:12
亏掉了12么
lucky
timestrom 发表于 2009-7-26 23:09 http://www.ivemusic.net/images/common/back.gif
万恶任务啊~有亏没赚
我真想看到有人开10次每次都赚的
leonhardt
发表于 2009-7-26 23:14
只要你錢多 這點損失無所謂
Colleen
发表于 2009-7-26 23:15
- - 继续努力水~! 8888 不是梦!
loblongkid
发表于 2009-7-26 23:15
只要你錢多 這點損失無所謂
leonhardt 发表于 2009-7-26 23:14 http://www.ivemusic.net/images/common/back.gif
。。。我才200多存在而已~~~
灰飞烟灭
发表于 2009-7-26 23:16
那个基本稳赔的
除非你RP好
anchfiend
发表于 2009-7-26 23:17
亏掉了12么
lucky
timestrom 发表于 2009-7-26 23:09 http://www.ivemusic.net/images/common/back.gif
想說similate 15000000次之後的結果是只有6.74%有賺,15.6%賠10點以下,26.2賠20以下...
leonhardt
发表于 2009-7-26 23:17
YA什么統計
中微小
发表于 2009-7-26 23:18
赌局总是庄家赢,这是不变的定律……
anchfiend
发表于 2009-7-26 23:19
只要你錢多 這點損失無所謂
leonhardt 发表于 2009-7-26 23:14 http://www.ivemusic.net/images/common/back.gif
這個的確是...
anchfiend
发表于 2009-7-26 23:19
赌局总是庄家赢,这是不变的定律……
中微小 发表于 2009-7-26 23:18 http://www.ivemusic.net/images/common/back.gif
不是總的
這次乃有7%機會赢
灰飞烟灭
发表于 2009-7-26 23:19
想說similate 15000000次之後的結果是只有6.74%有賺,15.6%賠10點以下,26.2賠20以下...
anchfiend 发表于 2009-7-26 23:17 http://bbs.ivemusic.net/images/common/back.gif
乃这个是怎么算出来的
anchfiend
发表于 2009-7-26 23:21
乃这个是怎么算出来的
灰飞烟灭 发表于 2009-7-26 23:19 http://www.ivemusic.net/images/common/back.gif#include <iostream>
#include <ctime>
using namespace std;
int main(){
int count = 0, total;
double gain = 0, lost1 = 0, lost2 = 0;
srand(time(0));
for(int i=0; i<15000000; i++){
total = 0;
for(int j=0; j<10; j++)
total += rand() % 15 + 1;
count++;
if(total > 100)
gain += 1;
else
if(total > 90)
lost1 += 1;
else
if(total > 80) lost2 += 1;
}
cout << gain / count * 100 << ' ' << 100 * lost1/count << ' ' << 100* lost2/count << endl;
return 0;
}
隨手寫來算的
timestrom
发表于 2009-7-26 23:21
想說similate 15000000次之後的結果是只有6.74%有賺,15.6%賠10點以下,26.2賠20以下...
anchfiend 发表于 2009-7-26 23:17 http://www.ivemusic.net/images/common/back.gif
用概率算么……
loblongkid
发表于 2009-7-26 23:22
15000000次。。。
我们只有100负重,也就是说买“那个”的次数15000000/3=5000000次,而每买一个就花掉10,也就是光买“那个”都花掉了50000000(自己看好“0”哦)
乃可真有米啊~
thekop
发表于 2009-7-26 23:22
{:neko_02:}隨手寫........
布丁
anchfiend
发表于 2009-7-26 23:23
用概率算么……
timestrom 发表于 2009-7-26 23:21 http://www.ivemusic.net/images/common/back.gif
當然是無敵的bull force
timestrom
发表于 2009-7-26 23:23
#include
#include
using namespace std;
int main(){
int count = 0, total;
double gain = 0, lost1 = 0, lost2 = 0;
srand(time(0));
for(int i=0; i 90)
lost1 += 1;
else
...
anchfiend 发表于 2009-7-26 23:21 http://www.ivemusic.net/images/common/back.gif
于是 12便是很不错了
anchfiend
发表于 2009-7-26 23:24
{:neko_02:}隨手寫........
布丁
thekop 发表于 2009-7-26 23:22 http://www.ivemusic.net/images/common/back.gif
太久沒寫過基本上荒廢了
loblongkid
发表于 2009-7-26 23:24
#include
#include
using namespace std;
int main(){
int count = 0, total;
double gain = 0, lost1 = 0, lost2 = 0;
srand(time(0));
for(int i=0; i 90)
lost1 += 1;
else
...
anchfiend 发表于 2009-7-26 23:21 http://www.ivemusic.net/images/common/back.gif
原来如此~
C语言~熟悉的面孔~哈哈~
timestrom
发表于 2009-7-26 23:25
當然是無敵的bull force
anchfiend 发表于 2009-7-26 23:23 http://www.ivemusic.net/images/common/back.gif
那边的东西不清楚
这边只知道maple和mathematica和matlab……
然后我样样稀松