| C language I work 004
Tags: 18 Software Li Xu Liang
problem | answer |
---|---|
This work belongs to the curriculum | C Programming Language II |
Where the job requires | https://www.cnblogs.com/pengchen511/p/10564067.html |
My aim in this course is | Familiar with and master the sense of language c language |
This job helped me achieve that goal in terms of specific | By constantly writing code, reading lines of code, giving top priority |
references | https://www.cnblogs.com/linli069/ |
1.PTA lab assignments
1.1 seeking interleaving sequence and first N
status
1.1.1 Data Processing
数据表达:int 类型 i,denominator,flag; double类型 item, sum。
数据处理:for循环语句,其流程结构如下
1.1.2 Screenshot experiment code
1.1.3 build test data
Input data | Output Data | Explanation |
---|---|---|
computer | $1600 | 5 |
Cellular phone | $12 | 12 |
Pipeline | $1 | 234 |
1.1.4 PTA submit a list and description
测试点 提示
Submit a list of instructions:
第一次:编译错误,在molecule分子这里后面没有加“;”
第二次:答案错误。原因,定义符号出现了问题。
1.2 seeking interleaving sequence and first N
1.2.1 Data Processing
数据表达:int 类型 i,denominator,flag; double类型 item, sum。
数据处理:for循环语句,其流程结构如下`
1.2.2 Code Screenshot
1.2.3 build test data
Input data | Output Data | Explanation |
---|---|---|
computer | $1600 | 5 |
Cellular phone | $12 | 12 |
Pipeline | $1 | 234 |
1.2.4 PTA submit a list and description
Example:
这是一个一级标题
============================
这是一个二级标题
--------------------------------------------------
### 这是一个三级标题
2. Code peer assessment
Screenshot students Codes
own Code Screenshot