2.13 A Simple Question of Chemistry(一个简单的化学问题)

这是一个关于自动化记录化学实验中温度变化的程序设计任务。程序接收一系列温度输入,计算并输出相邻温度间的差值,用于绘制实验室温度变化图。输入以999结束,输出需精确到小数点后两位。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

                      2.13 A Simple Question of Chemistry 

2.13.1 时空限制

         Time limit: 1 Seconds Memory limit: 32768K 

2.13.2 题目内容

         Your chemistry lab instructor is a very enthusiastic graduate student who clearly has forgotten what their undergraduate Chemistry 101 lab experience was like. Your instructor has come up with the brilliant idea that you will monitor the temperature of your mixture every minute for the entire lab. You will then plot the rate of change for the entire duration of the lab. 
          Being a promising computer scientist, you know you can automate part of this procedure, so you are writing a program you can run on your laptop during chemistry labs. (Laptops are only occasionally dissolved by the chemicals used in such labs) You will write a program that will let you enter in each temperature as you observe it. The program will then calculate the difference between this temperature and the previous one, and print out the difference. Then you can feed this input into a simple graphing program and finish

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值