摘要:
1.阶乘 #include <bits/stdc++.h> using namespace std; int factorial(int n) { if(n==0||n==1) { return 1; } return n*factorial(n-1); } int main() { int n; 阅读全文
posted @ 2021-04-24 20:54
将往观
阅读(186)
评论(0)
推荐(0)
|
摘要:
1.阶乘 #include <bits/stdc++.h> using namespace std; int factorial(int n) { if(n==0||n==1) { return 1; } return n*factorial(n-1); } int main() { int n; 阅读全文
posted @ 2021-04-24 20:54
将往观
阅读(186)
评论(0)
推荐(0)
摘要:
(一)java - jdk的安装:从官网下载jdk文件然后安装在任意盘即可; 官网下载链接:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html (二)环境变量配置 1.配置 右键点击“ 阅读全文
posted @ 2021-04-23 19:17
将往观
阅读(186)
评论(0)
推荐(0)
摘要:
顺序表基本操作 本题要求实现顺序表元素的增、删、查找以及顺序表输出共4个基本操作函数。L是一个顺序表,函数Status ListInsert_Sq(SqList &L, int pos, ElemType e)是在顺序表的pos位置插入一个元素e(pos应该从1开始),函数Status ListDe 阅读全文
posted @ 2020-12-04 08:35
将往观
阅读(341)
评论(0)
推荐(0)
摘要:
Problem A: 默认参数:求圆面积 Time Limit: 1 Sec Memory Limit: 128 MB Description 编写一个带默认值的函数,用于求圆面积。其原型为: double area(double r=1.0); 当调用函数时指定参数r,则求半径为r的圆的面积;否则 阅读全文
posted @ 2020-09-12 20:56
将往观
阅读(112)
评论(0)
推荐(0)
|