'commit'
This commit is contained in:
23
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202301/3.cpp
Normal file
23
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202301/3.cpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int func(int x) {
|
||||
if (x <= 3)
|
||||
return x * 2 - 1;
|
||||
else if (x >= 6)
|
||||
return func(x - 3) - 2;
|
||||
else
|
||||
return func(x + 1) + x;
|
||||
}
|
||||
|
||||
int main() {
|
||||
cout << func(14);
|
||||
// f(14)=f(11)-2;
|
||||
// f(11)=f(8)-2
|
||||
// f(8)=f(5)-2
|
||||
// f(5)=f(6)+5
|
||||
// f(6)=f(3)-2
|
||||
// f(3)=5
|
||||
return 0;
|
||||
}
|
||||
9
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202301/5.cpp
Normal file
9
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202301/5.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
// Hello world
|
||||
int main() {
|
||||
char s[15];
|
||||
cin >> s; // 原因:Hello world中存在空格,而cin会只读取前半部分Hello,所以长度是5
|
||||
cout << strlen(s);
|
||||
return 0;
|
||||
}
|
||||
13
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202301/BC2.cpp
Normal file
13
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202301/BC2.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
int a[101];
|
||||
int main() {
|
||||
int n;
|
||||
cin >> n;
|
||||
for (int i = 0; i < n; i++) cin >> a[i];
|
||||
|
||||
int s = a[0] + a[1] + a[2];
|
||||
for (int i = 1; i < n - 2; i++) s = max(s, a[i] + a[i + 1] + a[i + 2]);
|
||||
cout << s << endl;
|
||||
return 0;
|
||||
}
|
||||
38
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202301/BC3.cpp
Normal file
38
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202301/BC3.cpp
Normal file
@@ -0,0 +1,38 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
const int N = 120;
|
||||
int a[N], b[N];
|
||||
const int INF = 0x3f3f3f3f;
|
||||
/*
|
||||
5
|
||||
5 7 5 5 3 | 5 7 5 5 3
|
||||
|
||||
答案:4
|
||||
*/
|
||||
int n, sum, avg;
|
||||
int main() {
|
||||
cin >> n;
|
||||
for (int i = 0; i < n; i++) {
|
||||
cin >> a[i];
|
||||
sum += a[i];
|
||||
a[i + n] = a[i]; // 破环成链
|
||||
}
|
||||
avg = sum / n; // 平均数
|
||||
int mi = INF; // 最少次数,给初始值最大
|
||||
|
||||
for (int i = 0; i < n; i++) { // 按每个石子堆为起点
|
||||
for (int j = 0; j < n; j++) b[j] = a[i + j]; // 从原始的破环成链数组中拷贝出来现在的临时数组
|
||||
|
||||
int cnt = 0;
|
||||
for (int j = 0; j < n - 1; j++) {
|
||||
cnt += abs(b[j] - avg); // 需要调整几个石子到下一个石子堆
|
||||
b[j + 1] += b[j] - avg; // 下一个石子堆接着这些石子
|
||||
b[j] = avg; // j调整为平均值,其实这句没有发挥作用,可省略
|
||||
}
|
||||
// 以第i个石子为起点的讨论结束,判断是不是我们需要的最优解
|
||||
mi = min(mi, cnt);
|
||||
}
|
||||
|
||||
cout << mi << endl;
|
||||
return 0;
|
||||
}
|
||||
33
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202301/BC4.cpp
Normal file
33
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202301/BC4.cpp
Normal file
@@ -0,0 +1,33 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
const int N = 31;
|
||||
char a[N][N];
|
||||
int n, m, cnt;
|
||||
|
||||
int main() {
|
||||
cin >> n >> m;
|
||||
|
||||
for (int i = 0; i < n; i++)
|
||||
for (int j = 0; j < m; j++)
|
||||
cin >> a[i][j]; // a,b,c
|
||||
|
||||
for (int e = 2; e <= min(m, n); e++) { // 枚举每个小正方形的边长
|
||||
for (int i = 0; i <= n - e; i++) { // 起点i
|
||||
for (int j = 0; j <= m - e; j++) { // 起点j
|
||||
bool f = true;
|
||||
for (int x = 0; x < e; x++) { // 遍历正方形中所有的其它位置,判断是不是与左上角的一致
|
||||
for (int y = 0; y < e; y++) {
|
||||
if (a[i][j] != a[i + x][j + y]) {
|
||||
f = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!f) break;
|
||||
}
|
||||
if (f) cnt++;
|
||||
}
|
||||
}
|
||||
}
|
||||
cout << cnt << endl;
|
||||
return 0;
|
||||
}
|
||||
61
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202301/BC5.cpp
Normal file
61
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202301/BC5.cpp
Normal file
@@ -0,0 +1,61 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
const int INF = 0x3f3f3f3f;
|
||||
const int N = 110;
|
||||
double a[N];
|
||||
int n;
|
||||
int f1[N], f2[N];
|
||||
int main() {
|
||||
cin >> n;
|
||||
for (int i = 1; i <= n; i++) cin >> a[i];
|
||||
// 以每棵树为保留的,并且是最高的那棵树,分别求出最长上升序列长度x 和 最长下降序列长度y, x+y-1就是最终保留的整体序列长度,
|
||||
// 去掉的数量就是 n-(x+y-1)的值。然后求min()
|
||||
// 需要注意的是默认值设置为-1,比如 5 4 3 2 1 ,我们取哪棵为最高点都行不通,不存在左侧上侧到峰值的情况,右侧即使符合也不行的。
|
||||
|
||||
// 求最长上升
|
||||
for (int i = 1; i <= n; i++) {
|
||||
f1[i] = 1;
|
||||
for (int j = 1; j < i; j++)
|
||||
if (a[i] > a[j]) f1[i] = max(f1[i], f1[j] + 1);
|
||||
}
|
||||
// 求最长下降
|
||||
for (int i = n; i >= 1; i--) {
|
||||
f2[i] = 1;
|
||||
for (int j = n; j > i; j--)
|
||||
if (a[i] > a[j]) f2[i] = max(f2[i], f2[j] + 1);
|
||||
}
|
||||
// f1[i],f2[i]全都是1,那么输出-1
|
||||
bool flag = true;
|
||||
for (int i = 1; i <= n; i++)
|
||||
if (f1[i] != 1) {
|
||||
flag = false;
|
||||
break;
|
||||
}
|
||||
|
||||
if (flag) {
|
||||
cout << -1 << endl;
|
||||
exit(0);
|
||||
}
|
||||
|
||||
flag = true;
|
||||
for (int i = 1; i <= n; i++)
|
||||
if (f2[i] != 1) {
|
||||
flag = false;
|
||||
break;
|
||||
}
|
||||
|
||||
if (flag) {
|
||||
cout << -1 << endl;
|
||||
exit(0);
|
||||
}
|
||||
|
||||
int mx = -1;
|
||||
for (int i = 1; i <= n; i++) {
|
||||
int t = f1[i] + f2[i];
|
||||
mx = max(mx, t);
|
||||
}
|
||||
|
||||
cout << n - mx + 1 << endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
10
|
||||
1.0 2.3 1.2 1.7 1.1 2.0 1.8 1.8 1.2 1.9
|
||||
@@ -0,0 +1,9 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
#define endl '\n'
|
||||
int main() {
|
||||
// 加快读入
|
||||
ios::sync_with_stdio(false), cin.tie(0);
|
||||
cout << "dd" << endl;
|
||||
return 0;
|
||||
}
|
||||
26
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202301/ggs.cpp
Normal file
26
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202301/ggs.cpp
Normal file
@@ -0,0 +1,26 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
int a[110];
|
||||
int l, r;
|
||||
int n;
|
||||
int sum;
|
||||
int s1, s2;
|
||||
int main() {
|
||||
cin >> n;
|
||||
for (int i = 1; i <= n; i++) {
|
||||
cin >> a[i];
|
||||
sum += a[i];
|
||||
|
||||
}
|
||||
cin >> l >> r;
|
||||
if (sum < l * n || sum > r * n) {
|
||||
printf("-1");
|
||||
exit(0);
|
||||
}
|
||||
for (int i = 1; i <= n; i++){
|
||||
if (a[i] > r) s1 += a[i] - r;
|
||||
if (a[i] < l) s2 += l - a[i];
|
||||
}
|
||||
cout << max(s1, s2);
|
||||
return 0;
|
||||
}
|
||||
3
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202301/题目.md
Normal file
3
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202301/题目.md
Normal file
@@ -0,0 +1,3 @@
|
||||
https://ccgao.blog.csdn.net/article/details/134725679
|
||||
|
||||
https://tiku.scratchor.com/paper/view/z8k4y0xsf0ue8xlh
|
||||
@@ -0,0 +1,506 @@
|
||||
<mxfile host="Electron" modified="2024-02-27T12:32:19.807Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/22.1.21 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="LizDk1iy0-foCFrZv-o5" version="22.1.21" type="device">
|
||||
<diagram id="cvklCoSWffnhjQ7GbCL6" name="第 1 页">
|
||||
<mxGraphModel dx="1444" dy="960" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-1" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="70" y="30" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-2" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="140" y="30" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-3" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="210" y="30" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-4" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="280" y="30" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-5" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="70" y="97" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-6" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="140" y="97" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-7" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="210" y="97" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-8" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="280" y="97" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-9" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="70" y="161" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-10" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="140" y="161" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-11" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="210" y="161" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-12" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="280" y="161" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-13" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="70" y="225" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-14" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="140" y="225" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-15" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="210" y="225" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-16" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="280" y="225" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-25" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="70" y="285" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-26" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="140" y="285" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-27" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="210" y="285" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-28" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="280" y="285" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-38" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="620" y="30" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-39" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="690" y="30" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-40" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="760" y="30" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-41" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="830" y="30" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-42" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="900" y="30" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-45" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="620" y="95" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-46" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="690" y="95" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-47" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="760" y="95" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-48" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="830" y="95" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-49" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="900" y="95" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-58" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="620" y="155" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-59" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="690" y="155" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-60" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#cce5ff;strokeColor=#36393d;" parent="1" vertex="1">
|
||||
<mxGeometry x="760" y="155" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-61" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#cce5ff;strokeColor=#36393d;" parent="1" vertex="1">
|
||||
<mxGeometry x="830" y="155" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-62" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="900" y="155" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-64" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="620" y="216" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-65" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="690" y="216" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-66" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="760" y="216" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-67" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="830" y="216" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-69" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="900" y="216" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-1" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="70" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-2" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="140" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-3" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="210" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-4" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="280" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-5" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="350" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-6" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="420" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-7" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="490" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-8" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="70" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-9" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="140" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-10" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="210" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-11" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="280" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-12" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="350" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-13" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="420" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-14" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="490" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-15" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="70" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-16" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="140" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-17" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="210" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-18" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="280" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-19" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="350" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-20" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="420" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-21" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="490" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-22" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="70" y="660" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-23" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="140" y="660" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-24" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="210" y="660" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-25" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="280" y="660" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-26" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="350" y="660" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-27" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="420" y="660" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-28" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="490" y="660" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-29" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="620" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-30" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="690" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-31" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="760" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-32" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="830" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-33" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="900" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-34" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="970" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-35" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="1040" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-36" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="1110" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-37" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="620" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-38" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="690" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-39" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="760" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-40" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="830" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-41" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="900" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-42" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="970" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-43" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="1040" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-44" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="1110" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-45" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="620" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-46" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="690" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-47" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="760" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-48" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="830" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-49" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="900" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-50" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="970" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-51" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="1040" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-52" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="1110" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-53" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="620" y="650" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-54" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="690" y="650" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-55" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="760" y="650" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-56" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="830" y="650" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-57" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="1" vertex="1">
|
||||
<mxGeometry x="900" y="650" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-58" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="970" y="650" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-59" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="1040" y="650" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-60" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="1110" y="650" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-61" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="620" y="720" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-62" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="690" y="720" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-63" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="760" y="720" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-64" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="830" y="720" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-65" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="900" y="720" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-66" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="970" y="720" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-67" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="1040" y="720" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-68" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="1110" y="720" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-70" value="" style="shape=table;html=1;whiteSpace=wrap;startSize=0;container=1;collapsible=0;childLayout=tableLayout;fontSize=18;fontStyle=1" parent="1" vertex="1">
|
||||
<mxGeometry x="170" y="820" width="573" height="510" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-71" value="" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry width="573" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-73" value="硬币数" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontStyle=1;fontSize=18;" parent="efL5ftoOALWLMfZDeIAI-71" vertex="1">
|
||||
<mxGeometry width="286" height="30" as="geometry">
|
||||
<mxRectangle width="286" height="30" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-74" value="轮数" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontStyle=1;fontSize=18;" parent="efL5ftoOALWLMfZDeIAI-71" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="30" as="geometry">
|
||||
<mxRectangle width="287" height="30" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-75" value="" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="30" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-77" value="2" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontStyle=1;fontSize=18;" parent="efL5ftoOALWLMfZDeIAI-75" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-78" value="2" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontStyle=1;fontSize=18;" parent="efL5ftoOALWLMfZDeIAI-75" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-79" value="" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="70" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-81" value="3" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-79" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-82" value="1" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-79" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-84" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="110" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-86" value="4" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-84" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-87" value="4" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-84" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-88" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="150" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-90" value="5" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-88" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-91" value="3" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-88" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-92" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="190" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-94" value="6" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-92" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-95" value="2" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-92" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-96" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="230" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-98" value="7" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-96" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-99" value="3" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-96" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-100" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="270" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-102" value="8" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-100" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-103" value="4" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-100" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-104" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="310" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-106" value="9" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-104" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-107" value="3" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-104" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-108" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="350" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-110" value="10" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-108" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-111" value="4" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-108" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-112" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="390" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-114" value="11" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-112" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-115" value="5" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-112" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-116" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="430" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-118" value="12" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-116" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-119" value="4" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-116" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-120" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="470" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-122" value="13" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-120" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-123" value="5" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-120" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
||||
@@ -0,0 +1,5 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
int main() {
|
||||
return 0;
|
||||
}
|
||||
20
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202302/2.cpp
Normal file
20
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202302/2.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
int main() {
|
||||
int n, m;
|
||||
cin >> n >> m;
|
||||
int cnt = 0;
|
||||
for (int i = n; i <= m; i++) {
|
||||
int x = i;
|
||||
bool flag = false;
|
||||
while (x) {
|
||||
int a = x % 10;
|
||||
if (a % 2 == 0) flag = true;
|
||||
x /= 10;
|
||||
}
|
||||
if (!flag) cnt++;
|
||||
}
|
||||
cout << cnt << endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
25
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202302/8.cpp
Normal file
25
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202302/8.cpp
Normal file
@@ -0,0 +1,25 @@
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
int n, cnt;
|
||||
int f(int n) {
|
||||
if (n == 2)
|
||||
cnt = 2;
|
||||
else if (n == 4)
|
||||
cnt = 4;
|
||||
else if (n == 5)
|
||||
cnt = 3;
|
||||
else if (n == 7)
|
||||
cnt = 3;
|
||||
else if (n % 3 == 0)
|
||||
cnt = n / 3;
|
||||
else if (n % 3 == 1)
|
||||
cnt = (n - 7) / 3 + 3;
|
||||
else if (n % 3 == 2)
|
||||
cnt = (n - 5) / 3 + 3;
|
||||
return cnt;
|
||||
}
|
||||
int main() {
|
||||
for (int i = 2; i <= 100; i++)
|
||||
cout << "i=" << i << ",fan=" << f(i) << endl;
|
||||
return 0;
|
||||
}
|
||||
35
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202302/9.cpp
Normal file
35
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202302/9.cpp
Normal file
@@ -0,0 +1,35 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
const int N = 110;
|
||||
int a[N][N], s[N][N];
|
||||
/*
|
||||
4 5
|
||||
1 1 0 0 0
|
||||
1 0 1 0 0
|
||||
0 0 0 1 1
|
||||
0 0 0 1 0
|
||||
*/
|
||||
int main() {
|
||||
int n, m;
|
||||
cin >> n >> m;
|
||||
for (int i = 1; i <= n; i++)
|
||||
for (int j = 1; j <= m; j++)
|
||||
cin >> a[i][j];
|
||||
|
||||
// 计算二维前缀和
|
||||
for (int i = 1; i <= n; i++)
|
||||
for (int j = 1; j <= m; j++)
|
||||
s[i][j] = s[i - 1][j] + s[i][j - 1] - s[i - 1][j - 1] + a[i][j];
|
||||
|
||||
int res = 0;
|
||||
for (int x1 = 1; x1 <= n; x1++)
|
||||
for (int y1 = 1; y1 <= m; y1++)
|
||||
for (int x2 = x1; x2 <= n; x2++)
|
||||
for (int y2 = y1; y2 <= m; y2++) { // 四层循环枚举每个矩形的左上角和右下角
|
||||
if (s[x2][y2] - s[x1 - 1][y2] - s[x2][y1 - 1] + s[x1 - 1][y1 - 1] == 0)
|
||||
res = max(res, (x2 - x1 + 1) * (y2 - y1 + 1));
|
||||
}
|
||||
|
||||
cout << res << endl;
|
||||
return 0;
|
||||
}
|
||||
11
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202302/DLL.CPP
Normal file
11
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202302/DLL.CPP
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
int main() {
|
||||
int n;
|
||||
cin >> n;
|
||||
n %= 100;
|
||||
n = n - n % 10;
|
||||
n /= 10;
|
||||
cout << n;
|
||||
return 0;
|
||||
}
|
||||
512
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202302/翻硬币.drawio
Normal file
512
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202302/翻硬币.drawio
Normal file
@@ -0,0 +1,512 @@
|
||||
<mxfile host="Electron" modified="2024-02-27T12:43:20.964Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/22.1.21 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="em85Z9ws7Xkt8rHoYdl9" version="22.1.21" type="device">
|
||||
<diagram id="cvklCoSWffnhjQ7GbCL6" name="第 1 页">
|
||||
<mxGraphModel dx="1444" dy="960" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-1" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="70" y="30" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-2" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="140" y="30" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-3" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="210" y="30" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-4" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="280" y="30" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-5" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="70" y="97" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-6" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="140" y="97" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-7" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="210" y="97" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-8" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="280" y="97" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-9" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="70" y="161" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-10" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="140" y="161" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-11" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="210" y="161" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-12" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="280" y="161" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-13" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="70" y="225" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-14" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="140" y="225" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-15" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="210" y="225" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-16" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="280" y="225" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-25" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="70" y="285" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-26" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="140" y="285" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-27" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="210" y="285" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-28" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="280" y="285" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-38" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="620" y="30" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-39" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="690" y="30" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-40" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="760" y="30" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-41" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="830" y="30" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-42" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="900" y="30" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-45" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="620" y="95" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-46" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="690" y="95" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-47" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="760" y="95" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-48" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="830" y="95" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-49" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="900" y="95" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-58" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="620" y="155" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-59" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="690" y="155" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-60" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#cce5ff;strokeColor=#36393d;" parent="1" vertex="1">
|
||||
<mxGeometry x="760" y="155" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-61" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#cce5ff;strokeColor=#36393d;" parent="1" vertex="1">
|
||||
<mxGeometry x="830" y="155" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-62" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="900" y="155" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-64" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="620" y="216" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-65" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="690" y="216" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-66" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="760" y="216" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-67" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="830" y="216" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oZqggskxeyBZh7wHtWoi-69" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="900" y="216" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-1" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="70" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-2" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="140" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-3" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="210" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-4" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="280" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-5" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="350" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-6" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="420" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-7" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="490" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-8" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="70" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-9" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="140" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-10" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="210" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-11" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="280" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-12" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="350" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-13" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="420" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-14" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="490" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-15" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="70" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-16" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="140" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-17" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="210" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-18" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="280" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-19" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="350" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-20" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="420" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-21" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
|
||||
<mxGeometry x="490" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-22" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="70" y="660" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-23" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="140" y="660" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-24" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="210" y="660" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-25" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="280" y="660" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-26" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="350" y="660" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-27" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="420" y="660" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-28" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="490" y="660" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-29" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="620" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-30" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="690" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-31" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="760" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-32" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="830" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-33" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="900" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-34" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="970" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-35" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="1040" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-36" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="1110" y="420" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-37" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="620" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-38" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="690" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-39" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="760" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-40" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="830" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-41" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="900" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-42" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="970" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-43" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="1040" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-44" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="1110" y="500" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-45" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="620" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-46" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="690" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-47" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="760" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-48" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="830" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-49" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="900" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-50" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="970" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-51" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="1040" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-52" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="1110" y="577" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-53" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="620" y="650" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-54" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="690" y="650" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-55" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="760" y="650" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-56" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="830" y="650" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-57" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="1" vertex="1">
|
||||
<mxGeometry x="900" y="650" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-58" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="970" y="650" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-59" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="1040" y="650" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-60" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
|
||||
<mxGeometry x="1110" y="650" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-61" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="620" y="720" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-62" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="690" y="720" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-63" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="760" y="720" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-64" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="830" y="720" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-65" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="900" y="720" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-66" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="970" y="720" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-67" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="1040" y="720" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-68" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="1110" y="720" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-70" value="" style="shape=table;html=1;whiteSpace=wrap;startSize=0;container=1;collapsible=0;childLayout=tableLayout;fontSize=18;fontStyle=1" parent="1" vertex="1">
|
||||
<mxGeometry x="170" y="820" width="573" height="510" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-71" value="" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry width="573" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-73" value="硬币数" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontStyle=1;fontSize=18;" parent="efL5ftoOALWLMfZDeIAI-71" vertex="1">
|
||||
<mxGeometry width="286" height="30" as="geometry">
|
||||
<mxRectangle width="286" height="30" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-74" value="轮数" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontStyle=1;fontSize=18;" parent="efL5ftoOALWLMfZDeIAI-71" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="30" as="geometry">
|
||||
<mxRectangle width="287" height="30" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-75" value="" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="30" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-77" value="2" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontStyle=1;fontSize=18;" parent="efL5ftoOALWLMfZDeIAI-75" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-78" value="2" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontStyle=1;fontSize=18;" parent="efL5ftoOALWLMfZDeIAI-75" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-79" value="" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="70" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-81" value="3" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-79" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-82" value="1" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-79" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-84" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="110" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-86" value="4" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-84" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-87" value="4" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-84" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-88" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="150" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-90" value="5" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-88" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-91" value="3" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-88" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-92" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="190" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-94" value="6" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-92" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-95" value="2" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-92" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-96" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="230" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-98" value="7" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-96" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-99" value="3" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-96" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-100" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="270" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-102" value="8" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-100" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-103" value="4" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-100" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-104" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="310" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-106" value="9" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-104" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-107" value="3" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-104" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-108" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="350" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-110" value="10" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-108" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-111" value="4" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-108" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-112" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="390" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-114" value="11" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-112" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-115" value="5" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-112" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-116" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="430" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-118" value="12" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-116" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-119" value="4" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-116" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-120" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-70" vertex="1">
|
||||
<mxGeometry y="470" width="573" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-122" value="13" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-120" vertex="1">
|
||||
<mxGeometry width="286" height="40" as="geometry">
|
||||
<mxRectangle width="286" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="efL5ftoOALWLMfZDeIAI-123" value="5" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;fontSize=18;fontStyle=1" parent="efL5ftoOALWLMfZDeIAI-120" vertex="1">
|
||||
<mxGeometry x="286" width="287" height="40" as="geometry">
|
||||
<mxRectangle width="287" height="40" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="DKkRKNo-cceoj9rUJA3Z-1" value="Actor" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="1020" y="1100" width="70" height="150" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="DKkRKNo-cceoj9rUJA3Z-3" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="DKkRKNo-cceoj9rUJA3Z-1" target="DKkRKNo-cceoj9rUJA3Z-1">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
||||
1
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202302/题解.md
Normal file
1
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202302/题解.md
Normal file
@@ -0,0 +1 @@
|
||||
https://ccgao.blog.csdn.net/article/details/134725732
|
||||
6
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202303/1.cpp
Normal file
6
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202303/1.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
int main() {
|
||||
cout << '9' * 3 << endl;
|
||||
return 0;
|
||||
}
|
||||
7
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202303/4.cpp
Normal file
7
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202303/4.cpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
int main() {
|
||||
int b = 0x212;
|
||||
cout << b;
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
int main() {
|
||||
int n;
|
||||
cin >> n;
|
||||
cout << n - n / 200 * 25;
|
||||
return 0;
|
||||
}
|
||||
15
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202303/BC2.cpp
Normal file
15
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202303/BC2.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
const int N = 10010;
|
||||
int n, mx, pre, nxt;
|
||||
|
||||
int main() {
|
||||
cin >> n >> pre;
|
||||
for (int i = 2; i <= n; i++) {
|
||||
cin >> nxt;
|
||||
if (abs(nxt - pre) > mx) mx = abs(nxt - pre);
|
||||
pre = nxt;
|
||||
}
|
||||
cout << mx;
|
||||
return 0;
|
||||
}
|
||||
37
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202303/BC3.cpp
Normal file
37
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202303/BC3.cpp
Normal file
@@ -0,0 +1,37 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
|
||||
int check(int x) {
|
||||
// 转9进制
|
||||
string res;
|
||||
while (x) {
|
||||
int a = x % 9;
|
||||
res += to_string(a);
|
||||
x /= 9;
|
||||
}
|
||||
// 每个数位都是奇数
|
||||
for (int i = 0; i < res.size(); i++)
|
||||
if ((res[i] - '0') % 2 == 0) return 0;
|
||||
|
||||
// 判断转完的9进制是不是回文数
|
||||
// 方法1
|
||||
// string str = res;
|
||||
// reverse(str.begin(), str.end());
|
||||
// return str == res;
|
||||
|
||||
// 方法2
|
||||
for (int i = 0; i < (res.size() + 1) / 2; i++)
|
||||
if (res[i] != res[res.size() - 1 - i]) return 0;
|
||||
|
||||
return 1;
|
||||
}
|
||||
int main() {
|
||||
int n, m;
|
||||
cin >> n >> m;
|
||||
|
||||
int res = 0;
|
||||
for (int i = n; i <= m; i++) res += check(i);
|
||||
|
||||
cout << res << endl;
|
||||
return 0;
|
||||
}
|
||||
42
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202303/BC4.cpp
Normal file
42
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202303/BC4.cpp
Normal file
@@ -0,0 +1,42 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
const int N = 110;
|
||||
int n, m, ans, st[N];
|
||||
int a[N][N];
|
||||
|
||||
bool check(int u) {
|
||||
for (int i = 1; i < u; i++)
|
||||
if (st[i] && a[u][i]) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
void dfs(int u, int sum) { // 第u号钻石,之前一共选了sum个钻石
|
||||
if (u == n + 1) { // 如果所有钻石都找完了
|
||||
ans = max(ans, sum); // 取最大值
|
||||
return;
|
||||
}
|
||||
// 如果剩下的钻石都选也没有已有的最好情况多,返回,剪枝
|
||||
// if (ans > sum + (n - u + 1)) return;
|
||||
|
||||
if (check(u)) { // 当前钻石与已选钻石没有冲突
|
||||
st[u] = 1; // 选之
|
||||
dfs(u + 1, sum + 1); // 继续下一个钻石
|
||||
st[u] = 0; // 不选
|
||||
}
|
||||
|
||||
dfs(u + 1, sum); // 继续下一个钻石
|
||||
}
|
||||
|
||||
int main() {
|
||||
cin >> n >> m;
|
||||
while (m--) {
|
||||
int x, y;
|
||||
cin >> x >> y;
|
||||
a[x][y] = a[y][x] = 1; // x<->y互相冲突
|
||||
}
|
||||
|
||||
dfs(1, 0); // 从第一个钻石开始选,目前已选0个
|
||||
cout << ans << endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
const int N = 31;
|
||||
char a[N][N];
|
||||
int n, m, cnt;
|
||||
|
||||
int main() {
|
||||
cin >> n >> m;
|
||||
for (int i = 0; i < n; i++)
|
||||
for (int j = 0; j < m; j++)
|
||||
cin >> a[i][j];
|
||||
for (int e = 2; e <= min(m, n);e++){
|
||||
for (int i = 0; i <= n - e;i++){
|
||||
for (int j = 0; j <= m - e;j++){
|
||||
bool f = true;
|
||||
for (int x = 0; x < e;x++){
|
||||
for (int y = 0; y < e;y++){
|
||||
if(a[i][j]!=a[i+x][j+y]){
|
||||
f = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!f) break;
|
||||
}
|
||||
if (f) cnt++;
|
||||
}
|
||||
}
|
||||
}
|
||||
cout << cnt << endl;
|
||||
return 0;
|
||||
}
|
||||
3
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202303/题解.md
Normal file
3
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao14STEMA202303/题解.md
Normal file
@@ -0,0 +1,3 @@
|
||||
https://ccgao.blog.csdn.net/article/details/134725794
|
||||
|
||||
https://tiku.scratchor.com/paper/view/z8k4y0xsf0ue8xlh
|
||||
23
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202312/10.cpp
Normal file
23
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202312/10.cpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
int k;
|
||||
string kill(string s) {
|
||||
int p = s[s.size() - 1]; // 最后一位是默认值
|
||||
for (int i = 0; i < s.size() - 1; i++)
|
||||
if (s[i + 1] > s[i]) {
|
||||
p = i;
|
||||
break;
|
||||
}
|
||||
string res;
|
||||
for (int i = 0; i < s.size(); i++)
|
||||
if (i != p) res += s[i];
|
||||
return res;
|
||||
}
|
||||
|
||||
int main() {
|
||||
string s;
|
||||
cin >> s >> k;
|
||||
for (int i = 1; i <= k; i++) s = kill(s);
|
||||
cout << s << endl;
|
||||
return 0;
|
||||
}
|
||||
46
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202312/11.cpp
Normal file
46
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202312/11.cpp
Normal file
@@ -0,0 +1,46 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
const int N = 100010;
|
||||
vector<int> g[N]; // 邻接表,一个正图,一个反图
|
||||
int c[N]; // 每个树洞中松鼠的数量
|
||||
/*
|
||||
测试用例
|
||||
4
|
||||
5
|
||||
3
|
||||
6
|
||||
1
|
||||
1 2
|
||||
1 3
|
||||
2 4
|
||||
2
|
||||
*/
|
||||
int dfs(int u, int fa, int k) {
|
||||
if (k == 0) return c[u];
|
||||
int sum = c[u];
|
||||
for (int i = 0; i < g[u].size(); i++) {
|
||||
if (g[u][i] == fa) continue;
|
||||
sum += dfs(g[u][i], u, k - 1);
|
||||
}
|
||||
return sum;
|
||||
}
|
||||
|
||||
int main() {
|
||||
int n; // 树洞的数量
|
||||
cin >> n;
|
||||
|
||||
for (int i = 1; i <= n; i++) cin >> c[i]; // 每个树洞中松鼠的数量
|
||||
|
||||
for (int i = 1; i < n; i++) {
|
||||
int a, b; // 表示两个树洞相连接
|
||||
cin >> a >> b;
|
||||
g[a].push_back(b); // 用邻接表保存一下某个树洞与哪两个其它树洞相连接
|
||||
g[b].push_back(a);
|
||||
}
|
||||
|
||||
int k;
|
||||
cin >> k;
|
||||
for (int i = 1; i <= n; i++)
|
||||
cout << dfs(i, -1, k) << endl;
|
||||
return 0;
|
||||
}
|
||||
9
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202312/11.in
Normal file
9
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202312/11.in
Normal file
@@ -0,0 +1,9 @@
|
||||
4
|
||||
5
|
||||
3
|
||||
6
|
||||
1
|
||||
1 2
|
||||
1 3
|
||||
2 4
|
||||
2
|
||||
14
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202312/5.cpp
Normal file
14
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202312/5.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
int func(int x, int y, int z) {
|
||||
if (x == 1 || y == 1 || z == 1) return 1;
|
||||
if (x < y && x < z)
|
||||
return func(x, y - 1, z) + func(x, y, z - 1);
|
||||
if (y < x && y < z)
|
||||
return func(x - 1, y, z) + func(x, y, z - 1);
|
||||
return func(x - 1, y, z) + func(x, y - 1, z);
|
||||
}
|
||||
int main() {
|
||||
cout << func(3, 3, 2);
|
||||
return 0;
|
||||
}
|
||||
36
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202312/5.md
Normal file
36
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202312/5.md
Normal file
@@ -0,0 +1,36 @@
|
||||
```cpp {.line-numbers}
|
||||
int func( int x, int y, int z )
|
||||
{
|
||||
if( x == 1 || y == 1 || z == 1 ) return 1;
|
||||
if( x < y && x < z )
|
||||
return func( x, y - 1, z ) + func( x, y, z - 1 );
|
||||
if( y < x && y < z )
|
||||
return func( x - 1, y, z ) + func( x, y, z - 1 );
|
||||
return func( x - 1, y, z ) + func( x, y - 1, z );
|
||||
}
|
||||
int main()
|
||||
{
|
||||
cout << func( 3, 3, 2 );
|
||||
return 0;
|
||||
}
|
||||
```
|
||||
将$func()$简写成$f()$
|
||||
|
||||
人脑模拟电脑
|
||||
|
||||
$f(3,3,2)=f(2,3,2)+f(3,2,2)$
|
||||
|
||||
其中
|
||||
$f(2,3,2)=f(1,3,2)+f(2,2,2)$ ①
|
||||
$f(3,2,2)=f(2,2,2)+f(3,1,2)$ ②
|
||||
|
||||
最终$res=①+②$
|
||||
|
||||
$f(1,3,2)=1$
|
||||
$f(2,2,2)=f(1,2,2)+f(2,1,2)=1+1=2$
|
||||
|
||||
$\therefore$ ①=3
|
||||
|
||||
②=3
|
||||
|
||||
①+②=6
|
||||
21
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202312/7.cpp
Normal file
21
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202312/7.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
|
||||
bool check(int x) {
|
||||
int sum = 0;
|
||||
while (x) {
|
||||
int a = x % 10;
|
||||
x /= 10;
|
||||
sum += a;
|
||||
}
|
||||
return sum % 2 == 0;
|
||||
}
|
||||
|
||||
int main() {
|
||||
int n, m;
|
||||
cin >> n >> m;
|
||||
for (int i = n; i <= m; i++)
|
||||
if (check(i))
|
||||
cout << i << endl;
|
||||
return 0;
|
||||
}
|
||||
26
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202312/9.cpp
Normal file
26
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202312/9.cpp
Normal file
@@ -0,0 +1,26 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
string s;
|
||||
cin >> s;
|
||||
|
||||
int m;
|
||||
cin >> m;
|
||||
m--;
|
||||
|
||||
while (m--) {
|
||||
string t;
|
||||
for (int i = 0; i < s.size(); i++) {
|
||||
int c = 1;
|
||||
while (i + 1 < s.size() && s[i + 1] == s[i]) {
|
||||
c++;
|
||||
i++;
|
||||
}
|
||||
t = t + to_string(c) + s[i];
|
||||
}
|
||||
s = t;
|
||||
}
|
||||
cout << s << endl;
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
const int N = 110;
|
||||
struct Node {
|
||||
int x, y;
|
||||
int c[10];
|
||||
} a[N];
|
||||
|
||||
int main() {
|
||||
a[0].x = 1;
|
||||
a[0].y = 2;
|
||||
a[0].c[0] = 3;
|
||||
return 0;
|
||||
}
|
||||
19
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202312/G2.cpp
Normal file
19
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202312/G2.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
string s;
|
||||
int n;
|
||||
int main() {
|
||||
cin >> s >> n;
|
||||
n--;
|
||||
while(n--){
|
||||
string t;
|
||||
for (int i = 0; i < s.size(); i++){
|
||||
int cnt = 1;
|
||||
while (i + 1 < s.size() && s[i + 1]==s[i]) cnt++, i++;
|
||||
t += to_string(cnt) + s[i];
|
||||
}
|
||||
s = t;
|
||||
}
|
||||
cout << s << endl;
|
||||
return 0;
|
||||
}
|
||||
30
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202312/TD.cpp
Normal file
30
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202312/TD.cpp
Normal file
@@ -0,0 +1,30 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
const int N = 100010;
|
||||
vector<int> g[N];
|
||||
int c[N];
|
||||
int dfs(int u, int fa, int k) {
|
||||
if (k == 0) return c[u];
|
||||
int sum = c[u];
|
||||
for (int i = 0; i < g[u].size(); i++) {
|
||||
if (g[u][i] == fa) continue;
|
||||
sum += dfs(g[u][i], u, k - 1);
|
||||
}
|
||||
return sum;
|
||||
}
|
||||
int main() {
|
||||
int n;
|
||||
cin >> n;
|
||||
for (int i = 1; i <= n; i++) cin >> c[i];
|
||||
for (int i = 1; i < n; i++){
|
||||
int a, b;
|
||||
cin >> a >> b;
|
||||
g[a].push_back(b);
|
||||
g[b].push_back(a);
|
||||
}
|
||||
int k;
|
||||
cin >> k;
|
||||
for (int i = 1; i <= n; i++)
|
||||
cout << dfs(i, -1, k) << endl;
|
||||
return 0;
|
||||
}
|
||||
21
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202312/sg.cpp
Normal file
21
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202312/sg.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
const int N=110;
|
||||
struct Node {
|
||||
int id;
|
||||
int fen;
|
||||
bool operator<(const Node &t) {
|
||||
if (fen == t.fen) return id < t.id;
|
||||
return fen > t.fen;
|
||||
}
|
||||
} a[N];
|
||||
|
||||
|
||||
int main() {
|
||||
int n;
|
||||
cin >> n;
|
||||
for (int i = 1; i <= n; i++) cin >> a[i].id >> a[i].fen;
|
||||
sort(a+1, a + n+1);
|
||||
for (int i = 1; i <= n; i++) cout << a[i].id << " " << a[i].fen << endl;
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
https://tiku.scratchor.com/paper/view/z8k4y0xsf0ue8xlh
|
||||
|
||||
|
||||
https://tiku.scratchor.com/paper/view/gjfvsjrgtpm30v3f
|
||||
10
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202401/1.cpp
Normal file
10
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202401/1.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
const int N = 110;
|
||||
int a[N];
|
||||
int main() {
|
||||
cin >> a[0] >> a[1] >> a[2];
|
||||
sort(a, a + 3);
|
||||
cout << a[1] << endl;
|
||||
return 0;
|
||||
}
|
||||
24
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202401/2.cpp
Normal file
24
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202401/2.cpp
Normal file
@@ -0,0 +1,24 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
bool isQm(int x) {
|
||||
int t = x;
|
||||
while (t) {
|
||||
int a = t % 10;
|
||||
if (a > 0 && x % a > 0) return false;
|
||||
t /= 10;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
int main() {
|
||||
int n, m;
|
||||
cin >> n >> m;
|
||||
int cnt = 0;
|
||||
for (int i = n; i <= m; i++)
|
||||
if (isQm(i)) {
|
||||
cout << i << " ";
|
||||
cnt++;
|
||||
}
|
||||
if (cnt == 0) cout << -1;
|
||||
return 0;
|
||||
}
|
||||
45
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202401/3.cpp
Normal file
45
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202401/3.cpp
Normal file
@@ -0,0 +1,45 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
/*
|
||||
测试样例:
|
||||
abcdefgh
|
||||
|
||||
输出:
|
||||
aebfcgdh
|
||||
|
||||
思考:
|
||||
行数:n, 列数:m 需要满足 m>=n
|
||||
(1) 1行, m=length(abcdefgh)=8 n=1 满足m>=n
|
||||
(2) 2行, m=8/2=4 n=2 满足m>=n
|
||||
(3) 3行, 8不能被3整除,跳过,尝试继续增大行数试试
|
||||
(4) 4行, m=8/4=2, n=4 m<n 不满足条件了,break
|
||||
*/
|
||||
const int N = 210;
|
||||
char a[N][N]; // 开一个二维数组用来模拟
|
||||
int n, m; // 最后是几行几列
|
||||
|
||||
int main() {
|
||||
string s;
|
||||
cin >> s; // 生成一个n行m列的矩阵
|
||||
|
||||
// 1、几行几列是答案?
|
||||
int len = s.size();
|
||||
for (int i = 1;; i++) {
|
||||
if (len % i == 0 && len / i >= i) n = i; // 找到一个合理解,更新之
|
||||
if (len / i < i) break; // 跑过了,就停下来
|
||||
}
|
||||
|
||||
m = len / n; // 每行多少列
|
||||
|
||||
// 2、做一个二维矩阵存进去
|
||||
for (int i = 0; i < n; i++) // 行
|
||||
for (int j = 0; j < m; j++) // 列
|
||||
a[i][j] = s[i * m + j];
|
||||
|
||||
// 3、从第一列开始,逐列从上下到输出矩阵中的字符
|
||||
for (int j = 0; j < m; j++)
|
||||
for (int i = 0; i < n; i++)
|
||||
cout << a[i][j];
|
||||
|
||||
return 0;
|
||||
}
|
||||
29
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202401/4.cpp
Normal file
29
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202401/4.cpp
Normal file
@@ -0,0 +1,29 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
const int N = 5010;
|
||||
int f[N]; // DP结果数组 f[i]含义:第i层台阶共有多少种到达的方法数
|
||||
int n, k;
|
||||
/*
|
||||
4 2
|
||||
5
|
||||
*/
|
||||
int main() {
|
||||
cin >> n >> k;
|
||||
// 特判K=1
|
||||
if (k == 1) {
|
||||
cout << 1 << endl;
|
||||
exit(0);
|
||||
}
|
||||
// 初始化 K>=2
|
||||
f[1] = 1;
|
||||
f[2] = 2;
|
||||
|
||||
// 状态转移方程
|
||||
for (int i = 3; i <= n; i++)
|
||||
for (int j = max(i - k, 1); j <= max(1, i - 1); j++)
|
||||
f[i] += f[j];
|
||||
|
||||
// for (int i = 1; i <= n; i++) cout << f[i] << " ";
|
||||
cout << f[n] << endl;
|
||||
return 0;
|
||||
}
|
||||
66
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202401/5.cpp
Normal file
66
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202401/5.cpp
Normal file
@@ -0,0 +1,66 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
const int N = 10010;
|
||||
int a[N];
|
||||
int sum, avg, total;
|
||||
int main() {
|
||||
int n;
|
||||
cin >> n;
|
||||
|
||||
for (int i = 1; i <= n; i++) {
|
||||
cin >> a[i];
|
||||
sum += a[i];
|
||||
}
|
||||
if (sum % n) {
|
||||
cout << -1 << endl;
|
||||
exit(0);
|
||||
}
|
||||
avg = sum / n; // 平均数
|
||||
|
||||
/*
|
||||
算法思路
|
||||
1、求出平均数avg
|
||||
2、枚举每个数字:
|
||||
(1) 如果当前数字比avg大,不断向后面找出比avg小的数,将自己多出的部分传递给这个数=min(超过avg的量,少于avg的量)
|
||||
如果一下子没用了,就继续向后做同样的操作
|
||||
(2) 如果当前数字比avg小,不断向后面找出比avg大的数,将自己少出的部分传递给这个数=min(超过avg的量,少于avg的量)
|
||||
如果一下子没用了,就继续向后做同样的操作
|
||||
|
||||
举栗子思考:
|
||||
3
|
||||
10 1 1
|
||||
|
||||
|
||||
3
|
||||
5 1 6
|
||||
|
||||
|
||||
3
|
||||
1 5 6
|
||||
*/
|
||||
for (int i = 1; i <= n; i++) {
|
||||
int d = a[i] - avg; // 差值,注意:这个差值可能是正的,也可能是负的
|
||||
total += abs(d);
|
||||
|
||||
for (int j = i + 1; j <= n; j++) { // 枚举i的所有后位的小朋友,如果当前i位上的小朋友需要糖果或者多出来糖果时,应该把
|
||||
// 多出来的糖果分给哪些小朋友,或者,少出来的糖果需要从哪些小朋友那里要过来
|
||||
// 向后找比avg小的
|
||||
if (d > 0 && a[j] < avg) {
|
||||
int x = min(d, avg - a[j]);
|
||||
a[i] -= x;
|
||||
a[j] += x;
|
||||
d -= x;
|
||||
}
|
||||
// 向后找比avg大的
|
||||
if (d < 0 && a[j] > avg) {
|
||||
int x = min(abs(d), a[j] - avg);
|
||||
a[i] += x;
|
||||
a[j] -= x;
|
||||
d += x;
|
||||
}
|
||||
if (d == 0) break;
|
||||
}
|
||||
}
|
||||
cout << total << endl;
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<mxfile host="Electron" modified="2024-03-11T07:49:39.890Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/14.9.6 Chrome/89.0.4389.128 Electron/12.0.16 Safari/537.36" etag="tFvaNrIXzMi-P0cMovxI" version="14.9.6" type="device"><diagram id="4J5xsyxzfobqGXuH9jze" name="第 1 页">7Ztbb5swFIB/DY+TwOaWxyRtt5dJ0/rQvU0ouMEdwRE4De2vn2lsCDYRqRUn2nDVKOFgjsP5fDgXiAOXm/prmWyz7yRFuQPctHbgnQOA5wPgNP9u+naQxJAL1iVO+aBO8IjfERe6XLrDKap6AykhOcXbvnBFigKtaE+WlCXZ94c9k7w/6zZZI0XwuEpyVfqEU5pxqRfOuh3fEF5nfOoYRIcdm0QM5mdSZUlK9kcieO/AZUkIPXza1EuUN8YTdjkc93Bib/vFSlTQcw6g7yTbbX4+/UrrGgFwV+OX31+4ltck33Un7DYiyF8cV0XfhEkoqtmEi4xucibw2MeKluQPWpKclExSkIKNXDzjPJdESY7XBdtcsa+MmHzxikqKmbHnfMcGp2kzzWKfYYoet8mqmXPPlhaTlWRXpKg5G7dRTwrKl4sfsG1+Ikwhqk9ayGvtzhYsIhtEyzc2hB/gc1J8qYZ8c99xb5dldoRcAE74Ulu3ijsa7AMH8gk4QIGjsEBFOm9WeWPUPKkqvPrAkZRUFR8BGzYeShVfGDXdkXGCAdsIWYnyhOLXvvohg/EZfhDMJm7JhH0ynmzyiuzKFeIHHfuApGc2oocZbo2ooueDXnvS+kChBcpBACiR8DWJeu6IIsNIA4tUkBhzrrORymvjyl4aKkhFPBTv3mRj4u2DYmQdbjgoQm1/80cUGfa32BIVJGKJxKWioqLIMNKZRXoi0dFGCm6MVFzkz2TKo1uaVNlHePL+bYyKQ4WX8kz3yhjVin9KGOHsQhhlRdfGqPYGRHLqs1fgTLlx40e3TlI93wbAEwEwCDRdLhzRY9rjbKXfXvy8/sUvgJpIZyN6TCNVK/3JIg0k74KeHlK5eaMoMs3U9ge6ajKWUABNpuGIItNM1Q6B6Mb5/D1QIE8l2Qlvn+zYav9UAyfSTXbkMlFRZNjlxGKxTEEc9EnoJjvhiB7TRD9X+P/PROVkJ7pUsqMoMs1U7QJMlSnzUwmFZrID3BFFppmqDwkMJDtTuw0ZRFLWoyY9EF4z6QG2HdAGSK/PRvtZjhCMKDLterZ2FCiisWcwzmY69uiWaab27nLLVPZTT5ep/KSPrMg0U1twtkyjfgtV20+jYESR6UcjbcHZFZyhhEKzPInhiCLTTNV4Cp370Jkvnfk5uavJnLTZFimwA+DDg8v+LpOrQql3M1NzVW+oQSdnOxfLVaEaA/0pcJDiHYhvDkINXJMAITnE0P3564Lw1WgzRRBD9w6uDELtSgYTADGTLk2BOQ5ss/uN2SGyd7/Ug/d/AQ==</diagram></mxfile>
|
||||
16
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202401/6.in
Normal file
16
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202401/6.in
Normal file
@@ -0,0 +1,16 @@
|
||||
5
|
||||
1 2 3 3 2
|
||||
|
||||
5
|
||||
2 3 2 3 1
|
||||
|
||||
5
|
||||
2 3 4 5 2
|
||||
|
||||
5
|
||||
3 2 4 2 5
|
||||
|
||||
7
|
||||
3 2 4 2 5 3 1
|
||||
|
||||
0
|
||||
50
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202401/6_dfs.cpp
Normal file
50
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202401/6_dfs.cpp
Normal file
@@ -0,0 +1,50 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
typedef pair<int, int> PII;
|
||||
const int N = 110;
|
||||
int a[N];
|
||||
int st[10];
|
||||
vector<PII> q;
|
||||
int res;
|
||||
int n;
|
||||
|
||||
int main() {
|
||||
#ifndef ONLINE_JUDGE
|
||||
freopen("6.in", "r", stdin);
|
||||
#endif
|
||||
|
||||
while (cin >> n && n) {
|
||||
// 各种清空
|
||||
memset(a, 0, sizeof a);
|
||||
memset(st, 0, sizeof st);
|
||||
q.clear();
|
||||
res = 0;
|
||||
|
||||
for (int i = 1; i <= n; i++) cin >> a[i]; // 密码数组
|
||||
for (int i = 1; i <= n; i++) { // 遍历每个位置
|
||||
if (!st[a[i]]) { // 如果此数字没有被处理过
|
||||
st[a[i]] = 1; // 标识已处理
|
||||
for (int j = n; j; j--) // 从后向前找到它的终止位置
|
||||
if (a[i] == a[j]) {
|
||||
q.push_back({i, j}); // 记录有效区间
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 从左到右枚举,所以,不再需再进行按左端点排序,现在就是按左端点排序完的
|
||||
// Q:求一组区间的相交区间个数?如果存在一个相交区间,就多加1个1
|
||||
res = q.size();
|
||||
|
||||
// 如果存在区间相交,则res++
|
||||
for (int i = 0; i < q.size(); i++)
|
||||
for (int j = i + 1; j < q.size(); j++)
|
||||
if (q[i].second > q[j].first && q[j].second > q[i].second) res++;
|
||||
|
||||
for (int i = 1; i <= n; i++) cout << a[i] << " ";
|
||||
cout << endl;
|
||||
cout << res << endl;
|
||||
cout << endl;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
|
||||
/*
|
||||
测试用例:
|
||||
5
|
||||
12321
|
||||
|
||||
思路:
|
||||
1、先看前后是不是存在一样的,这样的优先处理
|
||||
2、
|
||||
*/
|
||||
int cnt = 1;
|
||||
|
||||
// 循环写法
|
||||
void cut(string s) {
|
||||
while (true) {
|
||||
int p;
|
||||
for (p = s.size() - 1; p; p--)
|
||||
if (s[0] != s[p]) break;
|
||||
string t;
|
||||
for (int i = 1; i <= p; i++) t += s[i];
|
||||
if (t.size())
|
||||
cnt++, s = t;
|
||||
else
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
int main() {
|
||||
int n;
|
||||
string s;
|
||||
cin >> n >> s;
|
||||
cut(s);
|
||||
cout << cnt << endl;
|
||||
return 0;
|
||||
}
|
||||
64
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202401/7.cpp
Normal file
64
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202401/7.cpp
Normal file
@@ -0,0 +1,64 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
typedef long long LL;
|
||||
/*
|
||||
4
|
||||
1 2 3 4
|
||||
*/
|
||||
const int N = 110;
|
||||
struct Node {
|
||||
int num; // 啥数
|
||||
int left, right; // 左侧是哪个节点,右侧是哪个节点
|
||||
} a[N];
|
||||
int st[N];
|
||||
int n;
|
||||
LL res;
|
||||
string finalPath;
|
||||
void dfs(int r, LL sum, string path) { // u:本轮选择哪个靶子, r:剩余几次机会 sum:已经取得的累加和
|
||||
if (r == 0) {
|
||||
if (sum > res) {
|
||||
res = sum;
|
||||
finalPath = path;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
for (int u = 1; u <= n; u++) {
|
||||
if (!st[u]) {
|
||||
int L = a[u].left, R = a[u].right;
|
||||
|
||||
st[u] = 1; // u号靶子被标识为已放倒
|
||||
a[L].right = R;
|
||||
a[R].left = L;
|
||||
|
||||
// 深搜
|
||||
dfs(r - 1, sum + a[L].num * a[u].num * a[R].num, path + to_string(u));
|
||||
|
||||
// 回溯
|
||||
a[L].right = u;
|
||||
a[R].left = u;
|
||||
st[u] = 0; // u被扶了起来
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
int main() {
|
||||
cin >> n;
|
||||
for (int i = 1; i <= n; i++) cin >> a[i].num;
|
||||
|
||||
// 左右哨兵
|
||||
a[0].num = 1;
|
||||
a[n + 1].num = 1;
|
||||
|
||||
// 预处理
|
||||
for (int i = 1; i <= n; i++) {
|
||||
a[i].left = i - 1;
|
||||
a[i].right = i + 1;
|
||||
}
|
||||
|
||||
dfs(n, 0, "");
|
||||
|
||||
cout << res << endl;
|
||||
cout << finalPath << endl;
|
||||
return 0;
|
||||
}
|
||||
30
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202401/hags.cpp
Normal file
30
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202401/hags.cpp
Normal file
@@ -0,0 +1,30 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
|
||||
bool check(int x) {
|
||||
int len = to_string(x).size();
|
||||
|
||||
int sum = 0, t = x;
|
||||
while (t) {
|
||||
int a = t % 10;
|
||||
sum += pow(a, len);
|
||||
t /= 10;
|
||||
}
|
||||
|
||||
return x == sum;
|
||||
}
|
||||
|
||||
int main() {
|
||||
int T;
|
||||
cin >> T;//times
|
||||
while (T--) {
|
||||
int a;
|
||||
cin >> a;
|
||||
|
||||
if (check(a))
|
||||
cout << 'T' << endl;
|
||||
else
|
||||
cout << 'F' << endl;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
23
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202401/str.cpp
Normal file
23
TangDou/LanQiaoBei/ZhongGaoJi/LanQiao15STEMA202401/str.cpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
int cnt;
|
||||
bool check(int x) {
|
||||
string s = to_string(x);
|
||||
string t = s;
|
||||
reverse(t.begin(), t.end());
|
||||
|
||||
if (s != t) return false;
|
||||
bool flag = false;
|
||||
for (int i = 0; i < s.size(); i++)
|
||||
if (s[i] == '7') flag = true;
|
||||
if (!flag) return false;
|
||||
return true;
|
||||
}
|
||||
int main() {
|
||||
int a, b;
|
||||
cin >> a >> b;
|
||||
for (int i = a; i <= b; i++)
|
||||
if (check(i)) cnt++;
|
||||
cout << cnt << endl;
|
||||
return 0;
|
||||
}
|
||||
92
TangDou/LanQiaoBei/ZhongGaoJi/复习1.md
Normal file
92
TangDou/LanQiaoBei/ZhongGaoJi/复习1.md
Normal file
@@ -0,0 +1,92 @@
|
||||
## 复习提纲
|
||||
|
||||

|
||||
|
||||
以$A$为例,5进制理解为$5^0,5^1,5^2,5^3$
|
||||
$(1234)_5=1*4+3*5+2*25+1*125=194$
|
||||
$(302)_8=2*8^0+0*8^1+3*8^2=2*1+0*8+3*64=194$
|
||||
$(11000100)_2=(304)_8$ 与$(302)_8$不同,所以答案是$C$
|
||||
$(C2)_{16}=2*1+12*16=194$
|
||||
|
||||

|
||||
```cpp {.line-numbers}
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
|
||||
bool check(int x) {
|
||||
int sum = 0;
|
||||
while (x) {
|
||||
int a = x % 10;
|
||||
x /= 10;
|
||||
sum += a;
|
||||
}
|
||||
return sum % 2 == 0;
|
||||
}
|
||||
|
||||
int main() {
|
||||
int n, m;
|
||||
cin >> n >> m;
|
||||
for (int i = n; i <= m; i++)
|
||||
if (check(i))
|
||||
cout << i << endl;
|
||||
return 0;
|
||||
}
|
||||
```
|
||||

|
||||
|
||||
```cpp {.line-numbers}
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
string s;
|
||||
cin >> s;
|
||||
|
||||
int m;
|
||||
cin >> m;
|
||||
m--;
|
||||
|
||||
while (m--) {
|
||||
string t;
|
||||
for (int i = 0; i < s.size(); i++) {
|
||||
int c = 1;
|
||||
while (i + 1 < s.size() && s[i + 1] == s[i]) {
|
||||
c++;
|
||||
i++;
|
||||
}
|
||||
t = t + to_string(c) + s[i];
|
||||
}
|
||||
s = t;
|
||||
}
|
||||
cout << s << endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
```
|
||||
|
||||

|
||||
```cpp {.line-numbers}
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
int k;
|
||||
string kill(string s) {
|
||||
int p = s[s.size() - 1]; // 最后一位是默认值
|
||||
for (int i = 0; i < s.size() - 1; i++)
|
||||
if (s[i + 1] > s[i]) {
|
||||
p = i;
|
||||
break;
|
||||
}
|
||||
string res;
|
||||
for (int i = 0; i < s.size(); i++)
|
||||
if (i != p) res += s[i];
|
||||
return res;
|
||||
}
|
||||
|
||||
int main() {
|
||||
string s;
|
||||
cin >> s >> k;
|
||||
for (int i = 1; i <= k; i++) s = kill(s);
|
||||
cout << s << endl;
|
||||
return 0;
|
||||
}
|
||||
```
|
||||
47
TangDou/LanQiaoBei/ZhongGaoJi/复习2.md
Normal file
47
TangDou/LanQiaoBei/ZhongGaoJi/复习2.md
Normal file
@@ -0,0 +1,47 @@
|
||||
|
||||

|
||||
|
||||
办法:将十六进制向十进制化,**而不是** 将十进制向十六进制转换。上来直接排除$D$(出题人不会太仁慈,否则就直接秒杀了),其它的靠算。
|
||||
|
||||

|
||||
```cpp {.line-numbers}
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
const int N = 110;
|
||||
int a[N];
|
||||
int main() {
|
||||
cin >> a[0] >> a[1] >> a[2];
|
||||
sort(a, a + 3);
|
||||
cout << a[1] << endl;
|
||||
return 0;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||

|
||||
```cpp {.line-numbers}
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
bool isQm(int x) {
|
||||
int t = x;
|
||||
while (t) {
|
||||
int a = t % 10;
|
||||
if (a > 0 && x % a > 0) return false;
|
||||
t /= 10;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
int main() {
|
||||
int n, m;
|
||||
cin >> n >> m;
|
||||
int cnt = 0;
|
||||
for (int i = n; i <= m; i++)
|
||||
if (isQm(i)) {
|
||||
cout << i << " ";
|
||||
cnt++;
|
||||
}
|
||||
if (cnt == 0) cout << -1;
|
||||
return 0;
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user