以下是引用return_0在2020-3-26 16:10:11的发言:
#include <stdio.h>
int main( void )
{
int a;
scanf("%a",&a);
int minute = (a/100*60 + a%100 + 110)%1440;
int t=minute/60*100 + minute%60;
printf( "%d\n",t);
printf( "%d\n",t);
printf( "%d\n",t);
return 0;
}
scanf("%
a",&a);