misc: use more chinese-friendly search
This commit is contained in:
parent
32c50bbf7d
commit
5627ae6274
|
|
@ -31,7 +31,7 @@ title: 2025-2026学年上学期前计算机科学拔尖基地遴选笔试
|
|||
<details>
|
||||
<summary>答案</summary>
|
||||
|
||||
$\text{设甲、乙、丙、丁、戊、己分别为 } a, b, c, d, e, f \in \{0,1\},\\$
|
||||
$\text{设甲、乙、丙、丁、戊、己分别为 } a, b, c, d, e, f \in \{0,1\}\text{,}\\$
|
||||
$\text{其中 } 1 \text{ 表示被录取,} 0 \text{ 表示未被录取。给定条件等价于:}$
|
||||
|
||||
$$
|
||||
|
|
@ -45,7 +45,7 @@ title: 2025-2026学年上学期前计算机科学拔尖基地遴选笔试
|
|||
$$
|
||||
|
||||
$\text{由 (3) 和 (4) 可得:} d + c = 1,\quad d + a = 1 \implies c = a. \\$
|
||||
$\text{结合 (1) } (b = c),得:a = b = c. \\$
|
||||
$\text{结合 (1),得:}a = b = c. \\$
|
||||
$\text{代入 (5):} a + b \geq 1 \implies 2a \geq 1. \\$
|
||||
$\text{由于 } a \in \{0,1\},\text{ 故 } a = 1, \text{ 进而 } b = c = 1. \\$
|
||||
$\text{由 (4): } d + a = 1 \implies d + 1 = 1 \implies d = 0. \\$
|
||||
|
|
|
|||
|
|
@ -43,15 +43,16 @@ const config = {
|
|||
locales: ['zh-Hans'],
|
||||
},
|
||||
|
||||
plugins: [
|
||||
themes: [
|
||||
[
|
||||
require.resolve('docusaurus-lunr-search'),
|
||||
require.resolve("@easyops-cn/docusaurus-search-local"),
|
||||
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
|
||||
{
|
||||
languages: ['en', 'zh'],
|
||||
indexBaseUrl: true,
|
||||
highlightResult: true
|
||||
}
|
||||
]
|
||||
hashed: true,
|
||||
language: ["en", "zh"],
|
||||
explicitSearchResultPath: true
|
||||
},
|
||||
],
|
||||
],
|
||||
|
||||
presets: [
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "ecnu-课栈",
|
||||
"name": "@betterecnu/shared-courses",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
|
@ -16,10 +16,9 @@
|
|||
"dependencies": {
|
||||
"@docusaurus/core": "3.8.1",
|
||||
"@docusaurus/preset-classic": "3.8.1",
|
||||
"@easyops-cn/docusaurus-search-local": "^0.52.1",
|
||||
"@mdx-js/react": "^3.0.0",
|
||||
"@node-rs/jieba": "^2.0.1",
|
||||
"clsx": "^2.0.0",
|
||||
"docusaurus-lunr-search": "^3.6.0",
|
||||
"prism-react-renderer": "^2.3.0",
|
||||
"react": "^19.0.0",
|
||||
"react-dom": "^19.0.0",
|
||||
|
|
|
|||
Loading…
Reference in New Issue