一、java基础部分 1、java基本数据类型 共有八种:四种整数类型(byte、short、int、long) 两种浮点数类型(double、float) 一种字符类型(char) 一种布尔类型(boolean) 记忆:8位 Byte(字节型) 16位short(短整型)char(字符型) 32位 ...
分类:
编程语言 时间:
2020-10-07 20:43:46
阅读次数:
23
整理了以下要点:1.#include<stdio.h>//调用原函数库2.intmain()//整型主函数(有且仅有一个)3.printf//打印函数,包含于原函数库中scanf//输入函数4.%d打印整型%c打印字符%f打印浮点数字%p以地址的形式打印%x打印16进制%o...5.chars:1字符数据类型shorts:2短整型ints:4整型longs:4/8长整型longlong
分类:
编程语言 时间:
2020-10-05 22:02:46
阅读次数:
32
匹配正则 使用 .test() 方法 let testString = "My test string";let testRegex = /string/;testRegex.test(testString); 匹配多个模式 使用操作符号 | const regex = /yes|no|maybe/ ...
分类:
Web程序 时间:
2020-09-23 23:24:18
阅读次数:
45
#include "windows.h"#include "stdio.h" typedef unsigned char U1;typedef unsigned short U2;typedef unsigned long U4;typedef signed char S1;typedef sign ...
分类:
其他好文 时间:
2020-09-18 02:25:33
阅读次数:
37
基本类型 大小 范围 byte 1个字节 -2^7~2^7-1 char 2个字节 0~2^16-1 short 2个字节 -2^15~2^15-1 boolean 1个字节或4个字节 true/false int 4个字节 -2^32~2^32-1 float 4个字节 -2^149~2^128- ...
分类:
其他好文 时间:
2020-09-18 01:30:25
阅读次数:
44
类型转化 低 >高 byte,short,char->int->long->float->double 强制装换 高-->低 自动装换 低-->高 变量作用域 类变量:方法外面,类里面,static修饰。 实例变量:方法外面,类里面。 局部变量:定义在方法里面。 ...
分类:
其他好文 时间:
2020-09-18 00:47:40
阅读次数:
24
ABC咕咕咕 D. Polycarp and Div 3 题意:给一个数字串,问最多能选出几个不相交的子串使得它们组成的 $10$ 进制数都是 $3$ 的倍数。 \(|s| \leq 2\times 10^5\) 题解: \(dp_{i,j}\) 表示第 \(i\) 为,数字和 \(\%3\) 为 ...
分类:
其他好文 时间:
2020-09-17 21:27:54
阅读次数:
28
KITTI数据集是自动驾驶领域的经典数据集之一,raw data大小有上百G,官方在raw data界面提供了一个shell脚本raw dataset download script来帮助下载,该shell脚本会自动下载所有raw data并解压到指定文件夹。 由于raw data过大,断断续续下了 ...
分类:
编程语言 时间:
2020-09-17 20:48:36
阅读次数:
75
目前,车联网经历着前所未有的快速发展,数据量呈现爆发式增长,合理选择数据传输方式和有效评估数据传输性能成为了研究的热点。专用短程通信技术(Dedicated Short-Range Communications,DSRC)作为车联网中的无线通信技术,提供了车与车(Vehicle-to-vehicle ...
分类:
其他好文 时间:
2020-09-17 19:37:54
阅读次数:
26
cookbook http://www.mohu.org/info/lshort-cn.pdf mathematical symbols http://mohu.org/info/symbols/symbols.htm spaces http://blog.sina.com.cn/s/blog_4d ...
分类:
其他好文 时间:
2020-09-17 17:32:25
阅读次数:
28