会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
莫道长安花看尽
一纸高中万里风, 寒窗读破华堂空。 莫道长安花看尽, 由来枝叶几相同?
首页
新随笔
联系
管理
订阅
上一页
1
···
6
7
8
9
10
11
12
13
14
···
27
下一页
2020年10月10日
2015年考研885编程题
摘要: 第一题: #include <stdio.h> #include <math.h> #define N 20 int fun(int n){ if(n==1||n==2) return 1; else return fun(n-1)+fun(n-2); } int main(){ int i,j;
阅读全文
posted @ 2020-10-10 00:49 薄眠抛却陈年事。
阅读(264)
评论(0)
推荐(0)
2020年10月9日
2016年885考研真题编程题
摘要: 第一题: #include <stdio.h> #include <math.h> FILE *in=fopen("Coefficent.txt","r+"); FILE *out=fopen("result.txt","w+"); void deal(int a,int b,int c); voi
阅读全文
posted @ 2020-10-09 00:41 薄眠抛却陈年事。
阅读(284)
评论(0)
推荐(0)
2020年10月8日
2017年885编程题
摘要: 第一题: #include <stdio.h> #include <math.h> double T(int n,double x){ if(n==0) return 1; else if(n==1) return x; else return 2*x*T(n-1,x)-T(n-2,x); } in
阅读全文
posted @ 2020-10-08 00:04 薄眠抛却陈年事。
阅读(292)
评论(0)
推荐(0)
2020年10月6日
2019年江苏大学885编程大题
摘要: 第一题: #include <stdio.h> double fun(double x,int n){ if(n==0) return 1; else if(n==1) return x; else return x*fun(x,n-1); } int main(){ printf("请输入实数x和
阅读全文
posted @ 2020-10-06 23:52 薄眠抛却陈年事。
阅读(609)
评论(0)
推荐(0)
2018年江苏大学885编程题
摘要: 第一题代码: #include <stdio.h> #include <math.h> #define N 10 int main(){ int i,j,k; double t=0.0,a,b,c; FILE *fp=fopen("data.txt","w+"); for(i=0;i<N;i++){
阅读全文
posted @ 2020-10-06 23:49 薄眠抛却陈年事。
阅读(360)
评论(0)
推荐(0)
2020年9月2日
python-数据结构(字符串)
摘要:
阅读全文
posted @ 2020-09-02 20:44 薄眠抛却陈年事。
阅读(116)
评论(0)
推荐(0)
python-数据结构(列表元组)
摘要:
阅读全文
posted @ 2020-09-02 20:37 薄眠抛却陈年事。
阅读(148)
评论(0)
推荐(0)
python-容器类型(字典)
摘要:
阅读全文
posted @ 2020-09-02 17:21 薄眠抛却陈年事。
阅读(148)
评论(0)
推荐(0)
python-容器类型(集合)
摘要:
阅读全文
posted @ 2020-09-02 17:20 薄眠抛却陈年事。
阅读(125)
评论(0)
推荐(0)
python-类和对象
摘要: 01. 类和对象的概念 类 和 对象 是 面向对象编程的 两个 核心概念 1.1 类 类 是对一群具有 相同 特征 或者 行为 的事物的一个统称,是抽象的,不能直接使用 特征 被称为 属性 行为 被称为 方法 类 就相当于制造飞机时的图纸,是一个 模板,是 负责创建对象的 1.2 对象 对象 是 由
阅读全文
posted @ 2020-09-02 17:19 薄眠抛却陈年事。
阅读(146)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
27
下一页
公告