自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 资源 (1)
  • 收藏
  • 关注

原创 L1: Intro to Amazon Web Services

Summarize the benefits of AWS.Describe the differences between on-demand delivery and cloud deployments.Summarize the pay-as-you-go pricing model.

2022-09-17 14:15:08 106 1

原创 git常用操作

git部分简单操作

2022-06-21 09:50:49 120

原创 704. 二分查找

题很简单,注意对index的理解以及java语言的运用题目:Given an array of integers nums which is sorted in ascending order, and an integer target, write a function to search target in nums. If target exists, then return its index. Otherwise, return -1.You must write an algorithm

2022-02-08 17:14:13 791

原创 1040. 移动石子直到连续 II

这是我的一个初始思理解与分析没有解出来。看一下标准思路:我们已经知道如何检测石子的最终状态是否符合题目要求。求max:石子最终状态即所有石子所占据的长度等于石子个数。若没有达到最终状态,那么石子所占据的长度一定是大于石子个数的。我们想要移动次数尽可能多,那么石子所占据的空间长度减小得需要尽可能慢。首先我们将石子排序并求出移动前石子们所占据的最大长度s1 = stones[n-1] - stones[0] + 1 - n。紧接着左边或者右边端点的石子被移动到剩余石子的间隙部分。如果我们想让移动后石

2021-08-25 00:09:08 203

原创 Python语法速查表

由于学的语言很杂乱又不精深,混乱的脑袋常常搞不清楚,所以做一个速查表类似的东西,持续更新中…Printing# Helloprint('Hello')# Hello worldprint('Hello' + ' ' + 'world')# Hello worldprint('Hello', 'world')# Hello worldprint('Hello' + ' ' + 'world')# Hello worldprint('Hello' + '\t' + 'worl

2021-06-02 18:09:08 342

原创 win2003企业版安装

把资源链接贴出来方便大家参考,找了很久才找到正确的镜像(https://www.gjie.cn/1693.html)。一、镜像文件下载我使用的是第二个名为’cn_win_srv_2003_r2_enterprise_with_sp2_vl_cd2_X13-13895.iso’的镜像,win2003 r2 企业版的,企业版要比标准版功能更强大一些。二、进入PE系统虚拟加载光盘下载之后用进入PE系统(我使用的是微PE,真的很纯净,推荐,大白菜太多广告了)(根据你自己的电脑制作启动u盘,不多赘述了)。使

2021-06-02 11:20:53 951

原创 Knowledge Representation笔记

Knowledge Representation认知架构 Cognitive ArchitecturesKnowledge Level 三要素Knowledge Level Hypothesis知识为媒介,理性为行为规律(rule)There exists a distinct computer systems level, lying immediately above the symbol level, which is characterised by knowledge as the

2021-03-13 17:59:38 314

原创 open()使用简介 - python

open()使用简介 - python快速使用open() 用于新建文件:file = open(‘path’+filename+‘文件格式’,‘w’)例子import osname=input('请输入:')file = open('C:\\Users\\shen\\Desktop\\pythonworkfile\\' + name + '.txt', 'w')if os.path.exists('C:\\Users\\shen\\Desktop\\pythonworkfile\\'):

2020-11-30 17:41:00 338

原创 find the most frequent pair in the list of dictionary - python

这个是COMP1531的一次作业:A pickled file with data in it is stored in shapecolour.p. Write a function most_common inside program unpickle.py that un-pickles this file, and analyses the data to returns what the most common shape-colour pair is.The return value of

2020-11-30 17:19:53 364

原创 *args的切片问题

*args的类型为tuple,一般是不能随意更改的,除非有新的tuple取代# Incorrect*args = ['Hi', 'Bye']function(args[1:], **kargs) = function(['Bye'], **kargs)# Correct*args = ['Hi', 'Bye']*args = args[1:]function(*args, **kargs) = function('Bye', **kargs)关键的问题在于*args取tuple中的数来用,

2020-11-20 17:47:23 220

原创 Python基础操作- Updating...

字符串判断str.isdigit()# method1'animals'.isdigit()# method2str.isdigit('animals')输出为True or False注意1.使用的是str,而不是string2.由于负数的符号-为string,应该去掉符号再操作int('-12345') => int("12345")...

2020-11-20 16:37:01 175 1

原创 COMP1531 Terminalogies

COMP1531 TerminologiesWEEK8DecoratorsSingle Responsibility PrincipleContinues Integration / Continues DeliveryCI/CD relationship3 tiers of deployment:devtestprodFlightingFlighting Example - WindowsContinues DeploymentComparing Continues Delivery and Contin

2020-11-19 11:52:57 502 1

原创 系统完整迁移

由于有换硬盘的需求,又不想买硬盘数据线,所以才用了ghost的image制作和还原功能注意,一些软件中(例如分区助手)的系统克隆的功能不会克隆启动文件,会导致取掉旧硬盘就无法启动ghost是一个软件,在很多制作启动盘(例如微pe, 大白菜等)的软件启动的pe环境(即修改bios后进入的一个类win的系统)中都自带。需要从菜单手动启动ghost。ghost备份分两种,一种是系统全盘备份(disk),另一种是分区备份(partition)。这次使用的是全盘备份。备份: Local (本地)-> D

2020-11-11 21:41:04 2339

原创 macbookpro2011安装单系统win10

MBP2011由于苹果公司脑抽问题,2011以及之前的版本只能用光驱安装,如果光驱坏了安装起来就很麻烦,捣鼓了一天,终于弄好了。关键在于引导的部分上,无论是启动盘的制作,还是系统的安装,都容易卡壳。步骤:1. 准备:U盘,对应系统纯净镜像(官方)(非官方),微PE,对应 BOOTCAMP版本.(不用担心有的显示win10为不兼容,亲测win10也可以适配)2. 在win系统上通过微PE制作U盘启动盘(选择三合一,否则mac无法识别以及引导进入安装环境),并将系统纯净镜像文件以及BOOTCAMP文件夹

2020-10-31 23:09:28 9228 6

原创 关于fopen()与fclose()使用中遇到的问题: r+模式下无法写入文件; 解决方案:使用fclose关闭文件后重新fopen

要求如下:We need to remove the non-ASCII bytes from files.Write a C program, leave_only_ascii.c, which takes one argument, a filename.leave_only_ascii.c should remove all non-ASCII bytes from the file.After it is run the file should contain only a ASCII by

2020-07-28 12:24:27 1309

summary.pdf

Java面向对象编程notes带个人笔记 COMP2511课程notes

2021-08-14

空空如也

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

TA关注的人

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