// html部分 <div class="fdj"> <div class="left"> <div class="zhezhao"></div> </div> <div class="right"></div> </div> // css部分 .fdj{ width:100vw; height: ...
分类:
其他好文 时间:
2021-05-25 17:55:05
阅读次数:
0
C语言 #include "stdbool.h" #define NULL ((void *)0) //Definition for a binary tree node. struct TreeNode { int val; struct TreeNode *left; struct TreeNo ...
分类:
编程语言 时间:
2021-05-25 17:51:01
阅读次数:
0
在复习归并排序的时候,使用到了递归,我一直以为是递归函数没写对,导致了Maximum call stack size exceeded 栈溢出,但是其实是JavaScript浮点数的自动转换的问题! function sort(arry,left,right){ if(left right){ re ...
分类:
编程语言 时间:
2021-05-25 17:48:06
阅读次数:
0
437. 路径总和 III class Solution: def pathSum(self, root: TreeNode, sum: int) -> int: dp = {} def search(root: TreeNode): if root: search(root.left) searc ...
分类:
编程语言 时间:
2021-05-24 17:23:14
阅读次数:
0
float 浮动法:中间的元素需放在最后,左右元素使用左浮动和右浮动,中间的元素使用 margin-left 和 margin-right 与两边留出间隔(就是两个浮动元素的宽度) 缺点:三个元素的顺序受限,middle 必须放在最后,而且浏览器窗口宽度不够时,right 元素会被挤到下一行 <di ...
分类:
Web程序 时间:
2021-05-24 16:58:25
阅读次数:
0
聚合管道操作 聚合管道操作主要包含下面几个部分: 命令 功能描述 $project 指定输出文档里的字段. $match 选择要处理的文档,与fine()类似。 $limit 限制传递给下一步的文档数量。 $skip 跳过一定数量的文档。 $unwind 扩展数组,为每个数组入口生成一个输出文档。 ...
分类:
数据库 时间:
2021-05-24 16:40:49
阅读次数:
0
目录 Java多线程 一、创建线程和启动 (1)继承Thread类创建线程类 (2)实现Runnable接口创建线程类 (3)通过Callable和Future创建线程 二、线程的生命周期 三、线程管理 1、线程睡眠——sleep 2、线程让步——yield 3、线程合并——join 4、设置线程的 ...
分类:
编程语言 时间:
2021-05-24 16:00:01
阅读次数:
0
f = open(r'data6_1.txt') f1=open('data6_2.txt','w') a = list(f) a.sort(key=lambda x : x[8:]) a.reverse() for i in a: i=i.strip('\n') f1.write(''.join( ...
分类:
其他好文 时间:
2021-05-24 14:43:52
阅读次数:
0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>双飞翼布局</title> <style> * { margin: 0; padding: 0; } .box { height: 600px; } .left ...
分类:
其他好文 时间:
2021-05-24 14:20:23
阅读次数:
0
Given a tree, you are supposed to list all the leaves in the order of top down, and left to right. Input Specification: Each input file contains one t ...
分类:
其他好文 时间:
2021-05-24 14:03:04
阅读次数:
0