码迷,mamicode.com
首页 >  
搜索关键字:le ge lt gt eq ne    ( 256714个结果
c语言 4-25输出向下的金字塔
输出向下的金字塔 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
2021团体程序设计天梯赛 L1-6 吉老师的回归
思路: 水题,略过 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
2021团体程序设计天梯赛 L1-8 乘法口诀数列
思路: 水题,略过 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
华为tftp导入导出配置
将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
2021团体程序设计天梯赛 L2-1 包装机
思路: 水题,略过 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
jdk15+版本无jre文件
##解决办法 切换到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
java8,去重复
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为九九乘法表增加横纵标题
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!