Vanilla Yukirin

ARCHIVE

85 entries total
2024
61

大学物理期末急救指北

大学物理急救指北

62

AtCoder Beginner Contest 357-F

ProblemYou are given sequences of length , and . You are also given queries to process in order. There are three types of queries: 1 l r x : Add to each of . 2 l r x : Add to each of . 3 l r : Print the remainder of when divided by .

63

我突然在想我是个什么样的人

64

AtCoder Beginner Contest 357-D

ProblemFor a positive integer , let be the integer formed by concatenating exactly times. More precisely, consider as a string, concatenate copies of it, and treat the result as an integer to get . For example, and . Find the remainder when is divided by .

65

Hexo博客Next主题更换cdn加速访问

Hexo博客Next主题更换cdn加速访问 有时候访问我的博客时,总是会出现cdn.jsdelivr.net无法访问或者访问速度过慢的情况。我的博客园使用的是BNDong/Cnblogs-Theme-SimpleMemory主题,也遇到的这样的情况。经过我的一番折腾之后,将js文件转移到了我自己的OSS中,并且又经过了我的一番折腾之后,设置好了跨域资源共享(CORS)策略,让我的博客访问的时候不会时好时坏了。 现在我搭建了Hexo博客,使用Next主题,其中也使用了很多jsdelivr的托管文件。有时候别人会出现访问慢、卡、进不去的情况。我打算也更换成我的OSS。 好在Next主题配置文件_config.yml中就有相关的配置。

66

在Matlab中如何计算决定系数R^2和相关系数r

Problem当你使用polyfit函数进行多项式拟合之后,你希望计算决定系数或者相关系数看看拟合效果如何。聪明的你肯定觉得聪明的 Matlab 的polyfit函数的返回值中会有 或者 吧。你尝试disp了一下,发现有一个结构体 。再查一查帮助文档,发现误差估计结构体 中只有一个范德蒙德矩阵 、自由度 和残差的范数 ,并没有你想要的 或者 。 Solution很遗憾,我们还是需要手动计算这两个系数。

67

AtCoder Beginner Contest 357-C

ProblemFor a non-negative integer , we define a level- carpet as follows: A level- carpet is a grid consisting of a single black cell. For , a level- carpet is a grid. When this grid is divided into nine blocks: The central block consists entirely of white cells. The other eight blocks are level- carpets. You are given a non-negative integer . Print a level- carpet according to the specified fo...

68

Welcome

由于洛谷个人简介迟迟没有维护完毕,故在博客园同步一份 欢迎来看我的博客!

69

CF contest 1935 Round 932 (Div. 2) A-D题解

Codeforces Round 932 (Div. 2) A-D题解Codeforces Round 932 (Div. 2) 绪言很菜,AB速度慢,卡在C,想DP,但是时间优化不下来,说服自己 能过 ,D稍微简单,但是没看D,遂掉分。

70

洛谷P1580 yyy loves Easter_Egg I

洛谷传送门 调试的有点惨痛的简单字符串模拟题目