Test

1. 代码测试

(1) C++

1
2
3
4
5
6
7
#include <iostream>
using namespace std;

int main(int argc, char *argv) {
cout << "Hello World!" << endl;
return 0;
}

(2) java

1
2
3
4
5
public class Main {
public static void main(String...args) {
System.out.println("Hello World!");
}
}

2. Latex测试

\[ \sum_{n=1}^{\infty}a_{i} \]

\[ \begin{aligned} m&=\sum_{i}k_if(p+k_ih)\\ &=\sum_{i}k_i(f(p+k_ih)-f(p))\\ &=\sum_{i}k_i(\nabla_{k_i}{f(p))}\\ \end{aligned} \]

3. 图片测试

4. mermaid 测试

graph LR;
A[学生];
B{选修};
C[课程];
A---B---C;

5. pdf