题目链接:https://leetcode-cn.com/problems/non-overlapping-intervals/submissions/ 题目描述: 题解: class Solution { public: static bool cmp(vector<int> &a, vector ...
分类:
其他好文 时间:
2021-06-29 16:04:44
阅读次数:
0
1.会编程,参考实验 1.1编程实现词频统计基本操作 主函数 public static void main(String[] args) throws Exception{ Configuration conf = new Configuration(); //程序运行时参数 String[] o ...
分类:
其他好文 时间:
2021-06-29 16:02:29
阅读次数:
0
this关键字含义 1. this代表什么 this代表对象, 代表的是当前对象, this里保存的是对象的地址. 谁是当前对象? 比如方法调用 t1.say() 在这个方法执行时 执行以下代码 : public String say() { return “姓名:” + name + “,年龄:” ...
分类:
编程语言 时间:
2021-06-29 16:00:27
阅读次数:
0
https://leetcode-cn.com/problems/largest-bst-subtree/ public int largestBSTSubtree(TreeNode root) { return (root == null) ? 0 : getInfo(root).size; } ...
分类:
其他好文 时间:
2021-06-29 15:58:52
阅读次数:
0
一、数组的创建和初始化 (一)创建数组: import java.util.*; import java.io.*; public class Main { public static void main(String[] args) { Scanner in = new Scanner(Syste ...
分类:
编程语言 时间:
2021-06-29 15:56:03
阅读次数:
0
public class 数据类型学习 { public static void main(String[] args) { int i = 10; int i2 = 010;//8进制0 int i3 = 0x10;//16进制0x //long i4 = 40L; //Long类型要在数字后面加 ...
分类:
其他好文 时间:
2021-06-29 15:49:06
阅读次数:
0
1.打开Pycharm->VCS->Enable Version Control Integration->Git->remote->输入SSH 2.Define Remotes 3.复制SSH 到GIt Open Git bash 4.复制最后黄色的到git ,添加ssh key 5.复制SSH ...
分类:
其他好文 时间:
2021-06-29 15:28:35
阅读次数:
0
configparser模块:读取配置文件的包,配置文件由章节(section[sectionName])、键、值组成。(key=value or key: value),其中key=value通过被称为option 1、新建一个config.ini文件 1 [wework] 2 corp_id = ...
分类:
编程语言 时间:
2021-06-29 15:27:04
阅读次数:
0
自动类型转换 byte b=3; int x=b;//将byte类型的变量b转换为int类型无需特殊声明 强制类型转换 两种类型不兼容,或者目标类型取值范围小于源类型时,自动类型转换无法进行,这时需要强制类型转换。 如: public class test { public static void ...
分类:
编程语言 时间:
2021-06-29 15:25:02
阅读次数:
0
Public rnTem As Range Public stKehu As String Public temDingdan As String Public Const rowDingdan As Integer = 22 Public Sub ShengchengTongjiJine() Ap ...
分类:
其他好文 时间:
2021-06-29 15:20:19
阅读次数:
0