码迷,mamicode.com
首页 >  
搜索关键字:hdoj color the ball    ( 182953个结果
python选择结构
1.基本if语句 Python的写法 If条件: 条件满足 Else: 条件不满足时 案例:话费计算 #计算话费 #(1)输入通话的秒数 n = input("请输入通话秒数:") #(2)将通话的秒数转换成分钟 n = int(n) if n < 0: print("请输入正确的秒数") exit ...
分类:编程语言   时间:2021-04-27 14:57:59    阅读次数:0
解决mysql遇到非root权限无法登录mysql数据库的问题
1.在root权限下登录mysql 2.进入mysql库 mysql>use mysql 3.查看root用户权限 mysql>select User,Host,plugin from user; 4.将root用户的auth_sock改为mysql_native_password mysql>up ...
分类:数据库   时间:2021-04-27 14:42:37    阅读次数:0
keepalived-master-slave
Master配置 global_defs { notification_email { root@localhost } notification_email_from keeplived@localhost smtp_server 127.0.0.1 smtp_connect_timeout 30 ...
分类:其他好文   时间:2021-04-27 14:42:00    阅读次数:0
Windows节点加入K8S集群(K8S搭建Linux和Window混合集群)
#Windows节点加入K8S集群(K8S搭建Linux和Window混合集群) 说明:K8S多数情况用于linux系统的集群,目前很少人实践linux 和 windows 的混合集群。linux 和 windows 的K8S混合集群,是以linux 为Master节点,Windows 为 Node ...
分类:Windows程序   时间:2021-04-27 14:10:55    阅读次数:0
模型测试需要的时间
time_start = time.time() SR_left = net() torch.cuda.synchronize() time_end = time.time() ...
分类:其他好文   时间:2021-04-26 13:53:00    阅读次数:0
无序点位的轮播
<template> <div class="box"> <div class="swipers"> <template v-for="(item, index) in lists" > <div class="item" v-if="index==active" :key="'0'+index" ...
分类:其他好文   时间:2021-04-26 13:50:48    阅读次数:0
C# 计算
1.Datatable、DataRow[]、List 、List子集合、 某列求和 DataTable dt = new DataTable(); var sum1 = dt.Compute("SUM(Volume)", ""); DataRow[] drList = dt.Select("Name ...
分类:Windows程序   时间:2021-04-26 13:48:48    阅读次数:0
win10 定时重启某个程序
1. bat程序: restartProxify.bat @echo off taskkill /f /im Proxifier.exe cd / cd "C:\Program Files (x86)\Proxifier" Proxifier.exe echo 成功重启 Proxifier.exe ...
分类:Windows程序   时间:2021-04-26 13:44:55    阅读次数:0
7-4 统计Java程序中关键词的出现次数
import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Problem53 { public static void main(String[] args) { ...
分类:编程语言   时间:2021-04-26 13:44:00    阅读次数:0
Linux(Ubuntu)下查看摄像头是否挂载及挂载的USB端口号
1、查看摄像头是否已经挂载的命令 方法一: ls /dev/video* 方法二: ls /dev | grep video 或 ls /dev | grep video* 2、如果有多个USB端口,则通过以下命令查看摄像头挂载的端口号 ls -l /sys/class/video4linux/vi ...
分类:系统相关   时间:2021-04-26 13:37:52    阅读次数:0
182953条   上一页 1 ... 32 33 34 35 36 ... 18296 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!