IP判断 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.*;public class Main{ public static void main(String[] args) { Scann…… 题解列表 2018年04月23日 0 点赞 0 评论 675 浏览 评分:0.0
蓝桥杯算法提高VIP-理财计划 (C语言代码) 摘要:解题思路:注意事项:需要注意这里是保留小数点后两位,而不是四舍五入!!!参考代码:#include<stdio.h>int main(){ int n, i; float k, p, …… 题解列表 2018年04月23日 0 点赞 0 评论 561 浏览 评分:0.0
C二级辅导-阶乘数列 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i; double j=1,sum=0; for(i=1;i<=30;i++) { j=j*i; s…… 题解列表 2018年04月24日 0 点赞 0 评论 417 浏览 评分:0.0
查找最大元素 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { char str[100]; int i; while(gets(str)!=NULL) …… 题解列表 2018年04月24日 2 点赞 0 评论 1351 浏览 评分:0.0
蛇行矩阵 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main( ){ int a, s, e, r, t,y,u,i,p; scanf("%d", &a); for (s=1,u…… 题解列表 2018年04月24日 0 点赞 0 评论 532 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.5 (C语言代码) 摘要:解题思路和注意事项:很简单的一道题啊首先定义一个长度为10数组,然后一个for循环输入10个数;然后从第十个数开始倒着输出就可以了;需要注意的是数组下标是从0开始,所以倒着输出的第一个下标应该为9.参…… 题解列表 2018年04月24日 1 点赞 0 评论 946 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int gcd(int a,int b) { if(b==0) return a; retu…… 题解列表 2018年04月24日 0 点赞 0 评论 803 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.3 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i,j,n; scanf("%d",&n); for(i=2; i<=n; i++)…… 题解列表 2018年04月24日 0 点赞 0 评论 786 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:小白式题解,主要使用int整形变量的使用规则提取位数并分别存到各变量:ge,shi,bai,qian,wang。再进行输出注意事项:参考代码:#include<stdio.h>int mai…… 题解列表 2018年04月24日 3 点赞 0 评论 643 浏览 评分:0.0
求圆的面积 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float s; float v; scanf("%f",&s); v=3.1415*s*s; printf("…… 题解列表 2018年04月24日 0 点赞 0 评论 567 浏览 评分:0.0