ergodicity liouville theorem and

arcgis注册postgresql失败。postgres be sure the databse client software is installed and configured correct

解决: 将PostgreSQL\9.1\bin目录下的Libpq.dll,Libeay32.dll, Libintl-8.dll, Ssleay32.dll复制一份放在ArcGIS Server安装目录的Server\bin***意:这里拷贝的文件需要都是64位的。 重启arcgis server服 ......

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

###问题提示: ` NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and runn ......

Codeforces 1621H - Trains and Airplanes

这能 3500? 对于一组在 $u$ 上的询问,考虑每种线路 $x$,假设 $1\to u$ 路径上线路 $x$ 的长度为 $len$,那么不难发现收罚款的次数只有两种可能:$\lfloor\dfrac{len}{T}\rfloor$ 或者 $\lfloor\dfrac{len}{T}\rfloor ......
Codeforces Airplanes Trains 1621H 1621

Perkins Engines: Reliable Power in Harsh Environments and High-Strength Operations

Perkins Engines: Reliable Power in Harsh Environments and High-Strength OperationsHello everyone! Today I would like to share with you a powerful engi ......

发布-订阅(Publish-and-Subscribe)模型

发布-订阅(Publish-and-Subscribe)模型是一种消息传递模式,用于在软件系统中实现异步通信和解耦。它基于发布者(发布消息的实体)和订阅者(接收和处理消息的实体)之间的解耦原则。 在发布-订阅模型中,发布者和订阅者之间不直接交互,而是通过一个称为消息代理或消息中间件的组件来进行通信。 ......

CF1842G Tenzing and Random Operations 思考

