#include <iostream> using namespace std; int main(){ int a,b,sum; cin>>a>>b; if (a>b) sum = 24-a+b; else if(a==b) sum=24; else sum=b-a; printf("O JOGO DUROU %d HORA(S)",sum); return 0; }
优秀
优秀