自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 PAT_A1009 Product of Polynomials

PAT学习笔记之A1009 Product of Polynomials (25 分) This time, you are supposed to find A×B where A and B are two polynomials. Input Specification: Each input file contains one test case. Each case occupies 2 lines, and each line contains the information of a poly

2021-08-21 18:26:24 79

原创 PAT_A1002 A+B for Polynomials

PAT学习笔记之A1002 A+B for Polynomials (25 分) This time, you are supposed to find A+B where A and B are two polynomials. Input Specification: Each input file contains one test case. Each case occupies 2 lines, and each line contains the information of a polynom

2021-08-21 16:26:53 80

原创 PAT_A1065 A+B and C (64bit)

PAT学习笔记之A1065 A+B and C (64bit) (20 分) Given three integers A, B and C in [−263,263], you are supposed to tell whether A+B>C. Input Specification: The first line of the input gives the positive number of test cases, T (≤10). Then T test cases follow, ea

2021-08-10 16:08:35 76

原创 PAT_A1046 Shortest Distance

PAT学习笔记之A1046 Shortest Distance (20 分) The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pair of exits. Input Specification: Each input file contains one test case.

2021-08-05 23:19:36 88

原创 PAT_A1042 Shuffling Machine

PAT学习笔记之A1042 Shuffling Machine (20 分) Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and in order to avoid “inside jobs” where employees collaborate with gamblers by performing i

2021-08-05 18:59:05 73

原创 C++学习笔记:简单输入输出

之前学过C,因为要考PAT,于是想在PAT真题练习过程中慢慢学习C++。 通过PAT学习C++笔记之输入输出。 1.I/O头文件 I/O头文件一般是iostream类、iomanip类与fstream类。 头文件 函数和描述 iostream 该文件定义了 cin、cout、cerr 和 clog 对象,分别对应于标准输入流、标准输出流、非缓冲标准错误流和缓冲标准错误流。 iomanip 该文件通过所谓的参数化的流操纵器(比如 setw 和 setprecision),来声明对执行标准化

2020-10-08 22:47:04 144

空空如也

空空如也

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

TA关注的人

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