結果

問題 No.652 E869120 and TimeZone
ユーザー iwkjoseciwkjosec
提出日時 2018-02-27 15:28:48
言語 C#(csc)
(csc 3.9.0)
結果
RE  
実行時間 -
コード長 329 bytes
コンパイル時間 948 ms
コンパイル使用メモリ 110,540 KB
実行使用メモリ 26,464 KB
最終ジャッジ日時 2024-12-17 13:51:19
合計ジャッジ時間 3,000 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 RE * 2
other AC * 20 RE * 10
権限があれば一括ダウンロードができます
コンパイルメッセージ
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 static System.Console;

class Program
{
    static void Main()
    {
        var abs = ReadLine().Split();
        WriteLine($"{new DateTime(1, 1, 1, int.Parse(abs[0]), int.Parse(abs[1]), 0).AddHours(double.Parse(abs[2].Substring(3)) - 9):HH:mm}");
    }
}
0