- 博客(4)
- 收藏
- 关注
原创 pat 甲级 1002 A+B for Polynomials
问题描述 This time, you are supposed to findA+BwhereAandBare two polynomials. Input Specification: Each input file contains one test case. Each case occupies 2 lines, and each line contains the i...
2019-03-24 12:15:54
165
原创 pat 甲级 1001 A+B Format
问题描述 1001A+B Format(20分) Calculatea+band output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less than four digits). Inp...
2019-03-24 12:04:38
134
原创 pat 甲级1003 Emergency
问题描述 As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some roads. Amount of rescue teams in each city and...
2019-03-24 11:58:53
274
原创 c++文件流 学习笔记
在写课程设计的时候经常会用到c++文件流,这篇为个人的学习笔记; 首先头文件中要有include<fstream>,它定义了三个新的数据类型。 1.ofstream 表示输出流,用于创建文件并向文件写入信息,从内存中把信息 写入外部存储设备中(文件) 2.ifstream 表示输入流,该数据类型表示输入文件流,从外部存储设备中把信息读入到内存进行...
2018-03-19 14:15:04
221
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