artifactory notes on
CF1072 Codeforces Round 517 (Div. 2, based on Technocup 2019 Elimination Round 2)
CF1072A Golden Plate 第 \(i\) 个矩形的周长为 \(2(w - 4(i - 1))+2(h - 4(i - 1))-4\),枚举 \(i\) 求和。 #include<iostream> #include<cstdio> using namespace std; int n ......
CF1079 Codeforces Round 522 (Div. 2, based on Technocup 2019 Elimination Round 3)
CF1079A Kitchen Utensils 令 \(c_i\) 表示餐具 \(i\) 出现的数量,最小的餐具套数为 \(t=\lceil \frac{\max\{c_i\}}{k}\rceil\),按照这个计算就好了。 #include<iostream> #include<cstdio> # ......
CF1162 Codeforces Round 557 (Div. 2) [based on Forethought Future Cup - Final Round]
CF1162A Zoning Restrictions Again 每个位置越高越好,暴力模拟即可。 #include<iostream> #include<cstdio> using namespace std; const int N=55; int n,h,m; int a[N]; int m ......
CF957 Codeforces Round 472 (rated, Div. 2, based on VK Cup 2018 Round 2)
CF957A Tritonic Iridescence 如果原序列中有两个相同的字符,显然不合法。 如果开头或者结尾为 ?,或者有两个连续的 ?,或者一个 ? 两边的字符不同显然合法。 否则一定不合法。 #include<iostream> #include<cstdio> using namesp ......
【流行前沿】DRAG Divergence-based Adaptive Aggregation in Federated learning on Non-IID Data
今天再分享一篇9月的联邦学习领域处理异构数据分布的文章。看挂名是复旦的王昕,总的来说只能算是踏实的工作,但是新意上确实不太够。 文章的主要处理对象是解决异构数据在联邦训练中的client-drift问题,当然与很多相似论文一样,也将这个方法迁移到了拜占庭攻击的防范上。不过这个robustness仅通 ......
Congratulations to Google on its 25th birthday All In One
Congratulations to Google on its 25th birthday All In One
祝贺 Google 25 周岁生日 All In One
......
微信防撤回note
附加调试,先提前把TLS的断点删掉免得混淆 找到符号 >WeChatWin.dll,在搜索 >当前区域 >字符串 右键全部断点,再删掉未撤回就断掉的 之后发消息再撤回【这里一定要对方发消息撤回!!!!】 定位到真正的revoke模块,并用;打好注释,共计8次断下 删掉全部断点,打开注释模块(创口贴旁 ......
Windows Tools | How To Install VS Microsoft C++ Build Tools on Windows
How To Install VS Microsoft C++ Build Tools on Windows This can be used for installing anything that requires C++ compiler on Windows. Installation st ......
$().click()和$().on('click','要选择的元素',function(){})的区别
$().click()和$().on('click','要选择的元素',function(){})的区别 demiling 于 2018-10-24 10:43:33 发布 7810 收藏 9分类专栏: 每天总结 文章标签: jquery版权 每天总结专栏收录该内容10 篇文章1 订阅订阅专栏$(选 ......
关于wake on lan远程唤醒主机的问题,长时间关机无法远程唤醒
英特尔在年初发布了几款低功耗的CPU,国内厂商在迷你主机领域纷纷搭载新款CPU,卖的火爆。之前关注过迷你主机这块,于是,我也入手一个迷你主机玩玩,买的是板载N100的迷你主机。使用过程中会涉及到如何远程开启主机服务,从网上查了一些方法,无碍乎就是智能插座、开机棒、开机盒子等。如何在不添置设备的情况下 ......
在操作过程中遇到Attempting to operate on hdfs namenode as root报错
在操作过程中遇到Attempting to operate on hdfs namenode as root报错 HDFS格式化后启动dfs出现以下错误: [root@hadoop101 sbin]# start-dfs.sh Starting namenodes on [hadoop101] ER ......
[Ant Design Pro] a brief note when trying a frontend framework
I'm a backend developer and know little about frontend. but recently I tried a frontend building tool, Ant Design Pro. Here is an note when initiating ......
Artifactory简介
Artifactory(JFrog Artifactory)1.Artifactory概念 一个通用的二进制仓库,Maven仓库服务端软件。它可以存储Docker镜像、IOS/Android/EXE软件包,或者Maven Jar包 由Java实现,从7.43.x开始,其安装包自带JDK 17;开源的 ......
COMP3322 notes P2 - HTML Basic
用课程上介绍的 HTML validation 网站 W3C Markup Validator 检查了一下本站 HTML 文件的正确性,结果弹出了 57 个 Error 与 Warning。我在魔改的时候到底做了些什么啊…… 不过从这也能看出 HTML 语言的 permissive 性质;宽松的语法 ......
COMP3322 notes P1 - Internet & WWW Basic
选这门课完全是为了推进我博客美化的大业!希望学完之后 update logs 里的一部分 issues 能自己亲手解决。 首先来到 Internet and WWW basic: 这些基本的 network 知识对接下来的 front-end framework 学习大有裨益。Internet, W ......
「Note」 POI 套题
POI 2015 \(\color{royalblue}{P3585\ [POI2015]\ PIE}\) 此题是简单题。 对于方格的一种状态,其中最前排最靠左需要打印的位置,能且只能用印章最前排最靠左的打印位置来打印。不难想到每次找到这样一个未被打印的位置,相对于印章打印位置进行匹配,直接模拟即可 ......
[20230908]Oracle Index Range Scan with LIKE Condition on Wildcard '_'.txt
[20230908]Oracle Index Range Scan with LIKE Condition on Wildcard '_'.txt--//昨天看链接:http://ksun-oracle.blogspot.com/2023/09/oracle-index-range-scan-wit ......
更新wsl,docker无法启动wrong fs type, bad option, bad superblock on cgroup, missing codepage or helper program, or other error.解决方案
PS C:\Users\xxxx> wsl -vWSL 版本: 2.0.0.0内核版本: 5.15.123.1-1WSLg 版本: 1.0.57MSRDC 版本: 1.2.4485Direct3D 版本: 1.608.2-61064218DXCore 版本: 10.0.25880.1000-2306 ......
MySQL压缩包安装问题记录Can't connect to MySQL server on localhost (10061)解决方法
本文章向大家介绍MySQL问题记录--Can't connect to MySQL server on localhost (10061)解决方法,主要包括MySQL问题记录--Can't connect to MySQL server on localhost (10061)解决方法使用实例、应用 ......
springBoot 启动报错: If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
原因 其实这个异常在SpringBoot中是一个比较常见的异常,一般是因为SpringBoot自动配置时,检测到我们添加了MySQL、Oracle、Mybatis等和数据库相关的依赖包,结果我们的配置文件中却没有添加数据库相关的配置,比如: spring: datasource: driver-cl ......
CF1808E2&3 Minibuses on Venus
原题medium 原题hard 翻译 如果你不会CF1808E1的\(O(nK^3)\)做法,请点击这里 本题涉及:数据诈骗,这道题可以做到\(O(\log{n} + \log{K})\)的复杂度 我们发现对于所有数位的和\(S\),满足\(2x \equiv S (\mod K)\)的\(x\)的 ......
题解 [ARC165C] Social Distance on Graph
赛时:看不懂题,啊这! 赛后:就这? 题目描述 有一个简单相连的无向图,其顶点数为 \(n\),编号为 \(1\) 至 \(n\)。图中有 \(m\) 条加权边,第 \(i\) 条边连接顶点 \(a_i\) 和 \(b_i\),权重为 \(w_i\)。此外,连接两个顶点的简单路径的权重是简单路径中包 ......
Go - Study Note 1
In general, for most server applications that would be built out there—most would be written with the struct approach. One of the main reasons would b ......
CF1808E1 Minibuses on Venus (easy version)
原题 翻译 一道数位\(dp\)题 记\(S = \sum_{i=1}^{n}{a_i}\),原题即要求是否存在\(i\)满足 \(S - a_i \equiv a_i (\mod K)\) 移项得\(S \equiv 2a_i (\mod K)\) 因此我们考虑枚举\(2a_i\)的值记作\(sm ......
How to enable HTTPS on a localhost Node.js Server All In One
How to enable HTTPS on a localhost Node.js Server All In One
Let's Encrypt - Free SSL/TLS Certificates
......
left join 后用 on 还是 where
一、背景 前天写SQL时本想通过 A left B join on and 后面的条件来使查出的两条记录变成一条,奈何发现还是有两条。 后来发现 join on and 不会过滤结果记录条数,只会根据and后的条件是否显示 B表的记录,A表的记录一定会显示。 不管and 后面的是A.id=1还是B. ......
webpack打包报错:Unexpected token (Note that you need plugins to import files that are not JavaScript)
关于这个问题,我在网上查找了一些资料(博客、问答),得到的答案多种多样: 1. 可能是缺少rollup的某种plugin; 2. 可能是系统环境的问题(windows/linux/macos); 3. 可能是某段代码引起的问题; 4. 。。。 经过对自身情况的逐步测试定位,发现 -> 出问题的代码片 ......
win7系统 安装python3.6.5版本遇到“user installations are disabled via policy on the machine” 和“0x80070643 ”错误情况
一、遇到提示“user installations are disabled via policy on the machine”是 系统策略禁止这个安装 解决方案: 方法一: 1、打开【开始】菜单,选择【运行】。 2、在运行窗口中【打开】一栏输入【gpedit.msc】,点击【确定】。 3、此时会 ......
MySQL关联查询ON条件和查询结果不一致
CREATE TABLE `a` ( `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `supply_id` bigint(20) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE= ......
document install LibreOffice_7.6.1.2 on Debian12
目录Download PackageOpen the programinstall Languare PackageUninstall LibreOffice from Debian Linux Libreoffice official website Package download addres ......