码迷,mamicode.com
首页 >  
搜索关键字:hdu 3709balanced num    ( 40504个结果
2020 BIT冬训-二分三分快速幂矩阵 L - Decode the Strings HDU - 2371
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
随机生成mac地址
#!/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
4_3:流程控制:while + do while + continue + break
知识梳理 //1 for循环主要是 计数的 //2 while循环可以支持 更复杂的判断 [ 我爱你小案例 ] //3 continue 退出本次循环 剩下的继续执行 //4 break 直接结束循环 一 while语法 1)基本语法 //while 当...的时候 var num = 1;//定义 ...
分类:其他好文   时间:2021-02-17 14:42:17    阅读次数:0
matplotlib 设置图形大小 figsize dpi
figure语法说明 figure(num=None, figsize=None, dpi=None, facecolor=None, edgecolor=None, frameon=True) num: 图像编号或名称,数字为编号 ,字符串为名称 figsize: 指定figure的宽和高,单位为 ...
分类:其他好文   时间:2021-02-17 14:19:28    阅读次数:0
vue
恢复内容开始 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
1342. Number of Steps to Reduce a Number to Zero (E)
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
HDU-6356 Glad You Came 线段树+剪枝
\(\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
1481F.AB Tree(树上信息统计+01背包+记录DP路径+Bitset优化时间复杂度)
#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数据类型
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
2014 ACM/ICPC Asia Regional Xi'an Online
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
40504条   上一页 1 ... 10 11 12 13 14 ... 4051 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!