标签:amp start col pre return code main include print
1 #include<stdio.h> 2 3 int main(void) 4 { 5 int start; 6 int time; 7 8 scanf_s("%d %d", &start, &time); 9 10 int start_minute = start / 100 * 60 + start % 100; 11 int end_minute = start_minute + time; 12 13 printf("%d%02d", end_minute / 60, end_minute % 60); 14 15 return 0; 16 }
标签:amp start col pre return code main include print
原文地址:https://www.cnblogs.com/2018jason/p/11777251.html