如果想在 V2EX 获得更好的推广效果,欢迎了解 PRO 会员机制:
https://www.v2ex.com/pro/about

如果你经常使用铜币置顶主题,持有 V2EX Solana Token 会在每日签到时获得额外铜币:
https://www.v2ex.com/solana
Chat
V2EX  ›  推广

送 10 本 GitChat 精品专栏 + 10 个 价值 199 GitChat 会员 | GitChat 1024 活动

  •  
  •   Chat · Oct 22, 2019 · 11126 views
    This topic created in 2572 days ago, the information mentioned may be changed or developed.

    抽奖规则

    形式: 评论

    规则: 一人只能中一件奖品

    截止日期: 2019 年 10 月 24 日 10:40

    抽奖: 从回复楼层中随机抽取,中奖结果会以附言形式公布于本帖,并 @ 各位中奖用户,可以先买,已买用户会进行退款,先抽专栏,再抽会员。

        function createRandom(num,from,to)
        {
            var arr=[]; 
            var json={};  
            while(arr.length<num)
            {
                var ranNum=Math.round(Math.random()*(to-from))+from;
                if(!json[ranNum])
                {
                    json[ranNum]=1;
                    arr.push(ranNum); 
                }
            }
            return arr;
        }
        
        createRandom(10,0,回复楼层) //抽奖
    

    代码来源:源码

    活动

    GitChat 1024 所有技术专栏五折,仅限最后一天

    该活动解释权归 GitChat 所有。

    Supplement 1  ·  Oct 27, 2019
    Supplement 2  ·  Oct 27, 2019
    专栏:@yuerjiajia、 @BBrother、 @diyazhu、 @Chat、 @HFX3389、 @bxb100、 @santom、 @CodeEncryption、 @shadowfkill、 @lixingcai

    会员:@dave4one、 @dreampuf、 @lands、 @berserkerXu、 @whp404、 @pigcandance、 @zerozz、 @twttwt、 @xishijt、 @wbf1013

    以上同学私聊 V2 主页截图给微信 gitchatty7 即可领取。
    257 replies  •  2019-10-24 22:28:16 +08:00
    1  2  3  
    ❮ ❯
    akakidz
    akakidz
    Oct 22, 2019
    1
    来了来了
    xiaoxinwan
    xiaoxinwan
    Oct 22, 2019
    2
    增加一条评论
    memedahui
    memedahui
    Oct 22, 2019
    3
    万一呢
    jeymingwu
    jeymingwu
    Oct 22, 2019
    4
    啊哈
    zhuzhibin
    zhuzhibin
    Oct 22, 2019 via iPhone
    5
    冲
    zhuawadao
    zhuawadao
    Oct 22, 2019
    6
    就我了
    bxb100
    bxb100
    Oct 22, 2019 via Android
    7
    分母来了🥺
    GeekHao
    GeekHao
    Oct 22, 2019
    8
    111
    qiubaowei
    qiubaowei
    Oct 22, 2019
    9
    来了来了
    gg3015
    gg3015
    Oct 22, 2019
    10
    来来来了
    sx1huoying
    sx1huoying
    Oct 22, 2019
    11
    冲冲冲
    EZVIK
    EZVIK
    Oct 22, 2019
    12
    中了吃
    pigcandance
    pigcandance
    Oct 22, 2019
    13
    我是锦鲤
    d8txc
    d8txc
    Oct 22, 2019 via Android
    14
    吃了么
    isnowify
    isnowify
    Oct 22, 2019
    15
    分母
    some3284
    some3284
    Oct 22, 2019
    16
    冲冲冲
    ares586
    ares586
    Oct 22, 2019
    17
    lei 了 lei 了
    Rcnaec
    Rcnaec
    Oct 22, 2019
    18
    冲冲冲
    xpfd
    xpfd
    Oct 22, 2019
    19
    冲冲冲
    Chat
    Chat
    OP
    Oct 22, 2019
    20
    @bxb100 感谢感谢
    Chat
    Chat
    OP
    Oct 22, 2019
    21
    @memedahui 万一就能中了!
    Stoulla
    Stoulla
    Oct 22, 2019
    22
    增加分母
    xiaowangge
    xiaowangge
    Oct 22, 2019
    23
    V2EX 官方,要是有抽奖、投票类的功能就方便了
    xinyewdz
    xinyewdz
    Oct 22, 2019
    24
    来了。搞一波。
    Chat
    Chat
    OP
    Oct 22, 2019
    25
    @xiaowangge 期待,这样也方便一些。
    yumenawei
    yumenawei
    Oct 22, 2019
    26
    中奖率--
    Leonard
    Leonard
    Oct 22, 2019
    27
    试试运气
    ittianyu
    ittianyu
    Oct 22, 2019
    28
    来了
    lleppa
    lleppa
    Oct 22, 2019
    29
    中会员吧,那个比较划算
    Chat
    Chat
    OP
    Oct 22, 2019
    30
    @lleppa 可以可以
    L5411
    L5411
    Oct 22, 2019
    31
    分母+1
    caowei922
    caowei922
    Oct 22, 2019
    32
    来了,来了,我是分子
    mlhadoop
    mlhadoop
    Oct 22, 2019
    33
    来了老弟
    blueram
    blueram
    Oct 22, 2019 via iPhone
    34
    不错不错
    haoji
    haoji
    Oct 22, 2019 via iPhone
    35
    分母一枚
    Elethomdog
    Elethomdog
    Oct 22, 2019
    36
    摸奖
    loading
    loading
    Oct 22, 2019 via Android
    37
    楼主,你这个抽奖代码是开源了,但并不代表方法公正。因为没直播,下次建议用例如某股票收市场价格这些东西进行计算。
    1358208301
    1358208301
    Oct 22, 2019 via Android
    38
    来了来了
    hanhuoer
    hanhuoer
    Oct 22, 2019
    39
    哈哈,抽个奖
    TeslaLyon
    TeslaLyon
    Oct 22, 2019
    40
    支持支持!!!
    sytnishizuiai
    sytnishizuiai
    Oct 22, 2019
    41
    你们的专栏有点少,昨天收到推送打折就买了个会员,加油!
    Aura7988
    Aura7988
    Oct 22, 2019
    42
    试一下。
    johnnyho
    johnnyho
    Oct 22, 2019 via iPhone
    43
    增加一个分母
    SphaelaClare
    SphaelaClare
    Oct 22, 2019 via Android
    44
    分母 +1
    idaylily
    idaylily
    Oct 22, 2019
    45
    中奖绝缘体
    Chat
    Chat
    OP
    Oct 22, 2019
    46
    @loading 行,下次上新专栏我来试试这个,非常感谢!
    Chat
    Chat
    OP
    Oct 22, 2019
    47
    @sytnishizuiai 哈哈,感谢感谢,专栏已经筹备了不少,接下来会上 SQL + Netty 的,后续还有算法的专栏哈。
    pogui
    pogui
    Oct 22, 2019
    48
    支持支持
    tonyai
    tonyai
    Oct 22, 2019
    49
    冲冲冲
    huangyuan413026
    huangyuan413026
    Oct 22, 2019
    50
    分母 +1
    lachesis
    lachesis
    Oct 22, 2019 via iPhone
    51
    万一呢
    NicholasYX
    NicholasYX
    Oct 22, 2019
    52
    分母+1
    lvsoso
    lvsoso
    Oct 22, 2019
    53
    万一呢
    FlyingDough
    FlyingDough
    Oct 22, 2019
    54
    分母加一
    xishijt
    xishijt
    Oct 22, 2019
    55
    分母+1
    allenwuli
    allenwuli
    Oct 22, 2019
    56
    ???
    should
    should
    Oct 22, 2019
    57
    试试呗
    Willie4582
    Willie4582
    Oct 22, 2019
    58
    组成分母啦!
    killeder
    killeder
    Oct 22, 2019
    59
    分子
    jaclla
    jaclla
    Oct 22, 2019
    60
    分母!
    ltrans
    ltrans
    Oct 22, 2019
    61
    欧吃矛
    loveeatdog123
    loveeatdog123
    Oct 22, 2019
    62
    我来了。黑手!
    hhyyd
    hhyyd
    Oct 22, 2019
    63
    (*^▽^*)分母~
    yinian
    yinian
    Oct 22, 2019
    64
    分子
    daimazha
    daimazha
    Oct 22, 2019
    65
    分母+1
    chuhemiao
    chuhemiao
    Oct 22, 2019
    66
    gitchat
    Chennyh
    Chennyh
    Oct 22, 2019 via iPhone
    67
    来了来了
    54yinhang
    54yinhang
    Oct 22, 2019
    68
    来了来了
    zerozz
    zerozz
    Oct 22, 2019
    69
    分子来了
    HFX3389
    HFX3389
    Oct 22, 2019
    70
    let it go!
    justin2018
    justin2018
    Oct 22, 2019
    71
    分母来了~~~
    Tenma
    Tenma
    PRO
    Oct 22, 2019
    72
    高级会员支持一波
    adamwym
    adamwym
    Oct 22, 2019
    73
    来做分母了
    littlerainer
    littlerainer
    Oct 22, 2019 via Android
    74
    冲冲冲!
    twttwt
    twttwt
    Oct 22, 2019
    75
    来了来了
    xiethan
    xiethan
    Oct 22, 2019
    76
    loading
    justin2018
    justin2018
    Oct 22, 2019
    77
    @Chat 这个样式是不是有点问题 o(╯□╰)o

    achenme
    achenme
    Oct 22, 2019
    78
    分母来了~~~
    balaWgc
    balaWgc
    Oct 22, 2019
    79
    我来康康
    diyazhu
    diyazhu
    Oct 22, 2019
    80
    来了来了
    dinjufen
    dinjufen
    Oct 22, 2019
    81
    pending...
    ZeroKill
    ZeroKill
    Oct 22, 2019
    82
    分子 10086
    young4u
    young4u
    Oct 22, 2019
    83
    我来组成分母
    alanv2
    alanv2
    Oct 22, 2019
    84
    分母+1
    alanv2
    alanv2
    Oct 22, 2019
    85
    多刷一个概率能大点吗
    zhenxian
    zhenxian
    Oct 22, 2019
    86
    分母+1
    leehung
    leehung
    Oct 22, 2019 via iPhone
    87
    来了
    sanqian
    sanqian
    Oct 22, 2019
    88
    万一呢?
    YIFZ
    YIFZ
    Oct 22, 2019
    89
    自愿当份子
    lingdong
    lingdong
    Oct 22, 2019
    90
    分母加 1
    lcjqq99
    lcjqq99
    Oct 22, 2019
    91
    拉低中奖概率
    mmqmyy
    mmqmyy
    Oct 22, 2019
    92
    分母
    pangleon
    pangleon
    Oct 22, 2019
    93
    还真没看过这边的课程 不知道水平怎么样
    whatever1992
    whatever1992
    Oct 22, 2019
    94
    分母
    tsingwong
    tsingwong
    Oct 22, 2019
    95
    来了来了。分母来了
    frandy
    frandy
    Oct 22, 2019
    96
    试试看
    ryuutanyou
    ryuutanyou
    Oct 22, 2019
    97
    我来组成坟墓
    mlc880926
    mlc880926
    Oct 22, 2019
    98
    增加一条评论
    bao6211830
    bao6211830
    Oct 22, 2019
    99
    分母分母
    santom
    santom
    Oct 22, 2019
    100
    分母
    1  2  3  
    ❮ ❯
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5650 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 367ms · UTC 02:33 · PVG 10:33 · LAX 18:33 · JFK 21:33
    ♥ Do have faith in what you're doing.