CMD的控制字符输出 小实验: 1 #include<stdio.h> 2 int main() 3 { 4 int i; 5 for(i=0;i<256;i++) 6 printf("%d:%c\t",i,i); 7 return 0;; 8 } 输出 看这输出,一些地方有些问题啊,如7,8,9, ...
分类:
其他好文 时间:
2021-06-18 19:36:50
阅读次数:
0
1 #函数应用:计算两个正数的最大公约数和最小公倍数 2 def function1(n1,n2): 3 if n1 > n2: 4 n1 , n2 = n2 , n1 5 for i in range(n1,0,-1): 6 if n1 % i == 0 and n2 % i == 0: 7 re ...
分类:
编程语言 时间:
2021-06-18 19:22:14
阅读次数:
0
原文: https://blog.csdn.net/qililong88/article/details/51941641 $("#language").autocomplete({ // 静态的数据源 source: [ { label: "Chinese", value: 1, sayHi: " ...
分类:
Web程序 时间:
2021-06-18 19:21:14
阅读次数:
0
1 #显示跑马灯文字 2 import os 3 import time 4 def main(): 5 content = str(input('输入显示内容:')) 6 while True: 7 os.system('cls') 8 print(content) 9 time.sleep(0. ...
分类:
其他好文 时间:
2021-06-18 19:20:19
阅读次数:
0
ES5——访问器属性 一、描述 自己不存值,只提供对另一个属性(单个属性)的保护功能。除了保护对象属性,同时还起到监视的作用,无论是读取属性值还是修改属性值都能被监听。访问器属性在控制台的对象中以(...)这样的形式存在,其中必定包含get()和set()函数。 二、使用场景 只要想使用自定义规则保 ...
分类:
其他好文 时间:
2021-06-18 19:00:56
阅读次数:
0
Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if i ...
分类:
其他好文 时间:
2021-06-17 17:13:05
阅读次数:
0
Linkerd 2.10 系列 快速上手 Linkerd v2 Service Mesh(服务网格) 腾讯云 K8S 集群实战 Service Mesh—Linkerd2 & Traefik2 部署 emojivoto 应用 详细了解 Linkerd 2.10 基础功能,一起步入 Service M ...
分类:
其他好文 时间:
2021-06-17 17:01:48
阅读次数:
0
1:开机同步 开机时自动同步可编辑 /etc/ntp/step-tickers 文件 1 vim /etc/ntp/step-tickers 2 3 # List of NTP servers used by the ntpdate service. 4 5 ntp.aliyun.com 6 tim ...
分类:
其他好文 时间:
2021-06-17 16:54:51
阅读次数:
0
一个数组中只有一个数字出现一次,其他数字都出现两次,请找出这个数字 class Solution { public int singleNumber(int[] nums) { int res = 0; for (int num : nums) { res ^= num; } return res; ...
分类:
其他好文 时间:
2021-06-17 16:49:19
阅读次数:
0
函数的定义 # 方式一 start () { echo "nginx start .... [OK]" #return 0 } stop () { echo "nginx stop .... [FAIL]" } # 方式二 function start { echo "nginx start ... ...
分类:
其他好文 时间:
2021-06-17 16:37:05
阅读次数:
0