# include<stdio.h> int main () {int BJT,UCT; int a=0,b=0; scanf("%d",&BJT); if(BJT>2359||BJT<0){ printf("请输入正确的数字"); } else if(BJT<800){ a=BJT/100-8+24; b=BJT%100+a*100; } else { a=BJT/100-8; b=BJT%100+a*100; } printf ("%d",b); }
时间: 2024-11-06 18:32:00