题解列表

筛选

2848: 基因相关性

摘要:#include<stdio.h> #include<math.h> #include<string.h> # define N 100001 int main() {     c……

2850: 输出亲朋字符串

摘要:#include<stdio.h> #include<math.h> #include<string.h> # define N 100001 int main() {     char ……

1032: [编程入门]自定义函数之字符串连接

摘要:解题思路:    创建并输入两个字符串,再创建一个字符数组。先将一个字符串内的元素依次放入数组中,再将另一个字符串的元素也依次放入即可。注意事项:    字符数组的末尾要添上&#39;\0&#39;,……

宏定义球体积

摘要:解题思路:如题注意事项: 参考代码:#include<stdio.h>#define pi 3.1415926int main(){ double a; double  r; scanf("%lf",……

结构体成绩

摘要:解题思路:#include <stdio.h>struct stu{ char num[100]; char name[100]; int get[3];};void input(struct stu……