on
AGC013C. Ants on a Circle
原:[CF652F. Ants on a Circle](https://codeforces.com/problemset/problem/652/F) 太摆了!不能摆了!不会写题!来写博客! 首先套路的,蚂蚁相遇时我们可以看作他们的编号交换后继续往前走,可以求出最后的所有位置。同时,显然最早和最 ......
CF1860C Game on Permutation
[递推法解决博弈论问题。](https://codeforces.com/problemset/problem/1860/C "递推法解决博弈论问题。") 博弈论问题基本思路是先确定“状态”,即先手必胜或者先手必败。这里定义“必胜/必败”为**走到当前格子的人**的结局(赛时因为搞混了走入的人和走出 ......
mongodb报错not authorized on testdb to execute command
用户反馈说没有权限,报错如下: not authorized on testdb to execute command { find: "Schedule", filter: {}, skip: 0, limit: 20, maxTimeMS: 60000, lsid: { id: UUID("41 ......
gitlab配置Emails on push的方法
以下操作以qq邮箱为例,步骤如下: 1、需要在gitlab的配置文件【/etc/gitlab/gitlab.rb】中修改配置: 2、重启gitlab加载配置【gitlab-ctl reconfigure】 之后要在gitlab后台配置启用邮件推送 3、进入要设置的项目--》设置--》集成--》推送时 ......
A RenderFlex overflowed by 483 pixels on the right.
A RenderFlex overflowed by 483 pixels on the right. Flutter出现List<dynamic> is not a subtype of type List<String>解决方法_flutter list<dynamic>_codekxx的博客- ......
Proj CDeepFuzz Paper Reading: An Extensive Study on Pre-trained Models for Program Understanding and Generation
## Abstract ## 1. Intro ## 2. Background ### 2.1 Program Understanding and Generation Tasks ### 2.2 NL-PL Pre-Trained Models  视频贡献者 | 王维饶 视频制作者 | 聂同学 编辑整理 | Debra Chen > Apache ......
Codeforces Round 844 (Div. 1 + Div. 2, based on VK Cup 2022 - Elimination Round)
## **A. Parallel Projection** 长方体的高是一定会走的,那么只要考虑是如何走哪个侧面,枚举四种情况即可。 ```cpp void solve(){ int n=read(),m=read(),h=read(); int a=read(),b=read(),c=read() ......
How to ask a good question on StackOverflow All In One
How to ask a good question on StackOverflow All In One
在 StackOverflow 上如何提出一个好问题
我们很乐意为你提供帮助,但为了提高你获得答案的机会,请遵循以下一些准则:
......
Prometheus on k8s 部署与实战操作进阶篇
[TOC] ## 一、概述 Prometheus是一种开源的监控和警报工具,用于收集和记录应用程序和系统的度量数据。它特别适用于在Kubernetes集群中监控容器化应用程序。Kubernetes集群中通常与Prometheus一起使用的组件是Prometheus Operator和Grafana。 ......
Windows 10 on ARM, version 22H2 (updated Aug 2023) ARM64 AArch64 中文版、英文版下载
Windows 10 on ARM, version 22H2 (updated Aug 2023) ARM64 AArch64 中文版、英文版下载 基于 ARM 的 Windows 10 请访问原文链接:,查看最新版。原创作品,转载请保留出处。 作者主页:[sysin.org](https://s ......
安装celery后,提示WARNING/MainProcess...you should set broker_connection_retry_on_startup to True.解决办法
调用了Celery的config_from_object方法,并新建文件celery_config.py存放设置 在celery中设置broker_connection_retry_on_startup = True 效果没有提示了。 ......
Autofac报错No constructors on type 'xxx' can be found with the constructor finder
**No constructors on type 'JK.TitanData.Repository.Fact_Sales_GMVTargetTotalRepository' can be found with the constructor finder 'Autofac.Core.Activat ......
debian on vbox
https://wiki.debian.org/VirtualBox # guest Addition ```bash sudo apt install build-essential dkms linux-headers-$(uname -r) ``` ```bash cd /media/cdro ......
uniapp路由跳转后通过uni.$emit和uni.$on页面通讯后,接收到数据但是却赋值不了
原因:跳转到未渲染过的页面时,页面还没渲染就进行赋值操作,所以赋值不上去。 如果往后跳转,可以使用 uni.$emit和uni.$on页面传值。即uni.navigateBack({delta:1}),尽量不要使用uni.navigateTo(会造成页面重叠)。 能够接收到数据并赋值。 解决办法:使 ......
前端项目报EISDIR: illegal operation on a directory, read这个错误
背景: 我用webstorm开发前端页面时,项目用Vue3来开发,出现如下报错。  参考图 玩法说明 基于gitlab 进行代码管理,通过ci ......
使用 UCS(On-Premises) 管理您的GPU资源池,释放AI大模型算力潜能
UCS(On-Premises)旨在将云上的服务能力延伸至各行业的客户的本地数据中心,结合volcano的AI作业管理及智能调度能力、xGPU的GPU虚拟化能力,帮助用户快速在IDC构建云原生的AI基础设施,更细粒度的使用GPU资源,让用户聚焦AI的业务开发,最大限度释放AI大模型算力潜能。 ......
Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range
在使用浏览器内置API btoa() 编码base64时: 报错Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range 报错信息解释: ......
a build cache key that uniquely defines the task’s outputs based on its inputs
Build Cache https://docs.gradle.org/current/userguide/build_cache.html The Gradle build cache is a cache mechanism that aims to save time by reusing o ......
为Prometheus monitoring stack on K8s 部署ingress controller
把流落在外的21年那篇blog搬回来 https://github.com/wakengmeow/wakengmeow/tree/main 最近有个项目需要在k8s上部署prometheus,alertmanager和grafana。其中有个需求是用统一的入口访问三个服务的web接口从而尽可能少的暴 ......
ON JAVA 8读书笔记|前言
ON JAVA 8这本书是基于Java 8的特性进行编程教学的,同时也根据Java11、Java17这三大LTS【长期支持版本】版本新特性做了关键更新。 Java 8最大的改进是引入了函数式编程【lambda表达式、流(stream),函数式基本类型(functional primitive)】,这 ......
CF-1860C Game on Permutation题解
题意:在一条数轴上,Alice可以跳到在你所在点前面且值比当前所在点小的点。每回合可以向任意符合要求的点跳一次。当轮到Alice的回合同时不存在符合要求的点,Alice就赢了。Alice可以选择一个点作为起始点,然后作为后手(赛时这里把我坑了)。问有多少个点是必胜的点。 $n\leq 3\times ......
[AGC003E] Sequential operations on Sequence 题解
神仙思维题,那我的评价是太妙了。 ### 思路 我们发现正的十分难以维护这个过程。 考虑可以倒着进行这个操作。 容易发现对于整块,我们找到在前面第一个小于它的 $a_i$。 然后就会有一个贡献的转移,$f_i=f_{now}\times \frac{a_{now}}{a_i}$。 至于散块,我们发现 ......
GitHub: remote:Support for password authentication was removed on August 13,2021.
使用git push origin master向远程仓库推送时被告知: remote:Support for password authentication was removed on August 13,2021.Please use a personal access token inste ......