Problem Description Bruce Force has had an interesting idea how to encode strings. The following is the description of how the encoding is done:Let x1 ...
分类:
其他好文 时间:
2021-02-19 13:18:41
阅读次数:
0
#!/usr/bin/python # -*- coding: utf-8 -*- import sys import string import random num=int(sys.argv[1]) #随机生成一个MAC地址 def creat_mac(): MAC='41-AF' hex_nu ...
分类:
系统相关 时间:
2021-02-17 14:53:26
阅读次数:
0
知识梳理 //1 for循环主要是 计数的 //2 while循环可以支持 更复杂的判断 [ 我爱你小案例 ] //3 continue 退出本次循环 剩下的继续执行 //4 break 直接结束循环 一 while语法 1)基本语法 //while 当...的时候 var num = 1;//定义 ...
分类:
其他好文 时间:
2021-02-17 14:42:17
阅读次数:
0
figure语法说明 figure(num=None, figsize=None, dpi=None, facecolor=None, edgecolor=None, frameon=True) num: 图像编号或名称,数字为编号 ,字符串为名称 figsize: 指定figure的宽和高,单位为 ...
分类:
其他好文 时间:
2021-02-17 14:19:28
阅读次数:
0
恢复内容开始 1. css Less中文网 Less快速入门 webpack打包 2. JavaScript github链接 2.1. 调试 // 在浏览器的控制台打印变量 console.log(num); 2.2. 数据类型 Number // js不区分小数和整数 Number 123 // ...
分类:
其他好文 时间:
2021-02-17 14:06:07
阅读次数:
0
Number of Steps to Reduce a Number to Zero (E) 题目 Given a non-negative integer num, return the number of steps to reduce it to zero. If the current nu ...
分类:
其他好文 时间:
2021-02-16 12:04:19
阅读次数:
0
\(\text{原题链接}\) \(\text{题目大意}\) 初始有一个长度为 \(n\) 的序列 \(a\),初始全 \(0\)。 共 \(m\) 次修改,每次修改 \((l,r,v)\),让 \(a_i = \max(a_i, v), (l\leq i\leq r)\)。求出所有操作后的 \( ...
分类:
其他好文 时间:
2021-02-15 12:15:44
阅读次数:
0
#include<bits/stdc++.h> using namespace std; const int maxn=1e5+100; const int inf=1e9; int n,m,x; int dep[maxn];//节点在第几层 int num[maxn];//每一层的节点个数 int ...
分类:
其他好文 时间:
2021-02-15 11:49:10
阅读次数:
0
JS数据类型 基本数据类型 number string boolean undefined null 复杂数据类型/引用数据类型 array object function window.onload = function(){ var str = 'abc'; var num =123; var ...
分类:
Web程序 时间:
2021-02-10 13:42:28
阅读次数:
0
501 / 529 A HDU 5007 Post Robot 83 / 443 B HDU 5008 Boring String Problem !!! 111 / 784 C HDU 5009 Paint Pearls +++ 6 / 57 D HDU 5010 Get the Nut ??? ...
分类:
其他好文 时间:
2021-02-09 12:32:36
阅读次数:
0