![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PINTIA
ShiShc_
2022 in XDU. Tencent - CSIG - tdsql.
展开
-
PINTIA - 7-4 得分处理 (10 分)
7-4 得分处理 (10 分)一、题干二、注意三、代码一、题干编写程序来处理学生分数数据。程序的输入包含以下两种格式之一的文本行:学生的姓名和学生ID,分别为<student id>, <name>和为一门课程的一名学生评分,为<student id>, <course name>, <marks>。两种格式的示例是:3190101234, Zhang San3190101111, Linear Algebra, 89.5逗号用原创 2020-07-07 18:13:27 · 1902 阅读 · 0 评论 -
PINTIA - 7-2 Easy chemistry (35point(s))
Easy chemistry一、题目二、思路三、源码四、0.0一、题目In this question, you need to write a simple program to determine if the given chemical equation is balanced. Balanced means that the amount of elements on both sides of the “=” sign is the same.H2O+CO2=H2CO3We g原创 2020-07-05 16:31:17 · 419 阅读 · 2 评论 -
PINTIA - 7-1 日程安排(多重继承+重载) (40分)
已有一个日期类Date,包括三个protected成员数据int year;int month;int day;另有一个时间类Time,包括三个protected成员数据int hour;int minute;int second;现需根据输入的日程的日期时间,安排前后顺序,为此以Date类和Time类为基类,建立一个日程类Schedule,包括以下新增成员:int ID;//日程的IDbool operator < (const Schedule & s2);//判断当前原创 2020-07-03 10:55:12 · 2834 阅读 · 0 评论