一、常用命令:
run
run 从映像创建并运行新容器
$ docker run -it -v $(pwd):/home/zhangsan --name ohos ubuntu:20.04说明:命令表示创建一个名为ohos,系统镜像为ubuntu 20.04的容器;这个容器运行在交互模式下,并且将当前目录…
第三次作业
第一题
采用JUnit软件测试框架进行测试程序编程,实现对下面java程序进行单元测试,找出其中缺陷。然后修改缺陷,直到通过单元测试,给出测试程序脚本和运行结果界面。
public class getMax {public int get_max(int x…
文章目录 一、题目二、题解 一、题目
You are given an array of integers nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only see the k numbers in the window. Each time the sliding window m…