自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 问答 (1)
  • 收藏
  • 关注

原创 comp9319 数据压缩 note1

Web data Compression and Search1.Entropy2.Basic CompressionRun-Length codingHuffman codingArithmetic coding1.EntropyEntropy=∑in−p(si)log2p(si)Entropy = \sum_{i}^n -p(s_i)log_2p(s_i) Entropy=i∑n​−p(s...

2019-08-24 15:22:18 358

原创 Computer Networks&Applications Notes--计算机网络与应用笔记1

@[TOC](Computer Networks&Applications Notes–计算机网络与应用笔记1)11.What is the Internet.Internet: “networks of networks”protocol(协议): control sending, receving of message.e.g. TCP, IP, HTTP.Internet...

2019-08-24 14:37:50 158

原创 数据结构与算法 1

Data Structures and Algorithm--数据结构与算法 1Time complexity 时间复杂度Computing Prefix Averages(前缀平均值)QuadraticLinearTime complexity 时间复杂度constant < logarithmic < linear < n-log-n < n ^ 2 < 2...

2019-05-12 15:20:58 171

原创 C语言基础 4

C语言基础 4结构体结构体定义结构体声明结构体初始化和赋值结构体具有结构体指针与结构体结构体作为函数参数结构体结构体定义结构体是用户自定义的一种数据类型,结构体中包含了一组相关的不同的数据类型。结构体的声明包括关键字 ‘struct’比如:struct student{ int student_id; char student_name[30];}; // 此处有分号,不能忽略...

2019-03-14 08:29:00 89

原创 C语言基础 3

C 语言基础3函数(Function),数组(Array),指针(Pointer)函数(Function)递归函数(Recursive Fucntion)数组(Array)访问数组使用for循环给数组赋值二维数组(Two-Dimensional Arrays)二维数组赋值访问二维数组指针(Pointer)指针的定义表达式中的指针指针与数组指针与函数函数与数组带有数组参数的函数返回数组的函数函数(...

2019-02-25 12:23:35 182

原创 C语言基础 2

C 语言基础 2条件语句(Conditionals)if语句关系操作符(Relational Operators)if - else 语句条件表达式(Conditional Expressions)if 嵌套(Nested if Statements)if - else if 语句(The if-else if Statement)逻辑操作符(Logical Operators)与 and &amp;amp;amp;am...

2019-01-04 16:03:06 178

原创 Python 筛选质数(素数)

找质数from math import sqrtdef prime_up_to(n): L= [True]*(n+1) for i in range(2,round(sqrt(n))+1): if L[i]: # if L[i] is true e=i*i while e&amp;lt;=n: ...

2019-01-03 15:48:00 4614

原创 C语言基础 1

C 语言基础 1头文件(header file)主函数(main)数据类型(Data type)变量(Variables)变量例子:输入(input)输出(output)转译符操作符类型转换头文件(header file)C语言的头文件类似Python中导入库#include &amp;amp;lt;stdio.h&amp;amp;gt; // 头文件int main() { printf(&amp;quot;嘤嘤嘤\n&amp;quot;); ...

2019-01-03 14:34:43 178

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除