Hello, world! (C语言代码) 摘要:解题思路: 每个字符都有对应的assic码,直接将每个数字通过循环直接转化为字符即可注意事项: scanf("%d", &ch)!=EOF 当输入为回车时返回0参考代码:#include…… 题解列表 2018年11月08日 0 点赞 0 评论 1277 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.4 (C语言代码) 摘要:解题思路: 通过取余循环遍历数组注意事项: 设置好移动后第一个需要打印的数位置 move=count-move;参考代码:#include"stdio.h" in…… 题解列表 2018年11月08日 0 点赞 0 评论 688 浏览 评分:0.0
C语言训练-字符串正反连接 (C++代码)C++之string类的特性 摘要:解题思路:注意事项:参考代码:#include <cstdio> #include <cstring> #include <string> #include <cmath> #include …… 题解列表 2018年11月08日 1 点赞 0 评论 1010 浏览 评分:0.0
C语言训练-委派任务* (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio> #include <cstring> #include <string> #include <cmath> #include …… 题解列表 2018年11月08日 1 点赞 0 评论 1124 浏览 评分:6.0
蓝桥杯算法训练VIP-友好数 (C语言代码) 摘要:#include "stdafx.h"int fun(int n){ int i, sum = 0; for (i = 1; i < n; i++) { if (n%i == 0) sum +=…… 题解列表 2018年11月08日 0 点赞 0 评论 970 浏览 评分:9.9
蓝桥杯算法训练VIP-反置数 (C语言代码) 摘要:#include "stdafx.h"int reverse(int n){ int a[100],i=0,t=1,sum = 0; do { a[i++] = n % 10; n /= 10; …… 题解列表 2018年11月08日 0 点赞 0 评论 855 浏览 评分:9.9
C语言训练-谁家孩子跑最慢* (C语言代码) 摘要:解题思路:注意事项:参考代码:最简答案.....printf("W");…… 题解列表 2018年11月08日 9 点赞 0 评论 959 浏览 评分:2.0
蓝桥杯2013年第四届真题-幸运数 (Java代码) 摘要:解题思路:注意事项:参考代码: import java.util.ArrayList; Scanner scanner = new Scanner(System.in); int m =…… 题解列表 2018年11月08日 2 点赞 0 评论 1413 浏览 评分:6.5
统计立方数 (C语言代码) 摘要:解题思路: 不用暴力判断是否是立方数,用pow函数,例如: y=pow(x,1/3.0),就是求x的1/3次方。然后再判断:y*y*y是否等于x即可,如果等于则是立方数。注意,为了防止pow函数出现误…… 题解列表 2018年11月08日 5 点赞 0 评论 2878 浏览 评分:9.7
蓝桥杯算法提高VIP-单词个数统计 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main( ){ char a[20]; int b = 1; scanf("%s"…… 题解列表 2018年11月08日 0 点赞 0 评论 749 浏览 评分:0.0