junmu1029:课后习题8.3 (C语言代码)最最方便简洁的代码 摘要:参考代码:#include<stdio.h> int fun(int n) { int i; for(i=2;i*i<=n;i++) if(n%i==0)ret…… 题解列表 2018年12月23日 1 点赞 0 评论 808 浏览 评分:0.0
学生成绩 Java描述 摘要:解题思路:注意事项:参考代码:import java.util.Arrays; import java.util.Comparator; import java.util.Scanner; pu…… 题解列表 2018年12月23日 1 点赞 0 评论 1452 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题6.9 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>//一球从M米高度自由下落,每次落地后返回原高度的一半,再落下。 它在第N次落地时反弹多高?共经过多少米? 保留两位小数#includ…… 题解列表 2018年12月23日 0 点赞 0 评论 602 浏览 评分:0.0
s01串 (Java代码)Get到了StringBuilder的用法 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class T1600 { public static String f(int n){ …… 题解列表 2018年12月23日 0 点赞 0 评论 1021 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.10 (C语言代码) 摘要:解题思路:建立数学模型,设前一天的桃子总数为x,当天的桃子总数为m,则 x-(x/2+1)=m,化简后x=(m+1)*2,根据最后一天桃子总数为1,令x=1,再根据公式逆推。注意事项:参考代码:#in…… 题解列表 2018年12月23日 0 点赞 0 评论 641 浏览 评分:0.0
DNA (C语言代码) 摘要:解题思路: 考虑行数、列数与重复度的关系注意事项: 重复度等于1时的情况特殊处理参考代码:#include <stdio.h>int main(){ int n; sc…… 题解列表 2018年12月23日 0 点赞 0 评论 575 浏览 评分:0.0
玉龙学长买雪糕 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int F(int n){ if(n>1) return F(n-1)+F(n-1)+1; else return 1…… 题解列表 2018年12月23日 0 点赞 0 评论 854 浏览 评分:0.0
蓝桥杯算法提高VIP-数组替换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int a[10000];int b[10000];int count;void add(int…… 题解列表 2018年12月23日 0 点赞 0 评论 878 浏览 评分:0.0