码迷,mamicode.com
首页 >  
搜索关键字:le ge lt gt eq ne    ( 256714个结果
[ AGC001 F ] Wide Swap
题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> #include <queue> using namespace std; const int N = 500010, INF = 1e9; in ...
分类:其他好文   时间:2021-04-28 11:51:48    阅读次数:0
[MySQL数据库之表的详细操作:存储引擎、表介绍、表字段之数据类型]
[MySQL数据库之表的详细操作:存储引擎、表介绍、表字段之数据类型] 表的详细操作 存储引擎 mysql中建立的库 >文件夹 库中建立的表 >文件 用来存储数据的文件有不同的类型,每种文件类型对应各自不同的处理机制: 处理图片用jpg、png 处理视频用mp4 处理音频用mp3 处理文本用txt ...
分类:数据库   时间:2021-04-28 11:50:44    阅读次数:0
微信小程序之事件绑定
绑定事件 在input标签内使用bindinput关键字,可以绑定input事件 例如: index.wxml中 `<input type="text" bindinput="handInputOne">` index.js中 `handInputOne(a){ console.log(a) //若 ...
分类:微信   时间:2021-04-28 11:50:08    阅读次数:0
mybatis 自动生成mapper文件
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http:// ...
分类:移动开发   时间:2021-04-28 11:48:02    阅读次数:0
python——计算圆周率
规律:分子不变,分母1、3、5、7、9 每一项越来越小:最后一项的绝对值 < 0.0000001 每一项目是正负交替:* -1 每一项组成:符号、分子、分母 代码如下: import math sum = 0 #和 fh = 1 # 符号 fm = 1 #分母 i = 1 while math.fa ...
分类:编程语言   时间:2021-04-28 11:44:52    阅读次数:0
react 输入框 输入大于等于0,最多两位小数
//多个输入框的情况 if (Number(value) <= Number(se.fullCredit)) { value = value.replace(/[^\d.]/g, '') //清除“数字”和“.”以外的字符 value = value.replace(/^\./g, '') //验证 ...
分类:其他好文   时间:2021-04-28 11:44:32    阅读次数:0
ssm在maven项目中的需要的依赖
<dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>5.3.2</version> </dependency> <depe ...
分类:其他好文   时间:2021-04-27 15:21:44    阅读次数:0
CF1349F2. Slime and Sequences (Hard Version)
一个合法正整数序列,满足:对于每个在序列中出现过的数$k$,满足$k-1$在最后一个$k$前出现过。 对于每个$k$,统计在所有序列中$k$出现的总次数。 \(n\le 10^5\) 首先有个神仙转化: 记二元组$(val,pos)$表示值为$val$,在$pos$位置出现。对其以$val$为第一关 ...
分类:其他好文   时间:2021-04-27 15:21:20    阅读次数:0
页面上多个audio只播放一个
// ts版-vue private justPalyOne() { const audios = document.querySelectorAll("audio"); // 暂停函数 const pauseAll = (exclude: any): any => { audios.forEach ...
分类:其他好文   时间:2021-04-27 15:20:20    阅读次数:0
Unity 拖动条里面的按钮可以点击
Button btn = this.GetComponent<Button>(); btn.onClick.AddListener(onExp); ...
分类:编程语言   时间:2021-04-27 15:19:33    阅读次数:0
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!