Competitive Programming
Try To Help To Generate & Improve The Idea Of Competitive Programming
Wednesday, August 23, 2017
1019 Time Conversion URI Problem Only Solution In C#
using System;
class URI {
static void Main(string[] args) {
int r=Convert.ToInt32(Console.ReadLine());
int a=r/3600;
int b=(r-3600*a)/60;
int c=(r-3600*a)-60*b;
Console.WriteLine(a+":"+b+":"+c);
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment