shadow the dog and
The Super Powers UVA - 11752
求1~2^64 区间里, 有多少合法数X 合法数: X= a^b ,至少存在2个不同的a #include <iostream> #include <algorithm> #include <vector> using namespace std; const int N =65536+3; int ......
box-shadow 操蛋玩意
https://www.cnblogs.com/libo-web/p/15705558.html https://www.jianshu.com/p/9f62ad2abfeb https://blog.csdn.net/mouday/article/details/116781796 ......
CF 476B Dreamoon and WiFi
Dreamoon and WiFi 一个简答的组合数学题。开始想弄一个很妙的做法,但是我理解不了,或者说理解困难,半天没搞出来,然后试着还是用朴素好想的做法做吧,结果马上做出来了。 选择朴素的做法时还是有个地方想不清楚,分类讨论 + 举例一下子清楚了。 ......
How to execute a shell script in the .profiles file All In One
How to execute a shell script in the .profiles file All In One
......
D. The Butcher(思维+构造)
题目 Codeforces Round 866 (Div. 2)D. The Butcher 题意 n个数对a,b,表示矩形 这n个矩形通过原先一个大矩形分割而来 每次分割只在上一次分割的矩阵其中之一 现在原先的矩阵大小未知,问有原先的矩阵(在切割过程中不会旋转矩阵)多少种,并输出 保证至少存在一种 ......
「解题报告」AGC007E Shik and Travel
不难的题,但是突然就不会分析复杂度了!脑子出了些什么问题。 首先考虑题目中要求一条边恰好经过两次,那么也就是说每进入一个子树,那么就必须把子树内的所有点探索完后再去另一个子树,那么这个问题就显然是可以递归处理的了。 具体来说,对于每一个子树 $u$,都存在若条路径 $u \to v$,然后当子树合并 ......
启动SSH服务报:Job for ssh.service failed because the control process exited with error code.......
Job for ssh.service failed because the control process exited with error codesee systemctl status ssh.service and journalctl -xe for details.然后按照提示输入: ......
[Flink] Flink作业报错:Caused by: The connector is trying to read binlog starting at GTIDs ..., but this is no longer available on the server[转载]
这个问题,属于偶现问题。通常几个月才偶现一次。 因为上周五又出现了一次,且团队内多位小伙伴都遇到过。故此,这次特别记录下,以加强印象。 1 问题描述 Flink作业报错:Caused by: The connector is trying to read binlog starting at GTI ......
How to use Linux shell command filter the IP address All In One
How to use Linux shell command filter the IP address All In One
如何使用 Linux shell 命令过滤 IP 地址
......
The 1st Universal Cup Stage 12: ̄Ookayama, April 15-16, 2023 Problem A. XOR Tree Path
题意 给定一颗树,对于每个节点有一个颜色(白色或者黑色),对于一个操作:选择一个叶子节点,对于从叶子节点到根节点路径上的所有颜色反转(黑变白,白变黑)。让你求出使用任意次操作后,整个树上黑色节点最多有多少个。 思路对于每个节点在最终状态有两种结果,一个是不变,一个是反转颜色。如果颜色反转,则在这个节 ......
vue 项目npm run dev(启动)时报错The service was stopped
vue项目yarn upgrade后vite build报错,如何项目也运行不起来了。 报错截图: 解决办法: 删除node_modules文件夹,然后执行yarn install重新生成心的node_modules。 ......
A Crash Course on the Depths of Win32™ Structured Exception Handling
January 1997 A Crash Course on the Depths of Win32™ Structured Exception Handling At its heart, Win32 structured exception handling is an operating sy ......
How to use the Raspberry Pi to study the Linux kernel source code All In One
How to use the Raspberry Pi to study the Linux kernel source code All In One
如何利用树莓派来研究 Linux 内核源码 All In One
在 Linux 系统中,一切皆文件!
......
node中使用axios时:Error: unable to verify the first certificate 报错
参考 https://www.daozhao.com/10611.html 报错原因: 在使用浏览器访问时,客户端、服务器在握手阶段完成验证。当我们在node中使用axios请求时,客户端没法确认服务端的TLS证书 解决方案 1、局部 const axios = require('axios') c ......
储存数据至mysql数据库时出现 (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '),'自营店')' at line 1")报错该怎么解决?
在msyql数据库中存储数据时,程序出现了如下报错: 打印存储的数据类型发现数据类型有错误,将数据转为str类型就可以了。。。 解决思路: 在初入数据库学习时,出现这个报错还是有些懵的,于是改了捕获异常,发现存储数据函数有问题。从报错中可以看出是有跟'自营店'类似的数据有关系的,于是,查看了自己的数 ......
Udhcpc.user script documentation and how to hotplug for DHCP events
Udhcpc.user script documentation and how to hotplug for DHCP events https://forum.openwrt.org/t/udhcpc-user-script-documentation-and-how-to-hotplug-fo ......
how to use cURL with a variable in the URL string All In One
how to use cURL with a variable in the URL string All In One
如何在 cURL 的 URL 字符串中使用变量
系统变量
环境变量
shell 变量 ......
How to use SSH to access the Raspberry Pi without know the Wi-Fi IP address All In One
How to use SSH to access the Raspberry Pi without know the Wi-Fi IP address All In One
如何在不知道 Wi-Fi IP 地址的情况下使用 SSH 访问树莓派
没有显示器,不知道树莓派 IP 地址的情况下,如何通过 ... ......
11 Geometry(Curves and Surface)
关键点 Bezier Curves Bezier Surfaces 1. Bezier Curves 贝塞尔曲线 用一系列的控制点定义一个曲线,并且定义了一系列控制。 如下定义起止点为p0、p3,且定义起始切线,则绘制出一条曲线。 1.1 de Casteljau Alogrithm Three i ......
SpringBoot配置了数据库依赖 报错: Failed to configure a DataSource: 'url' attribute is not specified and no embe
错误 2023-04-15 11:56:16.025 INFO 12028 [ restartedMain] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the co ......
Ian and Array Sorting
题目链接 题目描述: To thank Ian, Mary gifted an array $a$ of length $n$ to Ian. To make himself look smart, he wants to make the array in non-decreasing order ......
FIT5201 Complexity and Model Selection
Assignment 1, FIT5201, S1 20231 Model Complexity and Model Selection In this section, you study the effect of model complexity on the training and tes ......
Moves, copies and clones in Rust
原文链接:Moves, copies and clones in Rust 简介(Introduction) move 和 copy 是 Rust 中的基础概念。这对于来自 Ruby、Python 或 C#等垃圾回收语言的程序员来说可能是完全陌生的。这些术语在 C++中也确实存在,但它们在 Rust ......
08 Shading(Shadding, Pipeline and Texture Mapping)
关键点 Real-Time Rendering Pipeline Shader 1. Graphics(Real-time Rendering) Pipeline 管线 1.1 Pipeline MVP, Rasterization, Z-Buffer, Shading, Texture 1.2 S ......
07 Shading (Illumination, Shading and Graphics Pipeline)
关键点 Blinn-Phong Reflectance Model Specular Diffuse Ambient 对不同的物体应用不同的材质,不同的材质与光线的相互作用存在不同的方法。 1. Blinn-Phong Reflectance Model 1.1 光源 Specular highli ......
06 Rasterization (Antialiasing and Z-Buffering)
关键点 MSAA/FXAA/TAA Z-Buffering 1. Antialiasing 反走样 1.1 Sampling Artifacts Jaggies Moire Patterns 摩尔纹 Wagon Wheel Effect 1.2 Blurring(Pre-Filtering) 模糊 ......
Linux input and ouput command < symbol & > symbol All In One
Linux input and ouput command < symbol & > symbol All In One
left input / right output
< 向左侧输入
> 向右侧输出
pbcopy
pbpaste
剪切板
......
error and except
import logging logging.basicConfig(filename="std.log", format='%(asctime)s %(message)s', filemode='w') logger=logging.getLogger() logger.setLevel(logg ......
Oracle OEM中EMGC_OMS1指标警报The heap usage使用率过高
Oracle OEM中EMGC_OMS1指标警报The heap usage使用率过高 OEM报警EMGC_OMS1目标堆内存占用率过高。 我的环境OEM版本是13.3。 默认监控目标EMGC_OMS1的最大内存使用是1740M,当前的最大堆内存值对于实际的 OMS 负载来说太低了。 由于已经定期生 ......
springBoot启动 Error running Application. Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun.
1. 打开SpringBoot启动配置 2.选择shorten command line 3.apply保存就行了 ......