写着玩
文章平均质量分 59
codestar2020
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Biker‘s Trip Odometer
Biker’s Trip Odometer题目Problem DescriptionMost bicycle speedometers work by using a Hall Effect sensor fastened to the front fork of the bicycle. A magnet is attached to one of the spokes on the front wheel so that it will line up with the Hall Effect s原创 2021-02-01 13:45:37 · 157 阅读 · 0 评论 -
Elevator
Elevator电梯#include<stdio.h>int main(){ int n,time; char ch; while(scanf("%d",&n)!=EOF) { int a[n],i=1; scanf("%d",&a[0]); time=n*5+a[0]*6; while(getchar()!='\n') { scanf("%d",&a[i]); if(a[i]<a[i-1]) time+=4*原创 2021-01-31 14:09:29 · 144 阅读 · 0 评论
分享