自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Machine Learning---Neural Network

Machine Learning:Neural Network前言:Wikipedia上对Neural Network的定义:In machine learning,artificial neural networks (ANNs) are a family of statistical learning algorithms inspired bybiological

2015-01-16 23:53:14 1928 1

原创 Pat(Advanced Level)Practice--1091(Acute Stroke)

Pat1091代码题目描述: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 s

2015-01-10 00:09:15 858

原创 Pat(Advanced Level)Practice--1090(Highest Price in Supply Chain)

Pat1090代码题目描述: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 supp

2015-01-10 00:03:49 1203

原创 Pat(Advanced Level)Practice--1089(Insert or Merge )

Pat1089代码题目描述:According to Wikipedia:Insertion sort iterates, consuming one input element each repetition, and growing a sorted output list. Each iteration, insertion sort removes one element

2015-01-09 23:59:20 903

原创 Pat(Advanced Level)Practice--1088(Rational Arithmetic)

Pat1088代码题目描述:For two rational numbers, your task is to implement the basic arithmetics, that is, to calculate their sum, difference, product and quotient.Input Specification:Each input file

2015-01-09 23:51:58 732

原创 Pat(Advanced Level)Practice--1087(All Roads Lead to Rome)

Pat1087代码题目描述: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.Input S

2015-01-09 23:45:20 1246

原创 Pat(Advanced Level)Practice--1086(Tree Traversals Again)

Pat1086代码题目描述:An inorder binary tree traversal can be implemented in a non-recursive way with a stack. For example, suppose that when a 6-node binary tree (with the keys numbered from 1 to 6

2015-01-09 23:36:34 759

原创 Pat(Advanced Level)Practice--1085(Perfect Sequence)

Pat1085代码题目描述:Given a sequence of positive integers and another positive integer p. The sequence is said to be a "perfect sequence" if M Now given a sequence and a parameter p, you are s

2015-01-09 23:27:04 938

原创 Pat(Advanced Level)Practice--1084(Broken Keyboard)

Pat1084代码题目描述:On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those keys will not appear on screen.Now given a strin

2015-01-09 23:20:41 504

原创 Pat(Basic Level)Practice--1035(插入与归并)

Pat1035代码题目描述:根据维基百科的定义:插入排序是迭代算法,逐一获得输入数据,逐步产生有序的输出序列。每步迭代中,算法从输入序列中取出一元素,将之插入有序序列中正确的位置。如此迭代直到全部元素有序。归并排序进行如下迭代操作:首先将原始序列看成N个只包含1个元素的有序子序列,然后每次迭代归并两个相邻的有序子序列,直到最后只剩下1个有序的序列。现给定

2015-01-07 21:32:25 1620

原创 Pat(Basic Level)Practice--1034(有理数四则运算)

Pat1034代码题目描述:本题要求编写程序,计算2个有理数的和、差、积、商。输入格式:输入在一行中按照“a1/b1 a2/b2”的格式给出两个分数形式的有理数,其中分子和分母全是整型范围内的整数,负号只可能出现在分子前,分母不为0。输出格式:分别在4行中按照“有理数1 运算符 有理数2 = 结果”的格式顺序输出2个有理数的和、差、积、商。注意输

2015-01-07 21:29:10 1395

原创 Pat(Basic Level)Practice--1033(旧键盘打字)

Pat1033代码题目描述:旧键盘上坏了几个键,于是在敲一段文字的时候,对应的字符就不会出现。现在给出应该输入的一段文字、以及坏掉的那些键,打出的结果文字会是怎样?输入格式:输入在2行中分别给出坏掉的那些键、以及应该输入的文字。其中对应英文字母的坏键以大写给出;每段文字是不超过105个字符的串。可用的字符包括字母[a-z, A-Z]、数字0-9、以及下划线“_”

2015-01-07 21:23:47 1120

原创 Pat(Basic Level)Practice--1032(挖掘机技术哪家强)

Pat1032代码题目描述:为了用事实说明挖掘机技术到底哪家强,PAT组织了一场挖掘机技能大赛。现请你根据比赛结果统计出技术最强的那个学校。输入格式:输入在第1行给出不超过105的正整数N,即参赛人数。随后N行,每行给出一位参赛者的信息和成绩,包括其所代表的学校的编号(从1开始连续编号)、及其比赛成绩(百分制),中间以空格分隔。输出格式:在一行中

2015-01-07 21:19:14 1372

原创 Pat(Basic Level)Practice--1031(查验身份证)

Pat1031代码题目描述:一个合法的身份证号码由17位地区、日期编号和顺序编号加1位校验码组成。校验码的计算规则如下:首先对前17位数字加权求和,权重分配为:{7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2};然后将计算的和对11取模得到值Z;最后按照以下关系对应Z值与校验码M的值:Z:0 1 2 3 4 5 6 7 8 9 10M

2015-01-07 21:15:15 1037

空空如也

空空如也

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

TA关注的人

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