1162答案错误,为什么 摘要:#include <stdio.h> #include <string.h> int judge(char s[]) { int flage = 0,flage_A = 0,flage_…… 文章列表 2017年10月27日 3 点赞 0 评论 811 浏览 评分:0.0
1231题解(注意理解“输入多个测试实例”) 摘要://注意题目要求:输入数据包含多个测试实例 #include <stdio.h> int Ytriangle(int n) { int i,j=1,index=0,num[50][50]…… 文章列表 2017年10月27日 4 点赞 0 评论 1386 浏览 评分:0.0
1134题解(求分析) 摘要://谁能分析一下这两种求值顺序对结果的影响 #include<stdio.h> #include<math.h> int main() { double pi = 0,i=1,tem…… 文章列表 2017年10月25日 2 点赞 0 评论 1415 浏览 评分:0.0
1052题解(链表操作) 摘要:#include<stdio.h> #include<stdlib.h> #include<string.h> //定义一个结点,可视为链表的最小单元,包括两要素:指针域和数据域 type…… 文章列表 2017年10月25日 1 点赞 0 评论 1201 浏览 评分:0.0
第三届阿里中间件性能挑战赛-总决赛亚军比赛攻略 摘要:初赛部分第一节 赛题重述及理解 题目主要是实现一个进程内消息引擎,程序主要分为两个阶段:第一阶段需要将输入的消息序列化,以topic和queue进行分类后存储到磁盘上;第二阶段需要将对应的…… 文章列表 2017年10月22日 4 点赞 1 评论 1294 浏览 评分:0.0
1118(求助_已解决) 摘要://此代码在visual studio上运行没问题,为什么在此平台上运行报错 #include <stdio.h> #include <stdlib.h> #include <string.h>…… 文章列表 2017年10月22日 3 点赞 2 评论 483 浏览 评分:0.0
1050题解(结构体数组与结构体指针的使用) 摘要:#include<stdio.h> #include<string.h> #define count_course 3 typedef struct { char num[…… 文章列表 2017年10月21日 5 点赞 0 评论 1633 浏览 评分:0.0
1035 题解 摘要:#include<stdio.h> #include<string.h> int count[100];//注意该变量定义为全局变量,保存各种字符的个数; int* Count(char *s)…… 文章列表 2017年10月21日 3 点赞 0 评论 1529 浏览 评分:0.0
局部变量作函数返回值的问题 摘要: 函数的返回值,必须保证在使用时,他所对应的变量值不应被销毁。防止变量被销毁的方式:1.定义全局变量;2.定义静态变量;3.在堆区定义变量;4.定义在常量区,如字符串常量。 …… 文章列表 2017年10月21日 3 点赞 0 评论 1300 浏览 评分:0.0