摘要: 第四周:运算符重载 基本概念 运算符重载,就是对已有的运算符(C++中预定义的运算符)赋予多重的含义,使同一运算符作用于不同类型的数据时导致不同类型的行为。 运算符重载的目的是:扩展C++中提供的运算符的适用范围,使之能作用于对象。 同一个运算符,对不同类型的操作数,所发生的行为不同。 运算符重载的 阅读全文
posted @ 2019-09-20 15:05 smile_zyk 阅读(533) 评论(0) 推荐(0) 编辑
摘要: 第七天 A1013 Battle Over Cities (25 分) 题目内容 It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the e 阅读全文
posted @ 2019-09-19 21:50 smile_zyk 阅读(181) 评论(0) 推荐(0) 编辑
摘要: A1011 World Cup Betting (20 分) 题目内容 With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best 阅读全文
posted @ 2019-09-18 21:50 smile_zyk 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 第五天 A1009 Product of Polynomials (25 分) 题目内容 This time, you are supposed to find A×B where A and B are two polynomials. Input Specification: Each inpu 阅读全文
posted @ 2019-09-17 23:38 smile_zyk 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 第四天 A1007 Maximum Subsequence Sum (25 分) 题目内容 Given a sequence of K integers { N1, N2, ..., NK }. A continuous subsequence is defined to be { Ni, Ni+1 阅读全文
posted @ 2019-09-16 18:38 smile_zyk 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 第三天 A1005 Spell It Right (20 分) 题目内容 Given a non negative integer N, your task is to compute the sum of all the digits of N, and output every digit of 阅读全文
posted @ 2019-09-15 15:10 smile_zyk 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 第二天 A1003 Emergency (25 分) 题目内容 As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scatt 阅读全文
posted @ 2019-09-14 15:56 smile_zyk 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 从今天起每天刷1 2题PAT甲级 第一天 A1001 A+B Format (20 分) 题目内容 Calculate a+b and output the sum in standard format that is, the digits must be separated into group 阅读全文
posted @ 2019-09-13 17:29 smile_zyk 阅读(267) 评论(0) 推荐(0) 编辑
摘要: HTML HTML概述 HTML(HyperText MarkUp Language) "超文本标记语言",以标签的形式规定网页结构,它是制作网页的标准语言 HTML不区分大小写 标签、元素与属性 1.由尖括号包围,比如\\\ 2.通常是成对出现的,也可以单独出现。 标签要有正确的嵌套,如: \\\ 阅读全文
posted @ 2019-09-10 22:47 smile_zyk 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 网站和网页 网站 互联网上用于展示特定内容的相关网页的集合。 网页 网站中的一页,一个网站中的网页通过“超链接”的方式被组织在一起。 主页 进入网站看到的第一个网页,主页的文件名通常是index 网页元素 logo站标 导航栏 文字超链接 banner广告横幅 表单 网站就是文件夹 网页就是文件 浏 阅读全文
posted @ 2019-09-10 22:40 smile_zyk 阅读(437) 评论(0) 推荐(0) 编辑