Skip to content
View lepig's full-sized avatar
🎯
Focusing
🎯
Focusing
  • Global

Block or report lepig

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. fibonacci.go fibonacci.go
    1
    func fibonacci() func() int {
    2
    	a, b := -1, 1
    3
    	return func() int {
    4
    		a, b = b, a+b
    5
    		return b
  2. 99乘法表 99乘法表
    1
    <?php
    2
    // exit;
    3
    for ($i = 1; $i < 10; $i++) {
    4
        for ($j = $i; $j < 10; $j++) {
    5
            echo "{$i}" . "x" .  "{$j}" .'='. ($i * $j) . ' ';
  3. 100盏灯问题 100盏灯问题
    1
    <?php
    2
    
                  
    3
    $nums = 2; //按开关的次数
    4
    for ($i = 1; $i <= 100; $i++) { 
    5
        $arr[$i] = 0;
  4. 读取/dev/urandom获取随机数 读取/dev/urandom获取随机数
    1
    <?php
    2
    
                  
    3
    function randomFromDev($len)
    4
    {
    5
        $fp = @fopen('/dev/urandom','rb');