We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
staticintlagDuration(inth1,intm1,inth2,intm2,intk){// Return an integer denoting the duration of time in minutes by which the clock has been lagging.inth=(h1*60)+(k*60)+m1;intwh=(h2*60)+m2;returnMath.abs(h-wh);}
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Clock Delay
You are viewing a single comment's thread. Return to all comments →