摘要: 这里更关注方法论而不是具体怎么做 阅读全文
posted @ 2021-03-15 22:11 yhm138 阅读(135) 评论(0) 推荐(0)
摘要: 长期更新 https://group.cnblogs.com/help/ 目录2021-02-212021-03-262021-03-26 2021-02-21 讲个不容易发现的事情。博客园的“最新随笔”会包括发布在我的博客园首页的一些文章,把它们也统计进去了。另一方面,“随笔档案”里是不包括发布在 阅读全文
posted @ 2021-03-09 23:16 yhm138 阅读(146) 评论(1) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2021-03-09 22:18 yhm138 阅读(115) 评论(0) 推荐(0)
摘要: 不定期更新 来自知乎,b站等 目录编辑器快捷键windows下的快捷键显示其他windows常用工具cmd命令联想拯救者,windows的快捷键windows下浏览器内的快捷键微软输入法命令行选项-小技巧IDEA中PyCharm中飞书文档Win下的Notepad++Win下的VSCodevisual 阅读全文
posted @ 2020-12-18 15:24 yhm138 阅读(1349) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-12-07 23:24 yhm138 阅读(53) 评论(0) 推荐(0)
摘要: Mathematica练习 阅读全文
posted @ 2025-08-13 10:16 yhm138 阅读(29) 评论(0) 推荐(0)
摘要: 目录题目地址代码mysqlpgsqlt-sqloracle 题目地址 https://leetcode.cn/problems/ceo-subordinate-hierarchy/description/ 代码 mysql WITH RECURSIVE EmployeeHierarchy AS ( 阅读全文
posted @ 2025-03-02 17:24 yhm138 阅读(13) 评论(0) 推荐(0)
摘要: 题目地址 https://leetcode.cn/problems/find-circular-gift-exchange-chains/description/ 代码 MySQL WITH RECURSIVE GiftChain AS ( -- Base case: Start with each 阅读全文
posted @ 2025-03-02 16:22 yhm138 阅读(18) 评论(0) 推荐(0)
摘要: 目录题目地址思路代码MySQLPostgresSQLT-SQLOracle 题目地址 https://leetcode.cn/problems/find-trending-hashtags/description/ 简单版本。每条推文只包含一个标签。 https://leetcode.cn/prob 阅读全文
posted @ 2025-03-02 09:57 yhm138 阅读(14) 评论(0) 推荐(0)
摘要: Problem: 3374. 首字母大写 II 目录题目地址背景代码Mysqlt-sql提示词 题目地址 https://leetcode.cn/problems/first-letter-capitalization/description/ 3368. 首字母大写。更简单一点,会员题。 http 阅读全文
posted @ 2025-03-01 13:52 yhm138 阅读(40) 评论(0) 推荐(0)
摘要: 一些大模型榜单 https://livebench.ai/#/ Abacus.AI给出的leaderboard,更新及时 https://aider.chat/docs/leaderboards/ Aider polyglot coding leaderboard https://llm-stats 阅读全文
posted @ 2025-03-01 13:43 yhm138 阅读(2188) 评论(0) 推荐(0)
摘要: 存放用于文本格式处理的一些Python脚本 阅读全文
posted @ 2024-11-16 11:16 yhm138 阅读(58) 评论(0) 推荐(0)
摘要: 我对了下答案,基本上没问题。 目录题目地址答案地址123回忆版试题-版本1回忆版试题-版本245Mathematica求解优化问题OCTERACT求解优化问题附录 绘制m个随机单位模复数的和(随机游走) 题目地址 https://app.gaokaozhitongche.com/news/h/E2J 阅读全文
posted @ 2024-04-14 10:41 yhm138 阅读(183) 评论(0) 推荐(0)
摘要: 部分代码非本人编写。 以下部分Zig代码可以在AttemptThisOnline运行。 目录推荐些阅读材料Zig语言简介在线执行Zig的平台debug-print函数返回类型allocator有哪些std.heap.page_allocatorstd.heap.FixedBufferAllocato 阅读全文
posted @ 2024-02-05 14:28 yhm138 阅读(350) 评论(0) 推荐(0)
摘要: 素材主要来自我在RosettaCode上贡献的PARI/GP代码 目录推荐一些语法手册default(realprecision, 110)控制实数计算的有效位数default(parisize, "32M");增加PARI/GP申请的栈内存大小顺序结构、选择结构、循环结构for-loop中设置步长 阅读全文
posted @ 2024-01-20 20:07 yhm138 阅读(191) 评论(0) 推荐(0)
摘要: 目录题目地址MySQL代码等效pandas代码 题目地址 https://leetcode.cn/problems/consecutive-transactions-with-increasing-amounts/ MySQL代码 # Write your MySQL query statement 阅读全文
posted @ 2024-01-13 16:55 yhm138 阅读(82) 评论(0) 推荐(0)
摘要: 目录题目地址MySQL代码等效pandas代码 题目地址 https://leetcode.cn/problems/customers-with-strictly-increasing-purchases/description/ MySQL代码 # Write your MySQL query s 阅读全文
posted @ 2024-01-13 15:57 yhm138 阅读(37) 评论(0) 推荐(0)
摘要: 目录题目地址MySQL代码等效pandas代码 题目地址 https://leetcode.cn/problems/merge-overlapping-events-in-the-same-hall/ MySQL代码 # Write your MySQL query statement below 阅读全文
posted @ 2024-01-13 15:16 yhm138 阅读(30) 评论(0) 推荐(0)
摘要: 目录题目地址MySQL代码等效pandas代码 题目地址 https://leetcode.cn/problems/leetflex-banned-accounts/description/ MySQL代码 with t1 as( select account_id,ip_address, logi 阅读全文
posted @ 2024-01-13 13:00 yhm138 阅读(37) 评论(0) 推荐(0)
摘要: 目录题目地址思路代码MySQL代码逐行翻译为Pandas代码等效Cypher查询(未验证) 题目地址 https://leetcode.cn/problems/strong-friendship/ https://leetcode.cn/problems/friends-with-no-mutual 阅读全文
posted @ 2024-01-13 10:11 yhm138 阅读(22) 评论(0) 推荐(0)
摘要: 目录题目地址思路代码题目1MySQL代码等效pandas代码题目2MySQL代码等效pandas代码 题目地址 https://leetcode.cn/problems/the-number-of-passengers-in-each-bus-i/description/ https://leetc 阅读全文
posted @ 2024-01-12 21:42 yhm138 阅读(55) 评论(0) 推荐(0)
摘要: 目录题目地址MySQL代码等效pandas代码 题目地址 https://leetcode.cn/problems/hopper-company-queries-iii/description/ MySQL代码 -- CTE生成2020年每月的最后一天 WITH RECURSIVE months A 阅读全文
posted @ 2024-01-12 16:11 yhm138 阅读(23) 评论(0) 推荐(0)
摘要: 目录题目地址MySQL代码等效pandas代码 题目地址 https://leetcode.cn/problems/hopper-company-queries-i/description/ MySQL代码 -- CTE生成2020年每月的最后一天 WITH RECURSIVE months AS 阅读全文
posted @ 2024-01-12 11:31 yhm138 阅读(37) 评论(0) 推荐(0)
摘要: 目录题目地址MySQL代码等效pandas代码如果要求【今日和过去2日】这三日不一定连续 题目地址 https://leetcode.cn/problems/rolling-average-steps/description/ MySQL代码 下面的代码是: 【过去n_days天,以及今天】的滑动窗 阅读全文
posted @ 2024-01-12 09:26 yhm138 阅读(48) 评论(0) 推荐(0)
摘要: 题目地址 https://leetcode.cn/problems/class-performance/description/ 题目大意 编写一个查询,计算学生获得的 最高分 和 最低分 之间的 总分差(3 次作业的总和)。 assignment1, assignment2, assignment 阅读全文
posted @ 2024-01-12 08:17 yhm138 阅读(30) 评论(0) 推荐(0)
摘要: 目录题目地址说明代码MySQLT-SQLOracle 题目地址 https://leetcode.cn/problems/friday-purchases-ii/description/ 说明 以下代码涉及的要点: 不同DB dialect,使用WEEKOFMONTH功能 不同DB dialect, 阅读全文
posted @ 2024-01-11 21:21 yhm138 阅读(38) 评论(0) 推荐(0)
摘要: 目录题目地址说明代码MySQLT-SQLOracle 题目地址 https://leetcode.cn/problems/friday-purchases-i/description/ 说明 对于计算一个日期是该月的第几周,通常有两种常见的范式: ISO-8601 Week Numbering: 在 阅读全文
posted @ 2024-01-11 20:51 yhm138 阅读(36) 评论(0) 推荐(0)
摘要: 目录代码使用方法话题来源题外话——Windows操作系统下到底有多少种脚本语言? 代码 ' VBScript to list UDP*.tmp files and ask user for deletion Option Explicit ' Declare variables Dim WSHShe 阅读全文
posted @ 2024-01-04 17:02 yhm138 阅读(132) 评论(0) 推荐(0)
摘要: 请注意,这个脚本仅处理了最简单的情况,真正的Matlab代码可能包含更复杂的结构,如多行字符串、嵌套的字符串、转义字符等,处理这些情况可能需要更复杂的逻辑。 clear all; close all; clc; % Specify the input .m file name inputFileNa 阅读全文
posted @ 2023-12-19 10:49 yhm138 阅读(176) 评论(1) 推荐(0)
摘要: 目录简介试题地址Day 1Part 1Part 2Day2Part 1Part 2Day 3Part 1Part 2Day 4Part 1Part 2Day 5Part 1 and Part 2Day 6Part 1 and Part 2Day 7Part 1 and Part 2Day 8Part 阅读全文
posted @ 2023-12-01 14:38 yhm138 阅读(149) 评论(0) 推荐(0)
摘要: 目录WQL介绍一些WQL查询示例怎么执行WQL查询?WMIC在PowerShell里输入cmdlet形式的命令在C#代码中执行(如果你在VisualStudio中,记得导入引用)查询BIOS获取CPU温度 WQL介绍 WQL (WMI Query Language) 是一种 SQL 的变体,用于查询 阅读全文
posted @ 2023-11-14 21:34 yhm138 阅读(596) 评论(0) 推荐(0)
摘要: 2022年的一本书,只有376页。证明直接去书里面找。 目录1 介绍1.1 啥是RiordanArray1.2 起源和研究动机1.3 基础的应用章后练习参考 1 介绍 1.1 啥是RiordanArray 1.2 起源和研究动机 1.3 基础的应用 \[\mathfrak{B}_r=\sum_{n 阅读全文
posted @ 2023-09-05 15:58 yhm138 阅读(43) 评论(0) 推荐(0)
摘要: 目录题目地址代码MySQLPostgreSQLOracleT-SQLpandas 题目地址 https://leetcode.cn/problems/total-sales-amount-by-year/description/ 代码 MySQL WITH RECURSIVE DateSeries 阅读全文
posted @ 2023-08-19 13:42 yhm138 阅读(44) 评论(0) 推荐(0)
摘要: 目录题目地址要点代码MySQLPostgreSQLT-SQLOraclepandas 题目地址 https://leetcode.cn/problems/finding-the-topic-of-each-post/description/ 要点 [MySQL group_concat/T-SQL 阅读全文
posted @ 2023-08-19 13:13 yhm138 阅读(62) 评论(0) 推荐(0)
摘要: 目录题目地址题目描述代码MySQLOracleT-SQLPostgreSQLPandas 题目地址 https://leetcode.cn/problems/build-the-equation/description/ 题目描述 Example 2: 输入: Terms 表: + + + | po 阅读全文
posted @ 2023-08-19 11:52 yhm138 阅读(32) 评论(0) 推荐(0)
摘要: 目录题目地址题目描述代码MySQLPostgreSQLOracleT-SQLPandas 题目地址 https://leetcode.cn/problems/report-contiguous-dates/description/ 题目描述 A system is running one task 阅读全文
posted @ 2023-08-19 11:24 yhm138 阅读(40) 评论(0) 推荐(0)
摘要: [TOC] # 题目地址 https://leetcode.cn/problems/longest-winning-streak/description/ # 题目描述 选手的 连胜数 是指连续获胜的次数,且没有被平局或输球中断。 编写解决方案来计算每个参赛选手最多的连胜数。 结果可以以 任何顺序 阅读全文
posted @ 2023-08-19 10:50 yhm138 阅读(127) 评论(0) 推荐(0)
摘要: 目录相似题目题目地址题目描述代码MySQL逐行翻译为Pandas代码 相似题目 https://www.nowcoder.com/share/jump/4738562051744695421611 题目地址 https://leetcode.cn/problems/active-users/desc 阅读全文
posted @ 2023-08-19 09:51 yhm138 阅读(73) 评论(0) 推荐(0)
摘要: 目录题目地址代码MySQL/PostgreSQLOracleT-SQLPandas 题目地址 https://leetcode.cn/problems/all-people-report-to-the-given-manager/description/ 代码 MySQL/PostgreSQL WI 阅读全文
posted @ 2023-08-18 08:25 yhm138 阅读(33) 评论(0) 推荐(0)
摘要: [TOC] # 题目地址 https://leetcode.cn/problems/find-median-given-frequency-of-numbers/description/ # 代码 ``` # 你可以把这个结构理解为do while WITH RECURSIVE RecCTE AS 阅读全文
posted @ 2023-08-15 20:04 yhm138 阅读(30) 评论(0) 推荐(0)
摘要: 目录题目地址代码用该模板代码可以解决的题目 题目地址 https://leetcode.cn/problems/human-traffic-of-stadium/description/ 代码 with t1 as( SELECT * from stadium where people>=100 o 阅读全文
posted @ 2023-08-14 20:40 yhm138 阅读(31) 评论(0) 推荐(0)
摘要: ``` 我写了一个winform程序, 拷贝到win7系统上,提示需要下载.net 给的链接是 https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=win7-x64&apphost_version=5.0.3& 阅读全文
posted @ 2023-07-27 18:07 yhm138 阅读(1789) 评论(0) 推荐(0)
摘要: Cargo.toml [package] name = "rust_hello" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/r 阅读全文
posted @ 2023-07-22 18:39 yhm138 阅读(55) 评论(0) 推荐(0)
摘要: 目录语言简介示例1示例2示例3常用word 语言简介 https://rosettacode.org/wiki/Category:Factor Factor 是一种基于堆栈的、串联的通用编程语言,注重实用性。 Factor 最初由 Slava Pestov 开发,于 2003 年作为一种为游戏编写的 阅读全文
posted @ 2023-07-20 19:59 yhm138 阅读(303) 评论(0) 推荐(0)
摘要: 第4、9题我还没找到可靠的答案。 目录试题地址1234567891011121314151617181920 试题地址 全网首发!2023年北京大学强基计划笔试数学试题(全!) - ADU的小窝的文章 - 知乎 转自数理迷津 https://zhuanlan.zhihu.com/p/64041562 阅读全文
posted @ 2023-06-30 20:19 yhm138 阅读(613) 评论(0) 推荐(0)