C语言程序设计教程(第三版)课后习题6.4 (C语言代码) 摘要:解题思路:最后的答案很大,int存不下的.注意事项:long long int在内存中占八个字节,范围是-922337203685775808~922337203685775807double:%lf…… 题解列表 2019年01月22日 1 点赞 0 评论 403 浏览 评分:0.0
junmu1165:【明明的随机数】 利用数组下标,超清新哦 摘要:解题思路: 1.利用数组下标的特点,超方便。 2.就是有时候数组要很大。。。。 3.充分体现了,代码短…… 题解列表 2019年01月22日 1 点赞 0 评论 1227 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.4 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; int main(){ int a[10…… 题解列表 2019年01月21日 1 点赞 0 评论 884 浏览 评分:8.0
C语言程序设计教程(第三版)课后习题7.2 (C++代码) 摘要:解题思路:多种排序详解注意事项:参考代码:1.插排//直接插入排序是一种最简单的排序方法, //它的基本操作是将一个记录插入到已经排好序的有序表中, //从而得到一个新的且记录数增加了1的有序表。…… 题解列表 2019年01月21日 1 点赞 3 评论 1688 浏览 评分:8.4
C二级辅导-求偶数和 (C语言代码) 摘要:解题思路:可以考虑把奇数都变成零在全部相加注意事项:参考代码:#include<stdio.h> int main(){ int a,b,c=0,i,d; scanf("%d",&…… 题解列表 2019年01月21日 0 点赞 0 评论 552 浏览 评分:0.0
蓝桥杯算法训练VIP-暗恋 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int caochan[200][200]; int isSqure(int i,int j,int size,int R,int…… 题解列表 2019年01月21日 0 点赞 0 评论 1182 浏览 评分:9.9
蓝桥杯2014年第五届真题-分糖果 (C语言代码) 摘要:解题思路:注意事项:分糖和累加右边人所分过来糖的数量是同时进行的QWQ参考代码:#include <stdio.h>int main(){ int a[100]; //每个人所拥有的糖果数量 int …… 题解列表 2019年01月21日 0 点赞 0 评论 610 浏览 评分:0.0
P1001 (C语言代码) 摘要:解题思路: 本来想用快速排序法的,可是时间超时了,有大佬解释一下吗?注意事项:参考代码:#include <stdio.h> #include <string.h> int a[10…… 题解列表 2019年01月21日 0 点赞 0 评论 680 浏览 评分:0.0
兰顿蚂蚁 (Java代码)30行代码 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class T1429 { public static void main(String[] ar…… 题解列表 2019年01月21日 2 点赞 0 评论 888 浏览 评分:0.0
蓝桥杯基础练习VIP-数的读法 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> char dic[10][10]={"ling","yi","er","san","si","wu","liu","qi","ba"…… 题解列表 2019年01月21日 1 点赞 0 评论 869 浏览 评分:0.0