C二级辅导-阶乘数列 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,x; double j=1,sum=0; for(i=1;i<=30;i++) …… 题解列表 2017年12月18日 0 点赞 0 评论 778 浏览 评分:0.0
蛇行矩阵 (C语言代码) 简单野蛮算法不找规律,一个原始数组搞定 摘要:解题思路:它要输出的恰好是1,2,3,4。。。 这样递增的数字所以我们可以按着这些数字顺序逐个写入数组里面下面开始演示注意事项:为了节省时间可以适当break;参考代码:#include<stdio.…… 题解列表 2017年12月19日 1 点赞 0 评论 1227 浏览 评分:0.0
蓝桥杯基础练习VIP-高精度加法 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { int r, i, j, k; int a[100]…… 题解列表 2017年12月19日 0 点赞 0 评论 996 浏览 评分:0.0
开心的金明 (C语言代码) 摘要:解题思路:01背包,价值加个乘法而己注意事项:参考代码:#include<stdio.h>#include<string.h>int max(long int a,long int b){ re…… 题解列表 2017年12月19日 0 点赞 2 评论 745 浏览 评分:0.0
我美吗! 摘要:注意事项:参考代码:#include <stdio.h> int main() { int n,a[10],max,i; while(scanf("%d",&n)!=EOF) { …… 题解列表 2017年12月19日 2 点赞 0 评论 829 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include "stdio.h"#define N 100int main(){int a,b;printf("please input 2 numbers:\n")…… 题解列表 2017年12月19日 0 点赞 0 评论 588 浏览 评分:0.0
我美吗! 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int n,a[100],i,other=0,j,num; scanf("%d",&n); …… 题解列表 2017年12月19日 0 点赞 0 评论 635 浏览 评分:0.0
【偶数求和】 (C语言代码) 摘要:解题思路:循环n次,每M次取平均数。N%M取剩余数,求剩余平均数。注意事项:参考代码:#include<stdio.h>int main(){ int n,m; while(scanf("%d %d"…… 题解列表 2017年12月19日 0 点赞 0 评论 824 浏览 评分:0.0
Hello, world! (C++代码) 摘要:解题思路:注意事项:样例输出有毒,让我第一时间没有反应过来。参考代码:#include <iostream>#include<stdio.h>using namespace std;int main(…… 题解列表 2017年12月19日 0 点赞 1 评论 604 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char sum[100]; int i,j=0,k=0,m=0…… 题解列表 2017年12月19日 0 点赞 0 评论 628 浏览 评分:0.0