백준 2525번 - C

Run Settings
LanguageC
Language Version
Run Command
#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; }
Editor Settings
Theme
Key bindings
Full width
Lines