-->
当前位置:首页 > 搜索 "程序填空题"

程序填空题:一年的第几天

Luz5年前 (2021-05-10)589
输入某年某月某日,判断这一天是这一年的第几天?```c++#include int main(){ int year,month,day; int sum; int leap; int T; scanf("%d……

程序填空题:最小生成树(普里姆算法)

Luz5年前 (2021-05-10)1348
最小生成树(普里姆算法)。```c++#include #define MVNum 100#define MaxInt 32767 using namespace std;struct edge{ char adjvex; int lowc…

程序填空题:The Turnpike Reconstruction Problem

Luz5年前 (2021-05-10)1127
Suppose we are given $n$ points $p_1, p_2, ... p_n$ located on the $x$-axis. $x_i$ is the $x$-coordinate of $p_i$. Let……

程序填空题:Sum of N-Narcissistic Number

Luz5年前 (2021-05-10)618
An $n$-digit number that is the sum of the $n$-th powers of its digits is called an $n$-narcissistic number. For example…

程序填空题:B+ Tree - Find Key

Luz5年前 (2021-05-10)551
The function `FindKey` is to check if a given `key` is in a B+ Tree with its root pointed by `root`. Return `true` if `k…

程序填空题:Sum of N-Narcissistic Number

Luz5年前 (2021-05-10)707
An $n$-digit number that is the sum of the $n$-th powers of its digits is called an $n$-narcissistic number. For example…

程序填空题:B+ Tree - Find Key

Luz5年前 (2021-05-10)694
The function `FindKey` is to check if a given `key` is in a B+ Tree with its root pointed by `root`. Return `true` if `k…

填空题:###### 程序填空题:输出a所指数组中的前n个数据,要求每行输出5个数。

Luz5年前 (2021-05-10)1148
程序填空题:输出a所指数组中的前n个数据,要求每行输出5个数。###### 请在程序的下划线处填入正确的内容并把下划线删除,使程序得出正确的结果。###### 注意:不得增行或删行,也不得更改程序的结构! ```#include #in……

填空题:###### 程序填空题

Luz5年前 (2021-05-10)705
程序填空题:##### 计算数组x中N个数的平均值(规定所有数均为正数);并将大于平均值的数放在数组y中,并输出数组y。###### 例如,有10个正数:46 30 32 40 6 17 45 15 48……

填空题:###### 程序填空题

Luz5年前 (2021-05-10)776
程序填空题:###### 用数组求N个整数中能被5整除的最大的数,如存在,则输出这个最大值,如果不存在则输出0。```#define N 10#include "stdlib.h"#include "stdio.h"int main(){……

填空题:程序填空题-计算如图所示分段函数。

Luz5年前 (2021-05-10)1339
程序填空题-计算如图所示分段函数。![分段函数题图片.png](~/5a0dec40-7700-4b84-a18e-b13ab51519a9.png)```#include @@[#include ](2)int main( ){ flo……

填空题:程序填空题-输入一个非负整数,求1+1/2!+...+1/n!

Luz5年前 (2021-05-10)3364
程序填空题-输入一个非负整数,求1+1/2!+...+1/n!```#include int main(){ int i,n; double item,sum; scanf("%d", &n); @@[sum=0|s……

填空题:###### 【程序填空题】功能:计算并输出500以内最大的10个能被13或17整除的自然数之和。

Luz5年前 (2021-05-10)1104
程序填空题】功能:计算并输出500以内最大的10个能被13或17整除的自然数之和。```#include "stdio.h"/***********FILL***********/int fun(@@[int k](2)){ int m=……

填空题:###### 【程序填空题】把形参a所指数组中的奇数按原顺序依次存放。

Luz5年前 (2021-05-10)1199
程序填空题】把形参a所指数组中的奇数按原顺序依次存放。###### 函数fun的功能是:###### 把形参a所指数组中的奇数按原顺序依次存放到a[0]、a[1]、a[2]、……中,###### 把偶数……

填空题:###### 【程序填空题】计算形参x所指数组中N个数的平均值

Luz5年前 (2021-05-10)1951
程序填空题】计算形参x所指数组中N个数的平均值###### 给定程序中,函数fun的功能是:###### 计算形参x所指数组中N个数的平均值(规定所有数均为正数),作为函数值返回;###### 并将大于平均值的数放在……

填空题:###### 【程序填空题】把形参a所指数组中的偶数按原顺序依次存放

Luz5年前 (2021-05-10)1549
程序填空题】把形参a所指数组中的偶数按原顺序依次存放###### 函数fun的功能是:###### 把形参a所指数组中的偶数按原顺序依次存放到a[0]、a[1]、a[2]、……中,###### 把奇数从数组中删除,偶……

填空题:程序填空题:计算N×N矩阵的主对角线元素和反向对角线元素之和,并输出结果。

Luz5年前 (2021-05-10)1737
程序填空题:计算N×N矩阵的主对角线元素和反向对角线元素之和,并输出结果。 注意:要求先累加主对角线元素中的值,然后累加反向对角线元素中的值。 ![程序填空2-2.png](~/1e277bca-6f53-4f47-a1……

填空题:程序填空题:输入一个非负整数,求1+1/2!+...+1/n!

Luz5年前 (2021-05-10)1622
程序填空题:输入一个非负整数,求1+1/2!+...+1/n!![程序填空1.png](~/2753bd7b-058a-4eb7-80d2-35398875f3d7.png)答案1:@@[sum=0](2)。答案2:@@[item=item…

填空题:程序填空题:1!+3!+5!+……+n!的和。

Luz5年前 (2021-05-10)1062
程序填空题:1!+3!+5!+……+n!的和。![程序填空1-B.png](~/c59ff583-283a-4a50-9931-4c0f3b6ef1be.png)答案1:@@[s=0](2)。答案2:@@[f=f*j|f*=j|f=j*f]…

湖州师范学院2019—2020学年第二学期 《C程序设计》期末考试试卷(B卷)

Luz5年前 (2021-03-04)3912
湖州师范学院2019—2020学年第二学期 《C程序设计》期末考试试卷(B卷)
湖州师范学院2019—2020学年第二学期《C程序设计》期末考试试卷(B卷) 考试时间   120  分钟说明:(1)将所有试题的答案写在答卷上;     (2)交卷时将…