双色球防真开奖分析源码[部分]

双色球防真开奖分析源码[部分]

工作缘故在做双色球完全防真的网上玩法  这两天一直在搞比较头痛的复式投注的号码和开奖号码的各个奖项的中奖组数的问题,涉及到了大学里学到的排列组合的东西,虽然忘得差不多了,但总算出来了,拿出来给大家一起研究一下

<!--#include file="conn.asp"-->
<%
ch_end="01|02|03|04|05|06"
bl_end="01"
a1=mid(ch_end,1,2)
a2=mid(ch_end,4,2)
a3=mid(ch_end,7,2)
a4=mid(ch_end,10,2)
a5=mid(ch_end,13,2)
a6=mid(ch_end,16,2)

sql="select * from x_ssq"
set rs=conn.execute (sql)
if not rs.eof then
while not rs.eof

  ch=rs("ch")
  
  if InStr(ch,a1)<>0 then
  h1=h1+1
  else
  h1=h1
  end if
  
  if InStr(ch,a2)<>0 then
  h1=h1+1
  else
  h1=h1
  end if
  
  if InStr(ch,a3)<>0 then
  h1=h1+1
  else
  h1=h1
  end if
  
  if InStr(ch,a4)<>0 then
  h1=h1+1
  else
  h1=h1
  end if
  
  if InStr(ch,a5)<>0 then
  h1=h1+1
  else
  h1=h1
  end if
  
  if InStr(ch,a6)<>0 then
  h1=h1+1
  else
  h1=h1
  end if
  
  bl=rs("bl")
  
  if InStr(bl,bl_end)<>0 then
  b1=1
  else
  b1=0
  end if
  
  i=rs("i")
j=rs("j")

if rs("action1")=1 or rs("action1")=2 then
if h1=6 and b1=1 then
sql="update x_ssq set j1=1 where id="&rs("id")

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值