自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 latex页眉页脚与正文间距设置

latex修改页眉页脚与正文的间距

2022-04-04 12:06:46 3178 1

原创 【算法图解】T4.1 用递归做加法

#include <stdio.h>int add(int array[],int num){ int ret = 0; if (num==0){ ret = 0; } else if(num==1){ ret = array[0]; printf("函数仅剩最后一个值%d\n",ret); } else{ num=num-1; printf("num=%d ",num);

2021-09-02 22:27:14 173

原创 【Mooc笔记】选择排序

选择排序Select_sort#include <stdio.h>//When the array is not sorted, it's a way to sort it, though not quick enough.//Sort descending for example, choose the biggest one and move it to the first place, using swap. Then move the second biggest one to

2021-08-16 15:32:41 90

原创 【Mooc笔记】数组操作(找出100以内的素数)

数组操作(找出100以内的素数)方法一:#include <stdio.h>//find out all the prime numbers smaller than NUMBERS//solution1: Traverse all the numbers, eliminating composite numbers one by one.int check_is_prime(int test_number, int prime_list[], int count_of_curren

2021-08-16 15:10:09 722

原创 【Mooc笔记】二分查找(美国的各种硬币名称)

二分查找(美国的各种硬币名称)#include <stdio.h>struct { int amount; char *name;}coins[]={ {1,"penny"}, {5,"nickel"}, {10,"dime"}, {25,"quater"}, {50,"half-dollar"}, };//binary search can be used only un

2021-08-16 14:28:29 84

原创 简单填空题检测

复习古文默写用from random import choiceimport randomdef check(txt):#校验 a=0 b=0 for i in txt: if i =="[": a+=1 if i =="]": b+=1 if a == b: return True else: return Falsedef ans(txt):

2020-06-25 15:49:25 263

原创 katie的词汇

感谢我们敬爱的katie的倾囊相与!(一直想把katie的听写格式化一下,做成anki卡组,最近终于是厚着脸皮去要了来: -D文件链接在文尾 )这里用python-pptx库读取pptx内容pptx库官方文档PyPIppt长这样:代码如下所有的过程解释均在代码中import pptxf=open("6.13pptx_try_out.txt","w")def mainprocess(): count=0 fp="Dictation.pptx" presentat

2020-06-14 08:16:21 210

原创 幕布笔记按字母顺序导出(Python+Opml)

上了几个月网课,存了上千行英语的笔记在幕布上,即将开学,得导出来带到学校以备不时之需。为了方便查阅,得按顺序导出。幕布的导出有五个格式,word,pdf,...

2020-04-13 22:54:27 2244

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除