DNA-题解(C语言代码) 摘要:# 1115: DNA ## 源代码 ####暴力写法 #include int main() { int n,m; scanf("%d",&n); for(m=…… 题解列表 2019年11月20日 0 点赞 0 评论 935 浏览 评分:9.9
[编程入门]有规律的数列求和-题解(Python代码)emmmm 摘要:```python sum=t=0 #定义变量 fz=2 #第一项的分子 fm=1 #第一项的分母 n = int(input()) #输入 for i in range(1…… 题解列表 2019年11月21日 0 点赞 1 评论 1603 浏览 评分:9.9
平方和与立方和-题解(C语言代码) 摘要: ```c #include #include int main(int argc, const char *argv[]) { int i, x, y, n, m; …… 题解列表 2019年11月21日 0 点赞 0 评论 1668 浏览 评分:9.9
数列问题-题解(C语言代码) 摘要: ```c #include #include int main(int argc, const char *argv[]) { int i, n; scanf(…… 题解列表 2019年11月21日 0 点赞 1 评论 519 浏览 评分:9.9
数列有序-题解(C语言代码) 摘要:不使用序列插入。先存储序列,最后输出时把要插入的数据放到合适的位置 ```c #include #include int main(int argc, const char *argv…… 题解列表 2019年11月21日 0 点赞 0 评论 1155 浏览 评分:9.9
数据结构-有向无环图的拓扑排序-题解(C语言代码)--------------讲故事描述 摘要: 这道题看起来啃爹,但是咱们一起来探索一下吧,别看我代码很长,其实不难的。先给你讲个 “鬼” 故事,记得先看完故事再看代码,这样会简单。 这道题其实在讲一个故事,…… 题解列表 2019年11月21日 0 点赞 1 评论 1009 浏览 评分:9.9
[编程入门]自定义函数之数字分离-题解(Python代码) python 摘要:```python a = input() #输入 for i in a: #遍历 print(i,end=" ") #格式化输出 当输出字符后以空格结尾(end=" ") ``…… 题解列表 2019年11月21日 0 点赞 2 评论 924 浏览 评分:9.9
虚张声势-题解(C语言代码) 摘要:用两个数组分别统计两行输入中各个字符的数量。 ```c #include #include #define N 100005 char line1[N], line2[N]; // 统计字…… 题解列表 2019年11月21日 0 点赞 0 评论 1423 浏览 评分:9.9
[编程入门]字符串分类统计-题解(C语言代码),值得一看 摘要:```c #include #include #define idx(ch) (isalpha(ch)? 0 : isdigit(ch)? 1: (ch == '\x20')? 2: 3)…… 题解列表 2019年11月22日 0 点赞 0 评论 1384 浏览 评分:9.9
[编程入门]自定义函数之字符类型统计-题解(C语言代码) 摘要:```c #include void ff(char *p) { int i; int a = 0, b = 0, c = 0, d = 0; for(i = 0; ;i++) …… 题解列表 2019年11月22日 0 点赞 0 评论 1445 浏览 评分:9.9