借鉴了一下 namelessgugugu 的想法,妙妙题。 [link](https://www.luogu.com.cn/blog/namelessgugugu/solution-cf1842g) 这个神奇工具的构造确实挺妙的,非常好的思维题,在此记录一下 ### 代码 ```cpp #inclu ......
Operations Tenzing Random 1842G 1842

cpp generate uuid via rand() and test speed which is 4 times+ faster than libuuid

// main.cpp #include <algorithm> #include <chrono> #include <cstdio> #include <cstdlib> #include <cstdint> #include <ctime> #include <fstream> #includ ......
generate libuuid faster speed times

Codeforces 1172F - Nauuo and Bug

是 Ynoi 捏。 建一棵线段树,线段树上每个节点维护一个长度为 $len$ 的 DP 数组 $f_i$ 表示 $v$ 最少需要多少才能使得从左往右将 $v$ 与区间中的数进行图中的相加操作后会减掉至少 $i$ 次 $p$。 如果我们能预处理出 $f_i$,那么查询是容易的,直接找到对应的区间然后 ......
Codeforces 1172F Nauuo 1172 Bug

Linux系统Apache添加监听端口后无法启动服务并报错:Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xeu httpd.service" for details.

导言:这是SE Linux安全机制导致的。 解决方法: 1.查看当前httpd端口 # semanage port -l|grep http 2.将对应端口加入SE Linux,以8068为例 # semanage port -a -t http_port_t -p tcp 8068 3.再次查看 ......
service quot httpd 端口 journalctl

linux SSH client and terminal termius

介绍一款SSH终端神器,termius 优美的界面,高效的性能,免费版本足够我们使用。支持 mac , windows 双平台! 官网:https://www.termius.com/ 下载地址:https://termius.com/download/ 主界面: ![image](https:// ......
terminal termius client linux SSH

[AGC045D] Lamps and Buttons 题解

# [AGC045D] Lamps and Buttons 题解 首先,由于排列生成随机,所以最优决策就是不决策(反正你也不知道),也就是,让 Snuke 从左往右依次按。 那么,什么情况下 Snuke 会输呢?我们可以把每个 $p_i$ 向 $i$ 连边,我们发现,如果灭着的灯里面存在自环,也就是 ......
题解 Buttons Lamps 045D AGC

MIT 6.S081 Multiprocessors and locking

why lock 防止多核并行运行下的 race condition 导致的错误。 内核中的数据是典型的 concurrently-accessed 的数据。 race condition and how the lock avoid it A race condition is a situati ......
Multiprocessors locking MIT 081 and

《DeepChain: Auditable and Privacy-Preserving Deep Learning with Blockchain-based Incentive》论文笔记

本文的研究背景: 在各种机器学习任务中,深度学习可以实现比传统机器学习算法更高的精度。最近,保护隐私的深度学习引起了信息安全界的极大关注,其中训练数据和训练模型都不会被暴露。联合学习是一种流行的学习机制,其中多方将局部梯度上传到服务器,服务器使用收集的梯度更新模型参数。然而,在联合学习中存在许多被忽 ......

MIT6.s081/6.828 lectrue1:Introduction and examples

目前课程官网能够查到 2020,2021.2022 秋季的课程表,但是视频都是 2020 年录制的那一版 简单复习+回顾下自己的 OS 学习之旅 ## 参考资料: 官网:https://pdos.csail.mit.edu/6.828/2022/schedule.html 视频翻译:https:// ......
Introduction lectrue1 examples lectrue 6.828

Troubles in RunBase's Pack and Unpack Methods

### Trouble description: > When user processed the batch job after clearing the usage data, dialog's parameters will catch the current data from proce ......
Troubles RunBase Methods Unpack Pack

cpp generate random array and then quick sort

#include <algorithm> #include <chrono> #include <ctime> #include <fstream> #include <iomanip> #include <iostream> #include <random> #include <sstream> ......
generate random array quick then

MySQL BETWEEN AND包含边界值

```SQL select count(1) from table_a where my_date between '20230715' and '20230717'; ``` 上面的SQL我们发现只统计了20230715、20230716的数据,没有17日的数据。难道BETWEEN AND不包含边 ......
边界 BETWEEN MySQL AND

"Management" by Stephen P. Robbins and Mary Coulter现代管理科学理论

现代管理科学理论: **Major Approaches to Management** 3000 BC – 1776: Early Management 1911 – 1947 Late: Classical Approach 1700s – 1950s: Behavioral Approach ......
管理科学 quot Management Coulter Stephen

c++ map erase start location and specified count items

// main.cpp #include <algorithm> #include <chrono> #include <ctime> #include <fstream> #include <iomanip> #include <iostream> #include <map> #include ......
specified location erase count items

CodeForces 1848E Vika and Stone Skipping

[洛谷传送门](https://www.luogu.com.cn/problem/CF1848E "洛谷传送门") [CF 传送门](https://codeforces.com/problemset/problem/1848/E "CF 传送门") 感觉比这场的 F 简单。 发现我们要进行 $x$ ......
CodeForces Skipping 1848E Stone 1848

checking whether to use .ctors/.dtors header and trailer... configure: error: missing __attribute__ ((constructor)) support??

001、问题:checking whether to use .ctors/.dtors header and trailer... configure: error: missing __attribute__ ((constructor)) support?? [root@PC1 build]# ......

A. Vika and Her Friends

A. Vika and Her Friends Vika and her friends went shopping in a mall, which can be represented as a rectangular grid of rooms with sides of length $n$ ......
Friends Vika Her and

idea报错 java: You aren't using a compiler supported by lombok, so lombok will not work and has been dis

转‘’: idea较新版本识别不了lombok生成的方法 在这增加参数: -Djps.track.ap.dependencies=false ......
lombok supported compiler using idea

【文献阅读】Optimization and perform criteria of a Stokes polarimeter based on two variable retarders

minimize the noise transmitted through the matrix 主要用三个参数衡量 indicator the condition number (CN) the Equally Weighted Variance (EWV) the error associat ......

CF1848C Vika and Price Tags 题解

每组 $(a_i,b_i)$ 之间相互独立,于是我们只需要考虑一对数 $(a,b)$。 首先 $(0,0)$ 的情况是平凡的。考虑我们需要的状态 $(0,b)$,它的变化过程是这样的:$(0,b)\to(b,b)\to(b,0)\to(0,b)$,所以是三轮一个循环,且除了 $(0,b)$ 之外另外 ......
题解 1848C Price 1848 Vika

CF512D Fox And Travelling 题解--zhengjun

计数好题。 首先对于每个连通块独立考虑,最后合并答案。 发现 点数超过 1 的强连通分量一定删不掉。 - 若连通块中存在 点数超过 1 的强连通分量 - tarjan 缩点之后,称这些点数超过 1 的强连通分量为关键点; - 那么两关键点之间的点也不能删; - 于是对于剩下的点直接 dp 即可,由于 ......
题解 Travelling zhengjun 512D 512

python: thead and processing

线程: # encoding: utf-8 # 版权所有 2023 涂聚文有限公司 # 许可信息查看: # 描述: # Author : geovindu,Geovin Du 涂聚文. # IDE : PyCharm 2023.1 python 311 # Datetime : 2023/7/16 ......
processing python thead and

题解 CF1842H【Tenzing and Random Real Numbers】

看了题解。好难受,想用积分求概率,算了半天。发现没啥规律,不是不能算,就是太可怕了。 ## Problem 有 $n$ 个 $[0,1]$ 范围内的均匀随机变量 $x_{1\cdots n}$ 和 $m$ 条限制,每条限制形如 $x_i+x_j\le 1$ 或 $x_i+x_j\ge 1$。请你求出 ......
题解 Tenzing Numbers Random 1842H

6194: jump and jump 深搜/广搜/动态规划

描述 寒假在家里无聊极了,小w看到地上的瓷砖,想出了一个游戏。这个游戏是这样子的,一共有n个格子,刚开始在起点的时候可以跳到第1个到第k个格子中的一个上面,之后在每个格子上只能向前跳相对应的长度。请问至少需要多少步可以恰好跳到最后一个格子呢? 输入 第一行输入两个整数n和k(1<=n<=100000 ......
jump 动态 6194 and

Linux /etc/passwd and /etc/shadow All In One

Linux /etc/passwd and /etc/shadow All In One Linux 用户管理 Linux 用户权限管理 Raspberry Pi ......
etc passwd shadow Linux All