码迷,mamicode.com
首页 >  
搜索关键字:first    ( 14115个结果
边连通分量
冗余路径 \(\href{https://www.acwing.com/solution/content/20697/}{边连通分量}\) \(本题是等价于加入最少边是整个图变成边连通分量(没有桥)\) #include <bits/stdc++.h> using namespace std; #d ...
分类:其他好文   时间:2021-02-22 12:51:09    阅读次数:0
dom查询与修改的一些常用方法
1.DOM查询 - 通过具体的元素节点来查询 - 元素.getElementsByTagName() - 通过标签名查询当前元素的指定后代元素 - 元素.childNodes - 获取当前元素的所有子节点 - 会获取到空白的文本子节点 - 元素.children - 获取当前元素的所有子元素 - 元 ...
分类:其他好文   时间:2021-02-22 12:35:51    阅读次数:0
LinkedList 的双向链表存储数据 底层源码分析
1 class MyLinkedList<E> { 2 3 int size = 0;//集合元素的个数 4 5 Node<E> first;//指向第一个元素 6 Node<E> last;//指向最后一个元素 7 8 //元素 9 private static class Node<E> { 1 ...
分类:其他好文   时间:2021-02-20 11:54:33    阅读次数:0
python函数注释
python函数注释,参数后面加冒号:,函数后面的箭头→是什么? python的函数注释: def f(text:str,max_len:'int>0'=80) ->str: """这个是函数的帮助说明文档,help时会显示""" return True """ 函数声明中,text:str tex ...
分类:编程语言   时间:2021-02-18 13:29:52    阅读次数:0
LeetCode 数据库之组合两个表
1. 题目 表1: Person ± ± +| 列名 | 类型 |± ± +| PersonId | int || FirstName | varchar || LastName | varchar |± ± +PersonId 是上表主键表2: Address ± ± +| 列名 | 类型 |± ...
分类:数据库   时间:2021-02-17 15:09:12    阅读次数:0
按序打印
1 题目 我们提供了一个类: public class Foo { public void first() { print("first"); } public void second() { print("second"); } public void third() { print("third ...
分类:其他好文   时间:2021-02-17 14:51:27    阅读次数:0
构建后端第5篇之---Idea 查看继承 实现关系图
first question: how to show a class children class : move mousrmark to class name , Ctrl + H how to show a class children class in diagram : ctrl + al ...
分类:其他好文   时间:2021-02-17 14:33:03    阅读次数:0
LeetCode:BFS/DFS
BFS/DFS 在树专题和回溯算法中其实已经涉及到了BFS和DFS算法,这里单独提出再进一步学习一下 BFS 广度优先遍历 Breadth-First-Search 这部分的内容也主要是学习了labuladong公众号内的相关讲解 算法流程 首先将开始节点放入队列中。 从队列中取出第一个节点,并检验 ...
分类:其他好文   时间:2021-02-17 14:23:20    阅读次数:0
1010 一元多项式求导 (25 分)
如果求导之后没有任何非零项,需要输出0 0。 int main() { string line; getline(cin,line); stringstream ss(line); int a,b; bool first=true; while(ss>>a>>b) { a*=b; b--; if(b ...
分类:其他好文   时间:2021-02-16 11:53:11    阅读次数:0
MySQL数据表添加字段三种方式
在末尾添加字段1 alter table <表名> add <新字段名> <数据类型> [约束条件]; 在开头添加字段 2 alter table <表名> add <新字段名> <数据类型> [约束条件] first; 在中间位置添加字段3 alter table <表名> add <新字段名> ...
分类:数据库   时间:2021-02-16 11:51:29    阅读次数:0
14115条   上一页 1 ... 9 10 11 12 13 ... 1412 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!