4.一元n次方程-题解(C语言代码) 摘要:```cpp ```c++ #include using namespace std; int main() { int i; int n;//代表最高次幂 int …… 题解列表 2019年11月09日 0 点赞 1 评论 1477 浏览 评分:2.0
[编程入门]数组插入处理-题解(C语言代码) 摘要:比较大小直接输出即可 ```c #include int main() { int a[9],i; for(i=0;i…… 题解列表 2019年11月09日 0 点赞 1 评论 792 浏览 评分:8.7
蓝桥杯算法训练VIP-拦截导弹 (O(n*log n)量级) 摘要:``` #include #include #include using namespace std; bool cmp(int x,int y ){ return x>y; } int …… 题解列表 2019年11月08日 0 点赞 0 评论 1370 浏览 评分:9.9
[编程入门]阶乘求和-题解(C语言代码) 摘要:因为Sn=1!+2!+3!+4!+5!+…+n! 实际上就是1的!+2的!+到n n的乘阶就是 n-1的乘阶*n 所以 我们只需要在求n的乘阶的同时 在同一个循环之中将其加起来 例如 1*2*3…… 题解列表 2019年11月08日 0 点赞 2 评论 1621 浏览 评分:9.9
[编程入门]利润计算-题解(C语言代码) 数组 + 循环 摘要:参考代码: ```c #include int main() { int a[] = { 0, 1, 2, 4, 6, 10, 1e4 }; float b[] = { 0.1, 0.0…… 题解列表 2019年11月08日 0 点赞 3 评论 912 浏览 评分:9.2
数字统计-题解(C语言代码) 摘要: 1、理清文理结构,该题就能迎刃而解 2、用一个数组模拟0——9十个数字,碰到哪个数字哪个数字加一 3、用while循环找出每个页码中的每个数字,进行相应的加一 4、输出结…… 题解列表 2019年11月08日 0 点赞 0 评论 730 浏览 评分:0.0
[编程入门]阶乘求和-题解(C语言代码) 摘要: #include long int jieCheng(int n){ int i,j=n; long int sum=1; for(i=1…… 题解列表 2019年11月08日 0 点赞 0 评论 1219 浏览 评分:8.0
[编程入门]Sn的公式求和-题解(C语言代码) 摘要:` /* Sn的公式求合 2 22 222 2222 0 2*11 2*111 2*1111 11=1*…… 题解列表 2019年11月08日 0 点赞 0 评论 573 浏览 评分:0.0
蓝桥杯基础练习-十六进制转八进制 -题解(Java代码) 摘要:```java import java.util.Scanner; public class Main { public static void main(String[] args…… 题解列表 2019年11月08日 0 点赞 1 评论 1400 浏览 评分:6.0
蓝桥杯基础练习VIP-Huffuman树-题解(C++代码) 摘要:```cpp // 问题1462:Huffman树 #include #include using namespace std; int n; const int SIZE=105…… 题解列表 2019年11月08日 0 点赞 0 评论 692 浏览 评分:0.0