码迷,mamicode.com
首页 >  
搜索关键字:color    ( 180498个结果
C#8.0+语言新功能试用:在接口中定义静态变量
先上代码: public interface IWorkflowHelper { /// <summary> /// 工作流步骤描述文本颜色 /// </summary> static Color Color = Color.Red; } 使用场景: Colorful.Console.WriteLi ...
分类:编程语言   时间:2021-02-19 13:50:59    阅读次数:0
实现自己的一个springboot-starter
前言 使用springboot开发项目简单迅速,学习sprinboot原理,先明白springboot基本原理,自己动手写一个springboot的简单启动类,了解properties文件中的配置被什么地方使用,如何使用,配置文件又是如何改变springboot启动类的。 原理 使用@Configu ...
分类:编程语言   时间:2021-02-19 13:42:54    阅读次数:0
星空登录效果源码
<!DOCTYPE html><html> <head><meta charset="UTF-8"><title>离子星空</title><style type="text/css">* {margin: 0;padding: 0;}#myCanvas {background-color: blac ...
分类:其他好文   时间:2021-02-19 13:31:53    阅读次数:0
js数值类型浮点数计算不精确处理
var number = 0.1 + 0.2; console.log(number);//打印结果是:0.30000000000000004 //转换成整数在计算 var number = (0.1*10 + 0.2*10) / 10; console.log(number);//打印结果是0.3 ...
分类:Web程序   时间:2021-02-19 13:21:11    阅读次数:0
实例调用测试
cat my_car.py 1 #! /usr/bin/python 2 # -*- coding:utf-8 -*- 3 4 5 from car import Car 6 from electric_car import ElectricCar 7 # Car类逻辑测试 8 my_new_car ...
分类:其他好文   时间:2021-02-19 13:19:13    阅读次数:0
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
Apache 配置虚拟主机
前言 1、配置虚拟主机有两种方式,可以在默认的httpd.conf 配置文件中;也可以在conf.d 目录下面做 vhosts.conf 文件的配置处理。这边优先考虑第二种,因为第二种更加方便站点的维护管理 2、在conf.d目录下面做vhosts.conf 文件的添加。 注意:这里的vhosts. ...
分类:Web程序   时间:2021-02-19 13:05:05    阅读次数:0
leetcode1539 第k个缺失的正整数
思路1: 暴力枚举。 实现1: 1 class Solution 2 { 3 public: 4 int findKthPositive(vector<int>& arr, int k) 5 { 6 int n = arr.size(); 7 vector<int> cnt(2001, 0); 8 ...
分类:其他好文   时间:2021-02-18 12:54:30    阅读次数:0
bgp 反射器选路
R3 R4 不跑bgp ,业务流量路径。 RR 用来传递bgp路由,不跑真正的业务。 分析: R4 从RR1 RR2 分别收到两条bgp路由 根据选路原则: 第一条相同,都是0 第二条不符合,都是本地始发 第三条lp ,都是100 第四条,AS序列都一样 第五条,起源都一样 ,都是R3发布的必须一样 ...
分类:其他好文   时间:2021-02-17 14:46:46    阅读次数:0
LG P2495 [SDOI2011]消耗战
Description 在一场战争中,战场由 $n$ 个岛屿和 $n-1$ 个桥梁组成,保证每两个岛屿间有且仅有一条路径可达。现在,我军已经侦查到敌军的总部在编号为 $1$ 的岛屿,而且他们已经没有足够多的能源维系战斗,我军胜利在望。已知在其他 $k$ 个岛屿上有丰富能源,为了防止敌军获取能源,我军 ...
分类:其他好文   时间:2021-02-17 14:22:52    阅读次数:0
180498条   上一页 1 ... 56 57 58 59 60 ... 18050 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!