自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 资源 (1)
  • 收藏
  • 关注

原创 1095-- Cars on Campus (30)

1006感谢https://www.nowcoder.com/discuss/478对我的帮助和启发。题目:题目描述 Zhejiang University has 6 campuses and a lot of gates. From each gate we can collect the in/out times and the plate numbers of the c...

2019-02-28 21:35:19 338

原创 1094-- The Largest Generation (25)

1005题目:题目描述A family hierarchy is usually presented by a pedigree tree where all the nodes on the same level belong to the same generation. Your task is to find the generation with the largest po...

2019-02-27 16:00:05 151

原创 1091-Acute Stroke (30)

1004题目题目描述One important factor to identify acute stroke (急性脑卒中) is the volume of the stroke core. Given the results of image analysis in which the core regions are identified in each MRI slice, ...

2019-02-27 14:28:23 233

原创 1090- Highest Price in Supply Chain (25)

1003题目:题目描述A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone involved in moving a product from supplier to customer.Starting from one root supplier...

2019-02-26 19:22:25 168

原创 1087-All Roads Lead to Rome(30)

题目:题目描述Indeed there are many different tourist routes from our city to Rome.  You are supposed to find your clients the route with the least cost while gaining the most happiness. 输入描述:Each in...

2019-02-25 19:03:52 221

原创 1018——Public Bike Management Center

题目描述1001There is a public bike service in Hangzhou City which provides great convenience to the tourists from all over the world. One may rent a bike at any station and return it to any other stat...

2019-02-23 16:50:40 169

原创 Python中常用的基本语法(一)

p.s. 最近在做NLP的任务,用熟悉的C++做发现C++有很多不方便的地方,尤其是中文编码的转化,非常繁琐。故采用Python。本文主要就基本数据结构、控制流等几个基本语法方面,给出总结。参考资料:《Python编程:从入门到实践》目录print——基本输出input()——基本输入(字符串)字符串和数值的相互转换if——条件语句while——循环语句注释字符...

2019-01-03 20:24:17 335

原创 哈希表分离链接法--两种初始化方法及其对比

在教材中多为第一种方法。实际上可以改变,减少h->tablesize次的malloc()操作下面是声明:typedef int ElementType;/* hashSep.h */#ifndef HashSep_H#define HashSep_Htypedef unsigned int Index; //Hash()散列函数的返回类型struct listnode;t

2017-10-06 18:16:12 664

原创 【书中示例】-《C程序设计语言》第三章:控制流

/* binsearch(),二分查找,在v[0]<=v[1]...<=v[n-1]中查找x */int binsearch(int x, int v[], int n){ int low, high, mid;//! low = 0; high = n - 1; while (low <= high) { mid = (low + high) / 2; if (v[m

2017-09-21 20:11:51 464

原创 【书中示例】--《C程序设计语言》第二章:类型、运算符、表达式

/* string(),返回字符串s的长度 */int string(char s[]){ int i; for (i = 0;s[i] != '\0';i++) ; return i;}/* 判断是否为闰年 */if ((0 == year % 4 && 0 != year % 100) || 0 == year % 400)printf("%d is a

2017-09-18 17:54:02 464

原创 拷贝构造函数----深拷贝、浅拷贝

拷贝构造函数----深拷贝、浅拷贝【何时调用拷贝构造函数】:    1-函数的参数时该对象时(按值传入)    2-函数的返回值是该对象时    3-该类对象的其中一个对象需要通过另一个对象进行初始化时。【浅拷贝复制的缺陷】:     当复制的对象为动态申请内存的对象时,浅拷贝复制的对象,乍一看时对象进行了复制,其实是对其指针进行了复制。

2017-09-10 15:06:03 288

北邮计算机高数资料.zip

2016级北邮计算机专业的高数课件及相应习题资料 包含习题课资料 适用于计算机、自动化、电子院的同学

2019-11-24

空空如也

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

TA关注的人

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