Processing math: 33%
Solutions of Time format - MarisaOJ: Marisa Online Judge

Solutions of Time format

Select solution language

Write solution here.


ducyn    Created at    1 likes

**Hint**: *Vì: 3600 = số giây trong 1 giờ.* - d / 3600 → số giờ. - (d % 3600) / 60 (số phút còn lại sau khi bớt số giờ) - d % 60 (số giây còn lại sau khi bớt số phút) ------- Code tham khảo: cpp#clude<bitsstdc++.h>#defelllonglong#defenameTASK#defeTIME(1.0clockCLOCKSPERSEC)usingnamespacestd;voolve(){lld;cd;llh=d3600;llm=d%360060;lls=d%60;couth m s\n;}ma(){iosbase::syncwithstdio(false);c.tie(0);cout.tie(0);if