码迷,mamicode.com
首页 >  
搜索关键字:round floor ceil    ( 17505个结果
Codeforces Round #715 (Div. 2)(A~C)(dp)
题目链接 A. Average Height 奇数放一侧,偶数放一侧即可。 AC代码如下: #include<cstring> #include<algorithm> #include<cmath> #include<iostream> #include<queue> #include<cstdio ...
分类:其他好文   时间:2021-04-19 15:52:38    阅读次数:0
JavaScript Math 对象
Math 对象 Math 对象用于执行数学任务。 使用 Math 的属性和方法的语法: var pi_value=Math.PI; var sqrt_value=Math.sqrt(15); 注释:Math 对象并不像 Date 和 String 那样是对象的类,因此没有构造函数 Math(),像 ...
分类:编程语言   时间:2021-04-16 12:16:05    阅读次数:0
读取地址返回的json,修改后上传json文件
// 上传首页数据设置、主题js文件export function uplaodTheme(data, fileName) { var dataString = JSON.stringify(data); var blob = new Blob([dataString], {type: "text/ ...
分类:Web程序   时间:2021-04-16 11:57:04    阅读次数:0
WPF做一个侧边栏滑动进入的效果
效果 代码 1 <Window x:Class="WpfApp12.MainWindow" 2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 3 xmlns:x="http://schemas.microsoft. ...
分类:Windows程序   时间:2021-04-15 12:47:15    阅读次数:0
Educational Codeforces Round 107 (Rated for Div. 2) C. Yet Another Card Deck(暴力/思维)
You have a card deck of n cards, numbered from top to bottom, i. e. the top card has index 1and bottom card — index n. Each card has its color: the 𝑖 ...
分类:其他好文   时间:2021-04-15 12:03:00    阅读次数:0
1000毫秒转换成“0:01.000”格式的毫秒
formatTime(msTime) { let time = msTime / 1000; let minute = (Math.floor(time / 60) % 60) > 9 ? (Math.floor(time / 60) % 60) : '0' + (Math.floor(time / ...
分类:其他好文   时间:2021-04-14 12:17:05    阅读次数:0
第一节:RabbitMq简介、安装步骤、常用指令详解
一. RabbitMq简介 二. 安装步骤 参考: https://www.cnblogs.com/yaopengfei/p/13763500.html (需要补充一下) ! 作 者 : Yaopengfei(姚鹏飞) 博客地址 : http://www.cnblogs.com/yaopengfei ...
分类:其他好文   时间:2021-04-14 11:49:16    阅读次数:0
css定位总结:
1.定位position的取值: static:默认值,静态的 relative:相对定位 absolute:绝对定位 fixed:固定定位 sticky:粘性定位 既然是定位了,不同定位之间的区别是参考系不同 position:static 特点:默认的定位方式,元素不受top,buttom,le ...
分类:Web程序   时间:2021-04-13 11:40:23    阅读次数:0
聚合函数
MySQL:系统提供了很多函数 Count:统计个数,次数,null不统计 Max:最大值 Min:最小值 Sum:求和 Avg:平均值 Round:四舍五入 ...
分类:其他好文   时间:2021-04-12 12:55:32    阅读次数:0
TypeScript——基础——原始数据类型
前言:JavaScript原始数据类型主要分为布尔值、数值、字符串、nul、undefined和ES6中的新类型Symbol和BigInt TypeScript中原始数据类型的应用 一、布尔值(boolean) let isDone : boolean = false ; 二、数值(number) ...
分类:其他好文   时间:2021-04-12 12:54:06    阅读次数:0
17505条   上一页 1 ... 8 9 10 11 12 ... 1751 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!