Git commit --amend 修改文件1.txt, 然后add, commit; 然后: case1: git commit --amend,可以修改上次commit信息(一般修改message说明信息); case2: 继续修改1.txt, 也可以增加新的文件等,然后,git add一下, ...
分类:
其他好文 时间:
2021-02-15 12:22:35
阅读次数:
0
题目大意:给你一个序列,让你提取出一个子序列A,剩余的部分组成子序列B,现定义seg(x)表示把序列x中相邻的相同数合并成一个数后,序列x的长度,分别求seg(A)+seg(B)的最大值和最小值,n=1e5 考场上并没有想出最小值做法,只会最大值的贪心,下考才知道可以DP做?? 最大值的贪心: 维护 ...
分类:
其他好文 时间:
2021-02-15 12:14:12
阅读次数:
0
public class NIOFileChannel01 { public static void main(String[] args) throws Exception { String str = "hello,帅锅"; //创建一个输出流->channel FileOutputStream ...
分类:
Web程序 时间:
2021-02-15 12:01:12
阅读次数:
0
今天主要是帮家里干活,做过年的准备,学习的知识不多。 package com.chapter01.hanshu object Demo03 { def main(args: Array[String]): Unit = { println(sum(10, 20, 3, 5, 7, 9)) } def ...
分类:
其他好文 时间:
2021-02-15 12:00:55
阅读次数:
0
JS数据类型 基本数据类型 number string boolean undefined null 复杂数据类型/引用数据类型 array object function window.onload = function(){ var str = 'abc'; var num =123; var ...
分类:
Web程序 时间:
2021-02-10 13:42:28
阅读次数:
0
Hive 运行过程异常信息有时不能完全显示在终端上,此时可以用 Hive Debug 模 式进行调试 hive --hiveconf hive.root.logger=INFO,console 1、表不存在 FAILED: SemanticException [Error 10001]: Line ...
分类:
其他好文 时间:
2021-02-10 13:39:36
阅读次数:
0
字符函数 函数返回值型 函数(参数) 描述 string base64(binary bin) 将二进制 bin 转换成 64 位的字符串 string concat(string|binary A, string|binary B...) 对二进制字节码或字符 串按次序进行拼接 array<str ...
分类:
其他好文 时间:
2021-02-10 13:05:47
阅读次数:
0
This time, you are supposed to find $A+B$ where $A$ and $B$ are two polynomials. Input Specification: Each input file contains one test case. Each cas ...
分类:
其他好文 时间:
2021-02-10 13:03:20
阅读次数:
0
今日学习:scala package com.chapter01.inputcon object forcon { def main(args: Array[String]): Unit = { print("to循环:") //[1,5] //这里i相当于val变量,可以写成纯函数 for (i ...
分类:
其他好文 时间:
2021-02-09 12:22:04
阅读次数:
0
# 查询主表相关信息,并且显示最新的记录 SELECT type.number as '序号', type.date as '时间', type.name as '名称', main.content as '项目名称', main.manager as '负责人', unit.name as '单位 ...
分类:
数据库 时间:
2021-02-09 12:01:19
阅读次数:
0