07-33OJ文档/02-题面规范:修订间差异
->Importer 批量导入三三文档 |
小 导入1个版本 |
||
| (未显示2个用户的2个中间版本) | |||
(没有差异)
| |||
2026年5月20日 (三) 18:12的最新版本
数学公式
常用 LaTeX 公式写法:
- [math]\displaystyle{ a,b,c }[/math]:[math]\displaystyle{ a,b,c }[/math]
- [math]\displaystyle{ a+b\times c }[/math]:[math]\displaystyle{ a+b\times c }[/math]
- [math]\displaystyle{ C_n^m }[/math]:C_n^m
- [math]\displaystyle{ A_{a+b}^{a-1} }[/math]:[math]\displaystyle{ A_{a+b}^{a-1} }[/math]
- [math]\displaystyle{ \frac{a}{b} }[/math]:[math]\displaystyle{ \frac{a}{b} }[/math]
- [math]\displaystyle{ \sqrt{x} }[/math]:[math]\displaystyle{ \sqrt{x} }[/math]
- [math]\displaystyle{ \lfloor\frac{a}{b}\rfloor }[/math]:[math]\displaystyle{ \lfloor\frac{a}{b}\rfloor }[/math]
- [math]\displaystyle{ \lceil\frac{a}{b}\rceil }[/math]:[math]\displaystyle{ \lceil\frac{a}{b}\rceil }[/math]
- [math]\displaystyle{ \frac{-b\pm\sqrt{b^2-4ac}}{2a} }[/math]:[math]\displaystyle{ \frac{-b\pm\sqrt{b^2-4ac}}{2a} }[/math]
- [math]\displaystyle{ \sum_{i=1}^na_i }[/math]:[math]\displaystyle{ \sum_{i=1}^na_i }[/math]
获取任意公式的方法
使用 AI 工具生成 LaTeX 公式:
- "请告诉我怎么用 Markdown 中的 LaTeX 格式写"一元二次方程求根公式"" - "请告诉我怎么用 Markdown 中的 LaTeX 格式写"不等于符号"" - "请告诉我怎么用 Markdown 中的 LaTeX 格式写"模运算的三个横线的等于号,以及 mod""
基础格式要求
- 数学表达式与变量用 LaTeX 数学公式写
- 中英文之间要有空格
- 数学表达式和正文之间要有空格
- 字符串与代码用行内代码 ` 行内代码 ` 或代码块描述
- 针对某个概念的解释用 > 内容 的形式写
- 图片可以上传到附加文件,然后通过  引用到题目中
代码块示例
- include <iostream>
using namespace std; int main() {
int a, b; cin >> a >> b; cout << a + b << endl; return 0;
}