Hello, world! (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ char c; int a[100],i=0; int j;do{ scanf("%d",&a[i]); …… 题解列表 2018年06月13日 0 点赞 0 评论 633 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int a, b; while( scanf("%d%d",&a,&b)==2 ) { p…… 题解列表 2018年06月13日 0 点赞 0 评论 577 浏览 评分:0.0
【偶数求和】 (C语言代码) 摘要:#include <stdio.h> #include <stdlib.h> int main(void) { int *a, n, m, quot, remain, aver, sum…… 题解列表 2018年06月13日 0 点赞 0 评论 1381 浏览 评分:0.0
C二级辅导-计负均正 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i=0,j=0,N=20; int a; double sum=0.0;…… 题解列表 2018年06月13日 1 点赞 0 评论 1045 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:本例是为了让大家更好理解“\n”的换行作用,提高输入代码的效率.注意事项:1.要用英文双引号,建议大家一开始就把输入法调成英文 2.别漏掉*参考代码:#include <st…… 题解列表 2018年06月13日 0 点赞 0 评论 482 浏览 评分:0.0
C语言训练-斐波纳契数列 (C语言代码) 摘要:解题思路:用递归法求解斐波拉契数列:设f0、f1、f2是数列中的3个数,观察可知:f2=f1+f0,在循环计算过程中,使f1,f2指向两个相邻的数,f2始终为新计算出的和值。注意事项:参考代码:#in…… 题解列表 2018年06月12日 0 点赞 0 评论 621 浏览 评分:0.0
蓝桥杯算法提高VIP-理财计划 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { double k,c; int n; whil…… 题解列表 2018年06月12日 0 点赞 0 评论 665 浏览 评分:0.0
Hanoi双塔问题 (C语言代码) 摘要:解题思路:先找规律,然后利用高精度算法注意事项:参考代码:#include<stdio.h>//根据规律,该问题的解是res=2*(2^n-1)=2^(n+1)-2 int twopown(int n…… 题解列表 2018年06月12日 0 点赞 0 评论 1986 浏览 评分:9.9
蓝桥杯算法提高VIP-淘淘的名单 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; string str[10001]; string f(string s) { …… 题解列表 2018年06月12日 0 点赞 0 评论 795 浏览 评分:0.0
蓝桥杯算法提高VIP-格式化数据输出 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> using namespace std; int main() { string st…… 题解列表 2018年06月12日 0 点赞 0 评论 1118 浏览 评分:0.0