結果

問題 No.525 二度寝の季節
ユーザー neko_the_shadow
提出日時 2017-10-04 22:33:46
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 27 ms / 1,000 ms
コード長 442 bytes
コンパイル時間 845 ms
コンパイル使用メモリ 107,220 KB
実行使用メモリ 19,456 KB
最終ジャッジ日時 2024-11-16 18:52:49
合計ジャッジ時間 3,204 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 33
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

class Program
{
    static void Main(string[] args)
    {
        var tokens = Console.ReadLine().Split(':').Select(int.Parse).ToArray();
        var hh = tokens[0];
        var mm = tokens[1];

        var date = new DateTime(2017, 10, 4, hh, mm, 0).AddMinutes(5);
        Console.WriteLine(date.ToString("HH:mm"));
    }
}
0