码迷,mamicode.com
首页 >  
搜索关键字:round floor ceil    ( 17505个结果
CodeForces Virtual Participation 记录
(可能 ?)会记录一下最近 VP 和 补题记录。 6.27 Codeforces Round #724 (Div. 2) 赛时切了 ABCD 。A 题 3 发 罚时,B 题 2 发,D 题 1 发 ,wtcl。 1536E - Omkar and Forest 考虑将某些 # 置为 0 , 然后以 ...
分类:其他好文   时间:2021-06-28 20:11:47    阅读次数:0
【语音编码】基于matlab PCM编解码【含Matlab源码 555期】
一、简介 基于matlab PCM编解码 二、源代码 clear all; close all; [x,fs]= audioread('C6_1_y.wav'); v=1; xx=x/v; sxx=floor(xx*4096); y=pcm_encode(sxx); yy=pcm_decode(y, ...
分类:其他好文   时间:2021-06-28 20:09:42    阅读次数:0
flex布局入门
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi ...
分类:其他好文   时间:2021-06-28 19:31:38    阅读次数:0
Codeforces Round #699 (Div. 2)
E.Sorting Books 题目描述 点此看题 解法 \(\tt Almost\space art!The\space art\space of\space enumeration!\) 不难发现每本书最多移动一次,移动多次一定是不优的。 那么每本书就有两种状态:不移动和移动。我们枚举每本书的状 ...
分类:其他好文   时间:2021-06-24 17:52:19    阅读次数:0
Codeforces Round #726 (Div. 2)
Codeforces Round #726 (Div. 2) A - Arithmetic Array int main() { IOS; for (cin >> _; _; --_) { cin >> n; m = -n; rep (i, 1, n) cin >> k, m += k; cout ...
分类:其他好文   时间:2021-06-22 18:41:35    阅读次数:0
WPF颜色选择控件
效果图: cs: 1 /// <summary> 2 /// ColorPick.xaml 的交互逻辑 3 /// </summary> 4 public partial class ColorPick : UserControl 5 { 6 ChangeSource _changeSource; ...
分类:Windows程序   时间:2021-06-21 20:28:16    阅读次数:0
返回百分比形式的数据
(1)实体类的对应字段要设置成string类型,不能用int 或者其他数字类型 @ApiModelProperty(value = "出勤率") private String attendance; (2)actualArrives是实到人数 arrives是应到人数 //出勤率 //设置百分数精确 ...
分类:其他好文   时间:2021-06-20 18:31:58    阅读次数:0
Codeforces Round #726 (Div. 2)
#include <bits/stdc++.h> using namespace std; #define rep(i,a,b) for(int i=a;i<b;i++) #define all(x) x.begin(),x.end() #define pb(x) push_back(x) #def ...
分类:其他好文   时间:2021-06-19 19:16:51    阅读次数:0
使用Math产生两数之间的随机数
两数之间随机数,可以用两数之间的最小数(min),最大数(max) 一·、(最大数max-最小数min)+最小数(min) Math.ceil(Math.random()*(max-min)+min) 二、(最小数min-最大数max)+最大数(max) Math.ceil(Math.random( ...
分类:其他好文   时间:2021-06-17 16:44:03    阅读次数:0
Codeforces Round #725 (Div. 3) G题解
G. Gift Set 题意: 给4个数x,y,a,b 每次可以进行2个操作 操作1 如果 x >= a , y >= b , x -= a , y -= b ; 操作2 如果 x >= b , y >= a , x -= b , y -= a ; 问最多可以进行多少次操作 (1≤x,y,a,b≤1 ...
分类:其他好文   时间:2021-06-16 17:56:42    阅读次数:0
17505条   上一页 1 2 3 4 ... 1751 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!