To

【题解】AtCoder-ABC306G Return to 1

这也太强了! 容易想到的是用若干环拼出这个 $10^{10^{100}}$,也就是这些环的 $\gcd \mid 10$。 之后就不会了。 先正图反图两次 DFS,只留下 $1$ 所在强连通分量里的边,对正图跑 DFS 生成树,定义其深度从 $0$ 开始,然后有一个结论是:对于任何正整数 $a$,图 ......
题解 AtCoder-ABC AtCoder Return ABC

Ubuntu提示【Authentication is required to create a color profile/managed device】

1. 安装vim apt install vim -y 2. 修改文件 vim /etc/polkit-1/localauthority/50-local.d/45-allow-colord.pkla 3. 粘贴以下内容 [Allow Colord all Users] Identity=unix- ......

CMake Error at /root/anaconda3/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:9 (message): Failed to fi

001、问题 CMake Error at /root/anaconda3/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:9 (message): Failed to fi 002、 报错原因 centos中没有安装opengl,安装opengl [root@P ......

-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system vari

系统是centos7.6 001、问题 -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system vari 002、解决方法 [root@PC1 cmake-3.27.0-rc3]# yum ......
OpenSSL the folder system Could

【redis已解决】Warning: no config file specified, using the default config. In order to specify a config

1.启动redis:双击redis-server.exe。 报错:Warning: no config file specified, using the default config. In order to specify a config file use F:\liuf\Redis3\red ......
config specified Warning default specify

python: How to Create a Python Package

上篇博文的两个类文件,拖着一个创建好的包名Model中,有些代码会自己生成变化 """ StudentScoreInfo.py 学生成绩类 date 2023-06-16 edit: Geovin Du,geovindu, 涂聚文 ide: PyCharm 2023.1 python 11 """ ......
Package python Create Python How

记一次Unable to open nested entry ‘BOOT-INFlib.jar‘. It has been compressed

感谢原文:https://blog.csdn.net/weixin_38084097/article/details/126479173 ### 问题背景 前段时间由于工作失误,误将工程项目中某一个依赖包没有添加@loadbalanced注解就直接打包依赖到的主工程中,并发送项目现场测试。出来混的, ......
BOOT-INFlib compressed Unable INFlib nested

MySQL中str_to_date函数和cast函数

**MySQL**怎么将字符串转为**datetime**类型?两种转换方法:1、使用str_to_date()函数,可以格式化字符串,根据指定格式将其转为日期时间值,语法“str_to_date(字符串值, 转换格式)”。2、使用CAST()函数,可以将指定字符串值转换为datetime数据类型, ......
函数 str_to_date MySQL date cast

java.lang.ClassCastException java.util.Date cannot be cast to java.sql.Date

报错信息:java.lang.ClassCastException: java.util.Date cannot be cast to java.sql.Date 原因是:![image-20221228161631614](https://img2023.cnblogs.com/blog/2446 ......
java ClassCastException Date cannot cast

permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock:

001、问题 [liujiaxin01@PC1 ~]$ docker search omicsclass permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.s ......
permission connect denied Docker daemon

QT信号槽报错no matching member function for call to 'connect'

# QT信号槽报错no matching member function for call to 'connect' ## 问题 ```cpp connect(dynamic_cast(parent),&AnalyseWindow::sigStart,timerRefresh,&QTimer::st ......
matching function 信号 connect member

【python】解决'charmap' codec can't decode byte 0x8d in position 1974: character maps to <undefined>

一、场景 使用paramiko连接ssh服务器,处理回显,然后报错 二、处理方法 问题代码 # encoding = chardet.detect(data) # if encoding.get('encoding'): # encode = encoding.get('encoding') # e ......
character undefined 39 position charmap

1595. Minimum Cost to Connect Two Groups of Points] (Hard)

Description 1595. Minimum Cost to Connect Two Groups of Points (Hard) You are given two groups of points where the first group has size1 points, the s ......
Minimum Connect Groups Points 1595

Porting Code to Python 3 with 2to3

# 参考 https://www.cmi.ac.in/~madhavan/courses/prog2-2012/docs/diveintopython3/porting-code-to-python-3-with-2to3.html ......
Porting Python Code 2to3 to

Proj. CAR Paper Reading: C3PO: A Lightweight Copying Mechanism for Translating Pseudocode to Code

## Abstract 本文: 方法:直接从伪代码中利用多数tokens,以此节约计算代价 步骤: 1. Copy: 使用二分类来决定哪些pseudocode tokens to be masked,以便直接使用 2. Generate: 使用Seq2Seq来生成masked PL code 3. ......

python: Reading and Writing JSON to a File

#import json jsondata = { 'sqlserver': [ { "server": "DESKTOP-NQK85G5\GEOVIN2008", "useid": "sa", "password": "geovindu", "database": "Student" } ], ' ......
Reading Writing python JSON File

Neat Stuff to Do in List Controls Using Custom Draw

Using the custom-draw features in version 4.70 of the common controls to customise the look and feel of list controls Is your email address OK? You ar ......
Controls Custom Stuff Using Neat

add libs to demo project using cmake

``` cmake_minimum_required(VERSION 2.8 FATAL_ERROR) project("demo") set(DEMO_INCLUDE_DIRS "./include") set(DEMO_LIB_DIRS "./lib") message("${DEMO_INCL ......
project cmake using libs demo

mysql -u root -p启动报错:ERROR 2003 (HY000) Can‘t connect to MySQL server on ‘localhost3306‘ (10061)

正常安装完mysql后,在mysql的bin文件夹下运行 mysql -u root -p,提示:ERROR 2003 (HY000) Can‘t connect to MySQL server on ‘localhost3306‘ (10061) 解决步骤: 1、配置好mysql文件下的my.in ......
localhost connect server mysql ERROR

maven构建报错:Unable to load the mojo 'install' (or one of its required components) from the plugin 'org.apache.maven.plugins:maven-install-plugin:2.4'

项目在执行maven clean install时,报错: Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) on project sby-compon ......
maven install plugin maven-install-plugin 39

2023-06-20 TypeError: Cannot use 'in' operator to search for 'storeInfo' in undefined

前言:uniapp项目报错:[system] TypeError: Cannot use 'in' operator to search for 'storeInfo' in undefined 原因:data里面没有写return,如下: <script> export default { dat ......
39 TypeError storeInfo undefined operator

终端运行roscore时,报错:Unable to contact my own server at...

### 问题现象: ### 问题原因: 以上问题是由于ROS环境变量ROS_MASTER_URI设置错误导致的,重新设置该变量即可。 ### 解决方法: 打开~/.bashrc文件,添加或修改环境变量ROS_HOSTNAME和ROS_MASTER,即改为: ```bash export ROS_HO ......
终端 roscore contact Unable server

[vue] Error: @vitejs/plugin-vue requires vue (>=3.2.13) or @vue/compiler-sfc to be present in the dependency tree.

## 问题描述 ![](https://img2023.cnblogs.com/blog/1274626/202306/1274626-20230620091747723-1505063965.png) ##解决方法 ``` npm i vue@3.2.26 ``` 重新运行即可 ``` npm r ......

报错:Failed to execute goal org.codehaus.mojo:........快速解决!

## 解决:`Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:exec (default-cli) on project spring_aop: Command execution failed.`的问题 *** 出现 ......
codehaus execute Failed goal mojo

BindingException异常:Type interface com.niuyun.dao.UserDao is not known to the MapperRegistry.解决了

## Mybatis出现:`org.apache.ibatis.binding.BindingException: Type interface com.niuyun.dao.UserDao is not known to the MapperRegistry.`的错误,如何解决? #### 错误如 ......

this version of the Java Runtime only recognizes class file versions up to 52.0

在 SAP Commerce Cloud Backoffice 做 full indexing 时,遇到错误消息: > ERROR: Error from server at https://localhost:8983/solr: Error CREATEing SolrCore 'master_ ......
recognizes versions Runtime version class

To ChatGPT:让你更加随意地使用所有ChatGPT应用

现在其实已经有很多在线的llm服务了,当然也存在许多开源部署方案,但是不知道大家有没有发现一个问题,目前基于ChatGPT开发的应用,都是使用的OpenAI的接口。换句话说,如果没有OpenAI账号,就没有办法使用这些应用。但是其实这些应用并不是强依赖于OpenAI的接口,其他的在线llm服务也是可 ......
ChatGPT To

QA|ValueError: write to closed file报错怎么debug|IHRM接口自动化测试

unittest生成自动化测试报告时报错ValueError: write to closed file,如下图 代码如下: 原因排查:因为with open打开文件后会自动关闭,也就是上图16行执行完就自动关闭了,此时再执行测试套件就无法写入已关闭的文件中了,解决办法是把测试套件执行操作放到wit ......
ValueError 接口 closed write debug

解决连接数据库时is not allowed to connect to this MySql/mariadb server 的错误

出现这个问题是数据库拒绝远程连接导致的。 进入 mysql 数据库中 mysql -u root -p grant all privileges on *.* to 'root'@'%' with grant option; flush privileges; OK!!! ......
错误 allowed connect mariadb 数据库

关于ASP.NET.CORE中的Failed to read parameter "string param" from the request body as JSON的处理

先上报错信息 Microsoft.AspNetCore.Http.BadHttpRequestException: Failed to read parameter "string param" from the request body as JSON. > System.Text.Json.Js ......
quot parameter request Failed string