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.
actualli i had made some programmes based on simple input and output data , but due to "failing of many cases : rather than case#0 " , it become necessary for me to bring out all possible 'input ways' .
well thanks to u for giving important trick :
printf("%02d:%02d:%02d",hh,mm,ss);
it helped me to bring out my code from 100 lines to just 50 lines . keep giving that new ideas please .
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Time Conversion
You are viewing a single comment's thread. Return to all comments →
actualli i had made some programmes based on simple input and output data , but due to "failing of many cases : rather than case#0 " , it become necessary for me to bring out all possible 'input ways' . well thanks to u for giving important trick : printf("%02d:%02d:%02d",hh,mm,ss); it helped me to bring out my code from 100 lines to just 50 lines . keep giving that new ideas please .