🎯
Focusing
Pinned Loading
-
fibonacci.go
fibonacci.go 1func fibonacci() func() int {
2a, b := -1, 1
3return func() int {
4a, b = b, a+b
5return b
-
99乘法表
99乘法表 1<?php
2// exit;
3for ($i = 1; $i < 10; $i++) {
4for ($j = $i; $j < 10; $j++) {
5echo "{$i}" . "x" . "{$j}" .'='. ($i * $j) . ' ';
-
100盏灯问题
100盏灯问题 1<?php
23$nums = 2; //按开关的次数
4for ($i = 1; $i <= 100; $i++) {
5$arr[$i] = 0;
-
读取/dev/urandom获取随机数
读取/dev/urandom获取随机数 1<?php
23function randomFromDev($len)
4{
5$fp = @fopen('/dev/urandom','rb');
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.