Description "题库链接" 给你一个数列 $A$,满足递推公式 $$ A_n\left\{\begin{aligned}&0,&n=0\\&1,&n=1\\&A_\frac{n}{2},&2\mid n\\&A_{\left\lfloor\frac{n}{2}\right\rfloor}+ ...
分类:
其他好文 时间:
2020-03-06 12:44:45
阅读次数:
65
1. 安装migrate模块 pip install flask_migrate 2. 创建manage对象,并接管app和db对象 manager = Manager(app, db) 3. 将数据库迁移操作集成到script中 manager.add_command('db', MigrateC ...
分类:
数据库 时间:
2020-03-06 11:26:05
阅读次数:
113
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 5 <title> 6 RunJS 演示代码 7 </title> 8 <script> ...
分类:
编程语言 时间:
2020-03-06 10:41:15
阅读次数:
138
将代码复制,存到一个html文件中,打开即可。代码示例: <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=gbk" /> <title>Web sockets test</title> <script ...
分类:
Web程序 时间:
2020-03-06 10:29:27
阅读次数:
94
如标题所示,写了两个文件一个是批处理文件script.bat,还有一个execsql.sql 首先写了一个script.bat 该文件内容为 1 sqlplus /NOLOG @execsql.sql 执行的execsql.sql的内容 1 spool d:\xxx.log 2 3 COON use ...
分类:
数据库 时间:
2020-03-05 21:01:01
阅读次数:
96
javascript :选取元素,操作元素,操作CSS,事件侦听和处理 var element = document.getElementById("id"); var elements = document.getElementByClassName("classname"); var eleme ...
分类:
编程语言 时间:
2020-03-05 15:01:48
阅读次数:
75
整理一下js里面的类型判断 <script> let boolType = true; let numberType = 1; let stringType = 'abc'; let undefinedType = undefined; let nullType = null; let arrayT ...
分类:
编程语言 时间:
2020-03-05 13:44:10
阅读次数:
63
Given a binary tree, find the subtree with maximum average. Return the root of the subtree. Example 1 Input: {1,-5,11,1,2,4,-2} Output:11 Explanation: ...
分类:
其他好文 时间:
2020-03-05 13:42:34
阅读次数:
56
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>18-attr和prop的练习</title> <script src="../js/jquery-1.12.4.js"></script> <script> $( ...
分类:
Web程序 时间:
2020-03-05 13:30:01
阅读次数:
101
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <style type="text/css"> .activated {color: red} </style> <scrip ...
分类:
其他好文 时间:
2020-03-05 13:24:44
阅读次数:
74