901

Codeforces Round 901 (Div. 2)

Codeforces Round 901 (Div. 2) 比赛链接 "考古"啦!之前没有做,现在补上 A. Jellyfish and Undertale 题目链接 思路: 按理说用模拟应该也是可以做到的,但是我应该没有写好,因为我们要找的是最大时间,所以我们每次加上的是min(a-1,x[i]) ......
Codeforces Round 901 Div

[901] Reuse variables of CMD batch scripts

In a batch file, you can reuse a variable to generate different file paths by concatenating the variable with other strings or variables. Here's an ex ......
variables scripts Reuse batch 901

Codeforces Round 901 (Div. 2) D. Jellyfish and Mex (DP)

Codeforces Round 901 (Div. 2) D. Jellyfish and Mex //思路:对于大于mex的数不做处理,把0删完为结束 //dp[j]为mex更新到j所需要的最小花费 //用mex=i时更新到j,转移方程为 dp[j] = min(dp[j], dp[i] + i ......
Codeforces Jellyfish Round 901 Div

Codeforces Round 901 (Div. 2) C. Jellyfish and Green Apple (位运算)

Codeforces Round 901 (Div. 2) C. Jellyfish and Green Apple //思路:浮点数转二进制,a/b的结果为 gcd(a,b)*最简分式(n/m)的结果 //苹果能分的前提是人数得是一个2的次幂数,通过切割只能分为形同0.001的二进制小数 //a/ ......
Codeforces Jellyfish Apple Round Green

Codeforces Round 901 (Div. 2) - A B

目录A. Jellyfish and UndertaleB. Jellyfish and Game 题目传送门 A. Jellyfish and Undertale 贪心考虑每次时间减到 1 时能否使用工具加时间,注意总时间上限是 a B. Jellyfish and Game 贪心考虑美每位选手肯 ......
Codeforces Round 901 Div

Codeforces Round 901 (Div. 2)

Preface 摆烂人闪总出列,开个小号摆烂打Div2,龟速1h写完前四题后发现后面三个题过的人数是1/2/1 遂假装挣扎了下看了下EF题面,发现F很可做就开始推式子,后面一看妈的样例都过不去才发现题目看错了 还好拿的新号打的,遂直接无限活力,启动! 后面看了下F原来比我想的还简单来着,E的做法确实 ......
Codeforces Round 901 Div

Codeforces Round 901 (Div. 2)

目录写在前面ABCDE写在最后 写在前面 比赛地址:https://codeforces.com/contest/1875。 爱丽数码我真的好喜欢你啊为了你我要定制你的帆布包口牙!!!! A 显然只会在剩余时间为 1 时使用工具,模拟即可。 // /* By:Luckyblock */ #inclu ......
Codeforces Round 901 Div

题解 Codeforces Round 901 (Div. 1) / CF1874A~E

题解 Codeforces Round 901 (Div. 1) / CF1874A~E 比赛情况:过了 AB。赛后发现 B 是假复杂度。 https://codeforc.es/contest/1874 A. Jellyfish and Game Problem Alice & Bob 又在博弈, ......
题解 Codeforces Round 1874 901

Codeforces Round 901 (Div

C. Jellyfish and Green Apple 题解 显然\(n \% m =0\),答案一定为\(0\) 如果\(n > m\),我们显然可以将\(n / m\)的苹果分给每个人,然后再处理$n % m $ 如果\(n < m\),我们一定会将所有苹果一直对半切直到\(n > m\),所 ......
Codeforces Round 901 Div

Codeforces Round 901 (Div. 2)

Codeforces Round 901 (Div. 2) A - Jellyfish and Undertale 解题思路: 卡在最后秒放。 若\(x_i > (a - 1)\):那么该\(x_i\)的贡献为\(a - 1\)。 否则,该\(x_i\)的贡献为\(x_i\)。 代码: #inclu ......
Codeforces Round 901 Div

901DIV2 (A~D)

901DIV2 A~D A: 大于等于\(a-1\)的贡献都是a-1. void solve(){ int ans=0; int a,b,n; cin>>a>>b>>n; ans+=b; for(int i=1;i<=n;i++){ int x; cin>>x; if(x>=a) x=a-1; an ......
DIV2 901 DIV

ALLIED TELESISAT-2712FX/MT-SB-901 990-004100-901

W;① ⑧ 0 ③ 0 ① 7 7 7 5 9ALLIED TELESISAT-2712FX/MT-SB-901 990-004100-901,ALLIED TELESIS AT-2712FX/MT-SB-901 990-004100-901,AT-210T,ALLIED TELESIS AT-27 ......
901 TELESISAT ALLIED 004100 MT-SB

AcWing901. 滑雪(python)

# 题目详情 ![](https://img2023.cnblogs.com/blog/2826001/202305/2826001-20230522162406198-673075706.png) ![](https://img2023.cnblogs.com/blog/2826001/20230 ......
AcWing python 901

VBA学习笔记901_代码留存

只是为了记录一些跑过的代码,尽量加上注释,但有些非常简单,只是为了以后快速熟悉代码结构 条件选择 `最基本 If 逻辑表达式 Then ' 如果逻辑表达式为真,则执行这里的语句 End if `加强版 If 逻辑表达式 Then ' 如果逻辑表达式为真,则执行这里的语句 Else ' 否则(即逻辑表 ......
代码 笔记 VBA 901

JAVA对接维特智能WIT901WIFI传感器

背景 最近有个项目需要对接传感器,将传感器的数据转发到其他设备,目前只有维特智能的WIT901WIFI传感器。 传感器长这样 配置网络 这个传感器是通过WIFI传输数据,所以第一步需要配置WIFI。 下载上位机软件 官方页面 https://wit-motion.yuque.com/wumwnr/d ......
传感器 智能 JAVA WIFI 901
共15篇  :1/1页 首页上一页1下一页尾页