config root man

Current Path : /home/design/public_html/

Linux rs105.nsresponse.com 3.10.0-614.10.2.lve1.4.55.el7.x86_64 #1 SMP Tue Jun 20 08:59:12 EDT 2017 x86_64
Upload File :
Current File : /home/design/public_html/random2.php

<?php
$p=0; // pierdere
$pt=0; // pierdere totala
$cb=0; // castig brut pas
$cn=0; // castig net pas
$cg=0; // castig global

$ppp=0.2;// investitie pas

$ip=$ppp; // investitie pas

$it=0; // investitie totala

$m=22; // sansa 1/
$i=1; // Numar incercari
$j=1; // Numar incercari pana obtinem rezultatul asteptat
$j2=1; // j2 merge in paralel cu j pana la prima pierdere



while ($i<=1000) {

$r=mt_rand(1,$m);
$it=$it+$ip;
echo $i." .... ".$r."  ______ investitie pas ".$ip." ______ investitie totala ".$it;
$ip=$ip*2;

if ($j2==9 AND $r!=$m) { 
$p=$it;  
echo "<span style='color:#F00'> PIERDERE ".$p."</span>";
$pt=$pt+$p;
$ip=$ppp;
$it=0;
$j2=0;
}

if ($r==$m){
$cb=($ip*3)/2;
$cn=$cn+$cb-$it;
echo " __ castig pas ".$cb." ___ castig total ".$cn." _____ (".$j.")";
$j=0;
$j2=0;
$ip=$ppp;
$it=0;
$cg=$cg+$cn;
$cb=0;
$cn=0;
}

echo "<br />";

$j++;
$j2++;
$i++;
}
echo "<br /><br />PIERDERE TOTALA: ".$pt."<br />CASTIG GLOBAL BRUT (fara pierdere): ".$cg."<br /><br />CASTIG GLOBAL NET: ".($cg-$pt);

?>

Man Man