二分寻找边界 public class Solution extends VersionControl { public int firstBadVersion(int n) { int i = 1; int j = n; while (i<=j) { int mid = i + ((j-i)>>1 ...
分类:
其他好文 时间:
2021-06-15 18:12:30
阅读次数:
0
task 3 def square(size=50, rgb = 'orange'): pencolor(rgb) for i in range(4): fd(size) left(90) def main(): setup(800, 600) speed(0) for i in range(10) ...
分类:
其他好文 时间:
2021-06-15 18:11:32
阅读次数:
0
from turtle import * def square(size=50, rbg='blue'): pencolor(rbg) for i in range(4): fd(size) left(90) setup(800,600) speed(0) for i in range(10): s ...
分类:
其他好文 时间:
2021-06-15 17:36:49
阅读次数:
0
###TP5.1 下载安装Redis 配置redis信息 <?php namespace app\common\redis; class RedisHandler { public $provider; //创建实例子 private static $_instance = null; //创建re ...
分类:
其他好文 时间:
2021-06-13 10:19:59
阅读次数:
0
pymysql连接报错: _init__() takes 1 positional argument but 5 positional arguments (and 1 keyword-only argument) were given 解决方法: 连接方法加属性名称,例 pymysql.conne ...
分类:
其他好文 时间:
2021-06-13 09:42:22
阅读次数:
0
import turtle turtle.setup(800,600) turtle.pencolor('pink') for i in range(4): for i in range(2): turtle.circle(80,90) turtle.left(90) turtle.right(90 ...
分类:
编程语言 时间:
2021-06-13 09:20:06
阅读次数:
0
from turtle import * def square(size = 50, rgb = 'orange'): pencolor(rgb) for i in range(4): fd(size) left(90) def main(): setup(800, 600) speed(0) fo ...
分类:
其他好文 时间:
2021-06-13 09:19:11
阅读次数:
0
防抖 function debounce(fun,delay){ let timer = null return function(){ if(timer){ clearTimeout(timer) } timer = setTimeout(()=>{ fun.apply(this,argument ...
分类:
编程语言 时间:
2021-06-11 18:25:11
阅读次数:
0
<script> var resultValue = "1"; function throttle(fn) { console.log(arguments); let params = Array.from(arguments); params.shift(); let res = argument ...
分类:
其他好文 时间:
2021-06-10 18:43:06
阅读次数:
0
? 自国家大力推广国产软件以来,统信软件的UOS操作系统在软硬件适配方面不断拓展,整个生态日渐完善,已经基本满足政府、企业等日常办公需求。在Windows系统环境下,PageOffice产品积累了十多年的Office在线编辑研发经验和应用经验,现在针对UOS在线办公发布了支持国产操作系统的中间件产品 ...
分类:
其他好文 时间:
2021-06-10 18:41:05
阅读次数:
0