백준 2525번 - C
#include <stdio.h>
int main(void) {
int iHour, iMin, iNeedMin;
int itotalHour, itotalMin;
scanf("%d %d", &iHour, &iMin);
scanf("%d", &iNeedMin);
itotalHour = iHour + ((iMin + iNeedMin)/60);
if (itotalHour >= 24) itotalHour -= 24;
itotalMin = (iMin + iNeedMin) % 60;
printf("%d %d",itotalHour, itotalMin);
return 0;
}INFO