自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (2)
  • 收藏
  • 关注

原创 python自然语言处理笔记-第三章

对网络电子书的访问使用python3.4对该例进行测试#python3.0对bytes和str进行了严格的区分,因此想要获得字符串的输出,需要对字节码进行重新编码from urllib.request import urlopenurl="http://www.gutenberg.org/files/2554/2554.txt"raw=urlopen(url).

2015-03-16 15:48:40 400

原创 matlab arrayfun 函数使用

% To run the examples in this section, create a nonscalar structure array with arrays of different sizes in field f1.s(1).f1 = rand(3, 6);s(2).f1 = magic(12);s(3).f1 = ones(5, 10);% Count the numb

2015-01-12 10:50:01 2035

原创 汉诺塔问题

问题描述:现在有三根相邻的柱子,标号为A,B,C,A柱子上从下到上按金字塔状叠放着n个不同大小的圆盘,现在把所有盘子一个一个移动到柱子B上,并且每次移动同一根柱子上都不能出现大盘子在小盘子上方,请问至少需要多少次移动输出移动方式#include"stdio.h"int main(){ void hanio(int n,char one,char two,char three);//

2012-12-17 21:17:19 344

原创 倒置字符串

#include"stdio.h"#include"string.h"int main(){ char array1[100],array2[100]; int i,n; scanf("%s",array1); n=strlen(array1); for(i=0;i {  array2[i]=array1[n-1-i]; } array2[n]='\

2012-12-15 09:12:30 242

原创 学了c语言,记录下编程过程的点点滴滴.

#includeint main(){ int a[21][21]={0}; int i,j,t,n; printf("Please input a number:"); scanf("%d",&n); if(n%2==0) printf("The magic is not exsited"); else {  for(i=0,j=(n-1)/2,t=1

2012-12-15 09:05:28 232

筛选法确定100以内的素数并输出

使用筛选法来确定100以内的素数并将其输出 使用时请在dev运行

2012-12-05

des可用代码

des属于加密方式的一种属于对称密钥的加密方式,适合大批量的数据加密。

2012-11-27

空空如也

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

TA关注的人

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