(可能 ?)会记录一下最近 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编解码 二、源代码 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
<!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
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) 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
效果图: cs: 1 /// <summary> 2 /// ColorPick.xaml 的交互逻辑 3 /// </summary> 4 public partial class ColorPick : UserControl 5 { 6 ChangeSource _changeSource; ...
(1)实体类的对应字段要设置成string类型,不能用int 或者其他数字类型 @ApiModelProperty(value = "出勤率") private String attendance; (2)actualArrives是实到人数 arrives是应到人数 //出勤率 //设置百分数精确 ...
分类:
其他好文 时间:
2021-06-20 18:31:58
阅读次数:
0
#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
两数之间随机数,可以用两数之间的最小数(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
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