上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 26 下一页

2019年9月30日

摘要: 一、如何判断联合体中存储的数据类型 1 #include <stdio.h> 2 3 /* 结构体 */ 4 typedef struct{ 5 short b;//1 2 3 判断联合体中存储的数据的类型 6 union { 7 int num; 8 char ch; 9 double d; 10 阅读全文

posted @ 2019-09-30 09:57 金色的省略号 阅读(940) 评论(0) 推荐(0) 编辑

2019年9月29日

摘要: 1 #include <iostream> 2 #include <string> 3 #include <cassert> 4 using namespace std; 5 6 void KMPStrMatching(string S, string P, int *N, int &start, int &len) 7 { 8 int j= 0; // 模式的下标变量 9 int i = 0; 阅读全文

posted @ 2019-09-29 00:33 金色的省略号 阅读(547) 评论(0) 推荐(0) 编辑

2019年9月28日

摘要: 1 #include 2 #include 3 4 void substr(char *s1, char *s2) 5 { 6 /* 1.设长串开始位置 i, 最大匹配串开始 结束位置 maxStart, maxEnd*/ 7 char *i = s1, *maxStart = s1, *maxEnd = s1... 阅读全文

posted @ 2019-09-28 22:57 金色的省略号 阅读(478) 评论(0) 推荐(0) 编辑

2019年9月23日

摘要: 1 #include <stdio.h> 2 #include <stdio.h> 3 #include <stdlib.h> 4 5 int main() 6 { 7 char start = 'Z'; 8 int high=5,i,j; //高度可设 9 10 //上半部 11 for (i=0 阅读全文

posted @ 2019-09-23 23:38 金色的省略号 阅读(363) 评论(0) 推荐(0) 编辑

2019年9月19日

摘要: 1、右下角 1 #include <stdio.h> 2 #include <malloc.h> 3 int main() 4 { 5 int n; 6 scanf("%d",&n); 7 8 int *arr = (int*)malloc(sizeof(int)*n*n); //一维模拟二维数组 阅读全文

posted @ 2019-09-19 23:30 金色的省略号 阅读(538) 评论(0) 推荐(0) 编辑

摘要: 1、A+B 2 2、最小整数 3、最大整数 4、ACKERMAN 5、发工资的日子 6、逆序整数 7、组合数 8、高低交换 9、数据加密 10、不会吧,又是A+B 阅读全文

posted @ 2019-09-19 15:26 金色的省略号 阅读(472) 评论(0) 推荐(0) 编辑

2019年9月18日

摘要: 1、解不等式 2、子序列的和 3、排列 4、探索合数世纪 5、特殊整数 6、韩信点兵 7、粒子裂变 8、最大乘积 9、分数拆分 10、分数化小数 阅读全文

posted @ 2019-09-18 17:40 金色的省略号 阅读(677) 评论(0) 推荐(0) 编辑

2019年9月17日

摘要: 1、级数和 2、二分求根 3、你会存钱吗? 4、VOL大学乒乓球比赛 5、整数位数 6、两个整数之间所有的素数 7、自然数立方的乐趣 8、迭代求根 9、多项式的猜想 10、区间内的素数 阅读全文

posted @ 2019-09-17 11:36 金色的省略号 阅读(853) 评论(0) 推荐(0) 编辑

摘要: 1、计算A+B 2、圆及圆球的相关计算 3、计算成绩 4、找最大数 5、找幸运数 6、奖金发放 7、出租车费 8、是该年的第几天 9、成绩转换 10、求建筑高度 阅读全文

posted @ 2019-09-17 09:25 金色的省略号 阅读(722) 评论(0) 推荐(0) 编辑

2019年9月8日

摘要: 1、安装MinGW/GCC编译器 2、配置环境变量 比如 E:\MinGW\bin; 3、安装vscode 在cmd/powershell,输入code . ,可以打开vscode 4、安装vscode插件 打开vscode,按ctrl+p打开快速命令框,输入以下命令后等待 ext install 阅读全文

posted @ 2019-09-08 12:09 金色的省略号 阅读(436) 评论(0) 推荐(0) 编辑

上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 26 下一页