C语言训练-求1+2!+3!+...+N!的和 (C语言代码) 摘要:解题思路:首先先逐个求出每一项的阶乘然后逐项累加。注意事项:注意,每一次外循环的t=1,初始化参考代码: #include <stdio.h>int main(){ int n…… 题解列表 2018年05月12日 0 点赞 0 评论 1461 浏览 评分:0.0
C语言训练-数字母 (C语言代码) 摘要:解题思路:数组存储字母注意事项:strlen的调用是通过这个#include <string.h>才可以实现的,且这里是用这个 gets(c);来输入字符串的!参考代码: #inclu…… 题解列表 2018年05月12日 1 点赞 0 评论 1208 浏览 评分:0.0
多输入输出练习2 (C语言代码) 摘要:解题思路:注意事项:这题π取3.1415参考代码:#include<stdio.h> int main() { int n,i; scanf("%d",&n); for(i…… 题解列表 2018年05月12日 0 点赞 0 评论 1565 浏览 评分:0.0
大小写转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { char c[80]; while(scan…… 题解列表 2018年05月12日 0 点赞 0 评论 1414 浏览 评分:0.0
数列 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int M=10000+5; int a[M]; int main()…… 题解列表 2018年05月12日 0 点赞 0 评论 1866 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<malloc.h>typedef struct _student{ char id[100]; …… 题解列表 2018年05月12日 0 点赞 0 评论 1084 浏览 评分:0.0
字符排列问题 (Java代码) 摘要:解题思路:全排列算法列出所有的可能,然后去检查无重复项有几个注意事项:参考代码:public class 字符串排列 { public static String [] str = new Str…… 题解列表 2018年05月13日 0 点赞 0 评论 1487 浏览 评分:0.0
程序员美工梦 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int n[100],i,j,k; for(i=0;;i++) { sca…… 题解列表 2018年05月13日 0 点赞 0 评论 1195 浏览 评分:0.0
你的开发任务 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i,j,j1,j2,k,n,t,p,m,l[1000]; char …… 题解列表 2018年05月13日 0 点赞 0 评论 1946 浏览 评分:0.0
程序员美工梦 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; void f1_print(int n) { for(int i=1;i<=n;…… 题解列表 2018年05月13日 0 点赞 0 评论 2073 浏览 评分:0.0