任务1 可是使用数组变量和指针变量 任务2 //2.1 #include<stdio.h> long long fac(int n); int main(){ int i,n; printf("Enter n:"); scanf("%d",&n); for(i=1;i<=n;i++) printf( ...
分类:
其他好文 时间:
2020-12-03 11:47:34
阅读次数:
4
手动O(2)优化 #pragma GCC optimize(2) 对拍程序 先🐎一份数据生成程序 以a+b为例 #include <bits/stdc++.h> using namespace std; int main() { srand( time( 0 ) ); freopen( "data ...
分类:
其他好文 时间:
2020-12-03 11:36:16
阅读次数:
5
Test Vehicle Model: Ford Ranger 2020 Programming: All Key Lost, Add a New Smart Key Tool Required: Autel IM508 and XP200 Ford Ranger 2020 Add Smart Ke ...
分类:
其他好文 时间:
2020-12-01 12:36:12
阅读次数:
8
##题目描述 对给定的一个字符串,找出有重复的字符,并给出其位置,如:abcaaAB12ab12 输出:a,1;a,4;a,5;a,10,b,2;b,11,1,8;1,12, 2,9;2,13。 ###输入描述: 输入包括一个由字母和数字组成的字符串,其长度不超过100。 ###输出描述: 可能有多 ...
分类:
其他好文 时间:
2020-12-01 11:52:33
阅读次数:
1
L2-3 深入虎穴 (25分) 建树、找根、找最深的叶子节点 #include<iostream> #include<cstdio> #include<vector> #include<algorithm> #include<cstring> #include<string> #include<ma ...
分类:
其他好文 时间:
2020-11-27 11:52:19
阅读次数:
53
1.任务: 列出HBase所有的表的相关信息,例如表名 describe 在终端打印出指定的表的所有记录数据 scan 向已经创建好的表添加和删除指定的列族或列 put 清空指定的表的所有记录数据 delete 统计表的行数 count 2.关系型数据库中的表和数据(教材P92上),要求将其转换为适 ...
分类:
其他好文 时间:
2020-11-26 14:35:57
阅读次数:
4
Java基础之:二维数组 声明方式: int[][] x = {{1},{1,2},{1,2,3}}; int[] x[] = new int[5][]; //通过类似这样的方式声明(new int[5][]),得到一个可动态生成的二维数组 int x[][] = new int[5][5]; // ...
分类:
编程语言 时间:
2020-11-25 12:57:18
阅读次数:
11
#include <math.h> #include <stdio.h> int main() { float a, b, c, x1, x2; float delta, real, imag; printf("Enter a, b, c: "); while(scanf("%f%f%f", &a, ...
分类:
其他好文 时间:
2020-11-24 12:14:01
阅读次数:
6
输出乘法口诀表
1.输出9*9标准乘法口诀表2.程序升级不仅可以只输出9*9还可以输出任意阶数
分类:
其他好文 时间:
2020-11-23 11:43:53
阅读次数:
17
scanf()函数是通用终端格式bai化输入函数,du它从标准输入设备(键盘)读取输zhi入的信息。可以读入任dao何固有类型的数据并自动把数值变换成适当的机内格式。其调用格式为:scanf(“<格式化字符串>”,<地址表>);scanf()函数返回成功赋值的数据项数,出错时则返回EOF; 其控制串 ...
分类:
其他好文 时间:
2020-11-21 12:39:38
阅读次数:
12