結果

問題 No.651 E869120 and Driving
ユーザー mencotton
提出日時 2018-03-12 14:08:11
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 26 ms / 1,000 ms
コード長 433 bytes
コンパイル時間 776 ms
コンパイル使用メモリ 111,700 KB
実行使用メモリ 25,956 KB
最終ジャッジ日時 2024-09-22 08:58:06
合計ジャッジ時間 1,519 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

namespace _651
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            DateTime ret = new DateTime(1,1,1,10,0,0);
            TimeSpan drive = new TimeSpan(0,n * 60 / 100,0);
            ret += drive;
            Console.Write(ret.Hour + ":");
            Console.WriteLine((ret.Minute < 10 ? "0" : "") + ret.Minute);
        }
    }
}
0