上一页 1 2 3 4 5 6 7 8 9 ··· 27 下一页
摘要: Problem 当你使用 polyfit 函数进行多项式拟合之后,你希望计算决定系数或者相关系数看看拟合效果如何。聪明的你肯定觉得聪明的 Matlab 的 polyfit 函数的返回值中会有 \(R^2\) 或者 \(r\) 吧。你尝试 disp 了一下,发现有一个结构体 \(S\)。再查一查帮助文 阅读全文
posted @ 2024-06-10 22:53 Vanilla_chan 阅读(2107) 评论(0) 推荐(0)
摘要: Problem For a non-negative integer \(K\), we define a level-\(K\) carpet as follows: A level-\(0\) carpet is a \(1 \times 1\) grid consisting of a sin 阅读全文
posted @ 2024-06-10 01:48 Vanilla_chan 阅读(43) 评论(0) 推荐(0)
摘要: Problem 今天水题解的时候突然发现\(cnblogs\)的公式不太支持角度符号\(\degree\)​,即\degree。 Solution 改成\(1^\circ\),即1^\circ 对比 但是结果现在看哪个都不太顺眼…… 阅读全文
posted @ 2024-04-03 10:01 Vanilla_chan 阅读(32) 评论(2) 推荐(0)
摘要: Codeforces Round 932 (Div. 2) A-D题解 Codeforces Round 932 (Div. 2) 绪言 很菜,AB速度慢,卡在C,想DP,但是时间优化不下来,说服自己\(2\times10^3\)能过\(n^3\),D稍微简单,但是没看D,遂掉分。 A. Enter 阅读全文
posted @ 2024-03-07 20:26 Vanilla_chan 阅读(88) 评论(0) 推荐(2)
摘要: 洛谷P1580 yyy loves Easter_Egg I 洛谷传送门 调试的有点惨痛的简单字符串模拟题目 Code /************************************************************** * Problem: * Author: Vanil 阅读全文
posted @ 2024-03-03 22:22 Vanilla_chan 阅读(22) 评论(0) 推荐(0)
摘要: 欢迎来看我的博客! 由于洛谷个人简介迟迟没有维护完毕,故在博客园同步一份 $$ \color{purple}\large\textbf{Time is like water flowing eastward,} $$ $$ \color{gray}\large\texttt{时间好比东流水} $$ $$ \color{red}\large\textbf{only flowing away without flowing back.} $$ $$ \color{gray}\large\texttt{只有流去无流回} $$ 阅读全文
posted @ 2024-02-23 16:11 Vanilla_chan 阅读(82) 评论(0) 推荐(0)
摘要: Codeforces Round 928 (Div. 4) G Vlad and Trouble at MIT 树型DP 阅读全文
posted @ 2024-02-20 03:07 Vanilla_chan 阅读(80) 评论(0) 推荐(0)
摘要: AtCoder Beginner Contest 341-F AtCoder Beginner Contest 341-F F - Breakdown Problem 给你一个由 \(N\) 个顶点和 \(M\) 条边组成的简单无向图。每个顶点拥有权重\(W_i\),并且被放置了\(A_i\)个棋子。 只要图形上还有棋子,就重复下面的操作: 首先,从图形中选择 阅读全文
posted @ 2024-02-18 02:08 Vanilla_chan 阅读(86) 评论(0) 推荐(1)
摘要: C#获得项目最后编译时间 C#获得项目最后编译时间 效果 具体格式可以自定义 核心代码 string GetCompileVersion() { string OriginVersion = "" + System.IO.File.GetLastWriteTime(this.GetType().Assembly.Locati 阅读全文
posted @ 2024-02-05 23:35 Vanilla_chan 阅读(700) 评论(2) 推荐(1)
摘要: MVVM-命令模式的实现与应用 MVVM-命令模式的实现与应用 本文同时为b站WPF课程的笔记,相关示例代码 绑定 这个其实前面已经讲过一部分 使用{Binding}设置数据绑定,将控件的属性绑定到 ViewModel 的相应属性。 比如说需要注意,在xaml中绑定的不再是UserName和Password了,而是loginMod 阅读全文
posted @ 2024-02-02 16:16 Vanilla_chan 阅读(577) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 27 下一页