输出向下的金字塔 1、for语句 #include <stdio.h> int main(void) { int i, j, layer; puts("please input the layer"); printf("layer = "); scanf("%d", &layer); for(i = ...
分类:
编程语言 时间:
2021-04-27 15:19:08
阅读次数:
0
思路: 水题,略过 Tip: 无 #include <bits/stdc++.h> using namespace std; int main() { int n, t, num = 0; string now; cin >> n >> t; getchar(); for (int i = 1; i ...
分类:
其他好文 时间:
2021-04-27 15:16:28
阅读次数:
0
思路: 水题,略过 Tip: 无 #include <bits/stdc++.h> using namespace std; const int maxn = 1000 + 5; int ans[maxn]; int main() { int a, b, n; cin >> a >> b >> n; ...
分类:
其他好文 时间:
2021-04-27 15:09:43
阅读次数:
0
将pc和设备相连,打开tftp服务器软件。 导出配置文件 <Huawei>tftp 192.168.0.100 put vrpcfg.zip //将文件vrpcfg.zip导出到192.168.0.100主机 导入配置文件 <Huawei>tftp 192.168.0.100 get vrpcfg. ...
分类:
其他好文 时间:
2021-04-27 15:09:08
阅读次数:
0
思路: 水题,略过 Tip: 无 #include <bits/stdc++.h> using namespace std; const int maxn = 1000 + 5; queue<char> que[maxn]; stack<char> s; int main() { int n, m, ...
分类:
其他好文 时间:
2021-04-27 15:08:37
阅读次数:
0
##解决办法 切换到bin目录下,执行 PS C:\Windows\system32> cd 'D:\Program Files\Java\jdk-15.0.2\bin\' PS D:\Program Files\Java\jdk-15.0.2\bin> jlink.exe --module-pat ...
分类:
其他好文 时间:
2021-04-27 15:07:42
阅读次数:
0
模拟赛考了一道莫反结果只写了低档暴力 定义完全积性函数:定义域在$>0$的自然数内。 有$f(ab)=f(a)f(b)$ 例子:\(f(a)=a\) 定义积性函数:如果$(a,b)=1,f(ab)=f(a)f(b)$ 推论:设$a$的唯一分解:\(p_1^{b1}p_2^{b2}...p_n^{bn ...
分类:
其他好文 时间:
2021-04-27 15:07:10
阅读次数:
0
1.对多个字段去重复 ArrayList<SupplierDeliveryCountNum> collect = numlist.stream() .collect(Collectors.collectingAndThen( Collectors.toCollection(() -> new Tre ...
分类:
编程语言 时间:
2021-04-27 15:06:52
阅读次数:
0
二叉树的三种遍历方式(递归)先根中根后根 二叉树的三种遍历方式(递归) 先根 1void preOrder(BinTree tree){2 if(tree == NULL){3 return ;4 }5 visit(tree);6 preOrder(tree->leftNode);7 preOrde ...
分类:
其他好文 时间:
2021-04-27 15:06:19
阅读次数:
0
c语言 4-20 为九九乘法表增加横纵标题。 1、for语句二层循环 #include <stdio.h> int main(void) { int i, j; printf(" |"); for (i = 1; i <= 9; i++) { printf("%3d", i); } putchar( ...
分类:
编程语言 时间:
2021-04-27 15:05:59
阅读次数:
0