Merge branch 'main' of http://www.wmarkj.com:3000/huanghai/python
commit
4deb98b52f
@ -0,0 +1,19 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
int main() {
|
||||
int n;
|
||||
cin >> n;
|
||||
for (int i = 1; i <= n; i++) {
|
||||
for (int j = 1; j <= n; j++) {
|
||||
if (j == 1 || j == n)
|
||||
cout << "|";
|
||||
else if (i == (n + 1) / 2) {
|
||||
cout << "-";
|
||||
} else
|
||||
cout << "a";
|
||||
}
|
||||
cout << endl;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
const int N = 110;
|
||||
|
||||
// 并查集
|
||||
int p[N];
|
||||
int find(int x) {
|
||||
if (x == p[x]) return x;
|
||||
return p[x] = find(p[x]);
|
||||
}
|
||||
// 合并集合
|
||||
bool join(int a, int b) {
|
||||
if (find(a) == find(b)) return false;
|
||||
p[find(a)] = find(b);
|
||||
return true;
|
||||
}
|
||||
|
||||
int main() {
|
||||
int n;
|
||||
cin >> n;
|
||||
// 初始化并查集
|
||||
for (int i = 1; i <= n; i++) p[i] = i;
|
||||
|
||||
for (int i = 1; i <= n; i++) {
|
||||
int x1, y1, x2, y2;
|
||||
cin >> x1 >> y1 >> x2 >> y2;
|
||||
|
||||
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,34 @@
|
||||
## [课程地址](https://www.bilibili.com/video/BV1Ss4y1X7z4)
|
||||
|
||||
#### 前言
|
||||
全称$Geogebra$,简称$GGB$,是代数和几何两个词的合成词。
|
||||
|
||||
**优势**
|
||||
① **免费**
|
||||
② 全平台($Windows$,$Mac$,安卓)
|
||||
③ 面向世界
|
||||
|
||||
**下载**
|
||||
|
||||
**[官网](http://www.geogebra.org)**
|
||||
|
||||
> **注**:课程使用经典$5$,经典$6$一般在移动端展示,但容易卡~
|
||||
|
||||
|
||||
#### 1.1 用工具和属性绘制简单图形
|
||||

|
||||
|
||||
**[$GeoGebra$如何擦除踪迹——移动视图、放大、设置活动视图](https://zhuanlan.zhihu.com/p/298051355)**
|
||||
|
||||
|
||||
#### 实验:抛物线方程$y=ax^2+bx+c$,如果只变化$b$, 那么顶点的坐标轨迹为什么是一条抛物线呢?
|
||||
|
||||
答:抛物线方程为 $y=ax^2+bx+c$
|
||||
|
||||
当 $b$ 变化时,顶点的横坐标为 $x=-\frac{b}{2a}$
|
||||
|
||||
将 $x$ 代入原方程,得到顶点的纵坐标为 $y=\frac{b^2}{4a}-c$
|
||||
|
||||
因此,顶点的坐标轨迹为 $y=\frac{b^2}{4a}-c$
|
||||
|
||||
这是一个关于 $b$ 的二次函数,其图像为一条抛物线。
|
@ -1,22 +1,22 @@
|
||||
-Xms128m
|
||||
-Xmx1024m
|
||||
-XX:ReservedCodeCacheSize=512m
|
||||
-XX:+IgnoreUnrecognizedVMOptions
|
||||
-XX:+UseG1GC
|
||||
-XX:SoftRefLRUPolicyMSPerMB=50
|
||||
-XX:CICompilerCount=2
|
||||
-XX:+HeapDumpOnOutOfMemoryError
|
||||
-XX:-OmitStackTraceInFastThrow
|
||||
-ea
|
||||
-Dsun.io.useCanonCaches=false
|
||||
-Djdk.http.auth.tunneling.disabledSchemes=""
|
||||
-Djdk.attach.allowAttachSelf=true
|
||||
-Djdk.module.illegalAccess.silent=true
|
||||
-Dkotlinx.coroutines.debug=off
|
||||
-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log
|
||||
-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof
|
||||
|
||||
--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED
|
||||
--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED
|
||||
|
||||
-javaagent:D:\python\jetbra\ja-netfilter.jar=jetbrains
|
||||
-Xms128m
|
||||
-Xmx2048m
|
||||
-XX:ReservedCodeCacheSize=512m
|
||||
-XX:+IgnoreUnrecognizedVMOptions
|
||||
-XX:+UseG1GC
|
||||
-XX:SoftRefLRUPolicyMSPerMB=50
|
||||
-XX:CICompilerCount=2
|
||||
-XX:+HeapDumpOnOutOfMemoryError
|
||||
-XX:-OmitStackTraceInFastThrow
|
||||
-ea
|
||||
-Dsun.io.useCanonCaches=false
|
||||
-Djdk.http.auth.tunneling.disabledSchemes=""
|
||||
-Djdk.attach.allowAttachSelf=true
|
||||
-Djdk.module.illegalAccess.silent=true
|
||||
-Dkotlinx.coroutines.debug=off
|
||||
-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log
|
||||
-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof
|
||||
|
||||
--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED
|
||||
--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED
|
||||
|
||||
-javaagent:D:\python\jetbra\ja-netfilter.jar=jetbrains
|
||||
|
Loading…
Reference in new issue