06 2021 档案
摘要://评委打分 import java.util.Scanner; public class Test07 { public static void main(String[] args) { int[] arr = new int[6]; Scanner sc = new Scanner(Syste
阅读全文
摘要://输入一个值 查找对应数组中元素的索引 import java.util.Scanner; public class Test06 { public static void main(String[] args) { int[] arr = {19, 28, 37, 46, 50}; Scanne
阅读全文
摘要:/*导包 1:手动导包:import java.util.Scanner; 2:快捷键:alt+enter 3:自动导包:Scann+回车 */ //switch 循环 import java.util.Scanner; public class Test02 { public static voi
阅读全文
摘要://用方法调用 数组中的最大值 public class MethodTest02 { public static void main(String[] args) { int[] arr = {11,22,54,23,1,99,5,77}; int number = getMax(arr); Sy
阅读全文
摘要://猜数字,猜出随机产生的1-100之间随机数 import java.util.Random; import java.util.Scanner; public class RandomTest{ public static void main(String[] args){ Random r =
阅读全文
摘要:Rsync+Notify: yum install make gcc gcc-c++ 客户端启动rsync port:873/usr/local/rsync/bin/rsync --daemon --config=/usr/local/rsync/rsync.conf Client:tar xf r
阅读全文
摘要:Linux 命令在线手册https://www.linuxcool.com MySQL 四部曲https://www.cnblogs.com/cxuanBlog/p/13173547.html 入门https://www.cnblogs.com/cxuanBlog/p/13352975.html 进
阅读全文
摘要:#!/bin/bash#echo "vm.swappiness = 0">> /etc/sysctl.confswapoff -a && swapon -asysctl -psystemctl stop firewalld.servicesystemctl disable firewalld.ser
阅读全文