全部文章
API aplication program interface:应用程序编程接口,就是我们go的各个包的各个函数 https://studygolang.com/pkgdoc golang中调用一个函数的方式: import 包 包名.函数名 //使用包的函数 ...
分类:Windows开发 时间:2022-05-27 19:57:01 收藏:0 阅读:16
#include <stdio.h> int main() { int a,b,c,d; a=0,b=0,c=0; d=c++ || a++ && b++; printf("%d,%d,%d,%d",a,b,c,d); getchar(); } #include <stdio.h> int main ...
分类:其他 时间:2022-05-27 19:56:37 收藏:0 阅读:10
##一、解决思路 让前端的下拉框支持单选、多选及全选,后台让Mybatis使用** trim **标签拼接动态SQL,实现 select * from order where startDate = sysdate and (name="A" or name="B" or name="C") --当 ...
分类:其他 时间:2022-05-27 19:55:48 收藏:0 阅读:17
解析库之Xpath解析器 该选择器可以做到一句话完成多步操作 1.导入xpath所在模块 from lxml import etree 2.将待匹配的文本传入etree生成一个对象 html = etree.HTML(doc) 3.xpath解释器主要功能 1.所有节点 a = html.xpath ...
分类:其他 时间:2022-05-27 19:55:16 收藏:0 阅读:18
collection接口: 单列集合,用来存储一个一个的对象 set接口:存储无序的,不可重复的数据 --> 高中讲的 "集合" HashSet: 作为Set接口的主要实现类;线程不安全的;可以存储null值 LinkedHashSet: 作为HashSet的子类;遍历其内部数据时,可以按照添加的顺 ...
分类:编程语言 时间:2022-05-27 19:54:47 收藏:0 阅读:23
要求n2时间找出所有区间逆序对 本质上二维差分 for (int i = n; i --; ) for (int j = i + 1; j < n; ++ j)ans[i][j] = ans[i + 1][j] + ans[i][j - 1] - ans[i + 1][j  ...
分类:其他 时间:2022-05-27 19:53:39 收藏:0 阅读:13
给定一个二叉树,检查它是否是镜像对称的。例如,二叉树 [1,2,2,3,4,4,3] 是对称的。 1 / \ 2 2 / \ / \3 4 4 3 但是下面这个 [1,2,2,null,3,null,3] 则不是镜像对称的: 1 / \ 2 2 \ \ 3 3来源:力扣(LeetCode)链接:ht ...
分类:其他 时间:2022-05-27 19:53:26 收藏:0 阅读:11
MySQL字符集 Linux系统字符集编码 #1.命令行临时修改 : LANG=us_EN.UTF-8 LANG=zh_CN.UTF-8 临时修改报错命令为应文 : LANG=us_EN.UTF-8 #2.修改系统字符集 Centos6 永久修改:[root@localhost ~]# vim /e ...
分类:数据库技术 时间:2022-05-27 19:52:56 收藏:0 阅读:20
#!/bin/bashPS3="需要ping的网段:"select ip in 192.168.20.1 192.168.130.1 172.16.1.1; do case $ip in 192.168.20.1) IP=(192.168.20.11 192.168.20.12 192.168.20 ...
分类:其他 时间:2022-05-27 19:52:47 收藏:0 阅读:15
1. MainActivity: 1 package com.example.activitycircledemo; 2 3 import androidx.annotation.Nullable; 4 import androidx.appcompat.app.AppCompatActivity; ...
分类:其他 时间:2022-05-27 19:51:50 收藏:0 阅读:18
1535455323994
上一页3239936下一页
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!