Untitled
unknown
plain_text
a year ago
390 B
4
Indexable
Never
#include <stdio.h> int main() { int ih,im,fh,fm; scanf("%d %d %d %d",&ih,&im,&fh,&fm); if (fh>ih && fm>im) { printf("O JOGO DUROU %d HORA(S) E %d MINUTO(S)\n",(fh-ih),(fm-im)); } else if (ih>=fh && im>=fm) { printf("O JOGO DUROU %d HORA(S) E %d MINUTO(S)\n",(24-(ih-fh)),(60-(im-fm))); } return 0; }