def print(self, *args, sep=' ', end='\n', file=None): # known special case of print """ print(value, ..., sep=' ', end='\n', file=sys.stdout, flush=Fa ...
分类:
编程语言 时间:
2021-06-03 17:49:48
阅读次数:
0
第一轮: 方法1:求长度,减去n得到被删除节点的前一个节点,直接跨越链接。若num=0则删除的是首节点 # Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # s ...
分类:
编程语言 时间:
2021-06-02 20:11:51
阅读次数:
0
一、实验内容 (1)Web前端HTML 能正常安装、启停Apache。理解HTML,理解表单,理解GET与POST方法,编写一个含有表单的HTML。 kali默认已安装Apache,直接使用 service apache2 start 打开apache服务 使用 service apache2 st ...
分类:
Web程序 时间:
2021-06-02 20:11:04
阅读次数:
0
都知道解决 外边距塌陷 有多种方法 其中一种 是给父盒子加个overflow:hiden;例如 <style> p { color: #f55; background: #fcc; width: 200px; line-height: 100px; text-align:center; margin ...
分类:
其他好文 时间:
2021-06-02 19:54:48
阅读次数:
0
使用input事件进行搜索时准时不准 <div class="m-wrapper03" id="app" v-cloak> <div class="close-hosmain close-pf"> <div class="mycloose"> <i class="mycloose-img" @cli ...
分类:
其他好文 时间:
2021-06-02 18:54:30
阅读次数:
0
def my_decorator(txt=None): # 如果txt是str或int,则txt为带参修饰器 if isinstance(txt, (str, int)): def decorator(func): @wraps(func) def wrapper1(*args, **kwargs) ...
分类:
编程语言 时间:
2021-06-02 18:45:16
阅读次数:
0
借鉴 https://blog.csdn.net/L_Sail/article/details/78868673?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522162236063816780269865182%2522%252C%25 ...
分类:
其他好文 时间:
2021-06-02 17:35:10
阅读次数:
0
ping www.baidu.com 出先unknow host www.baidu.com 这是因为我们没有配置 /etc/resolv.conf 域名解析: hosts文件,将便于我们记忆的地址名称翻译成IP地址供计算机访问。 hosts文件位置:/etc/hosts 格式:IP地址 主机名称 ...
分类:
系统相关 时间:
2021-06-02 16:46:46
阅读次数:
0
160. 相交链表 Difficulty: 简单 编写一个程序,找到两个单链表相交的起始节点。 如下面的两个链表**:** 在节点 c1 开始相交。 示例 1: 输入:intersectVal = 8, listA = [4,1,8,4,5], listB = [5,0,1,8,4,5], skip ...
分类:
其他好文 时间:
2021-06-02 16:01:26
阅读次数:
0