結果

問題 No.652 E869120 and TimeZone
ユーザー iwkjoseciwkjosec
提出日時 2018-02-24 01:08:58
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 79 ms / 1,000 ms
コード長 819 bytes
コンパイル時間 2,189 ms
コンパイル使用メモリ 101,492 KB
実行使用メモリ 23,392 KB
最終ジャッジ日時 2023-09-02 05:24:42
合計ジャッジ時間 6,010 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
23,392 KB
testcase_01 AC 78 ms
23,324 KB
testcase_02 AC 76 ms
21,212 KB
testcase_03 AC 77 ms
23,336 KB
testcase_04 AC 77 ms
21,416 KB
testcase_05 AC 77 ms
21,212 KB
testcase_06 AC 77 ms
23,300 KB
testcase_07 AC 76 ms
21,312 KB
testcase_08 AC 77 ms
21,308 KB
testcase_09 AC 77 ms
21,228 KB
testcase_10 AC 77 ms
23,272 KB
testcase_11 AC 76 ms
23,356 KB
testcase_12 AC 76 ms
21,236 KB
testcase_13 AC 76 ms
19,216 KB
testcase_14 AC 77 ms
23,352 KB
testcase_15 AC 77 ms
21,192 KB
testcase_16 AC 79 ms
23,356 KB
testcase_17 AC 77 ms
21,296 KB
testcase_18 AC 78 ms
21,212 KB
testcase_19 AC 76 ms
21,272 KB
testcase_20 AC 75 ms
21,292 KB
testcase_21 AC 75 ms
19,360 KB
testcase_22 AC 76 ms
21,316 KB
testcase_23 AC 75 ms
21,232 KB
testcase_24 AC 77 ms
21,316 KB
testcase_25 AC 76 ms
21,264 KB
testcase_26 AC 77 ms
23,296 KB
testcase_27 AC 76 ms
21,324 KB
testcase_28 AC 78 ms
23,260 KB
testcase_29 AC 77 ms
21,260 KB
testcase_30 AC 77 ms
23,300 KB
testcase_31 AC 75 ms
21,256 KB
testcase_32 AC 76 ms
21,312 KB
testcase_33 AC 78 ms
21,428 KB
testcase_34 AC 78 ms
19,216 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
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()
    {
#if a
        var nkp = ReadLine().Split();
        var N = int.Parse(nkp[0]);
        var K = int.Parse(nkp[1]);
        var P = long.Parse(nkp[2]);
        if (P > 21325334000) WriteLine(0);
        var tri = new int[N][];
        for (int i = 0; i < N; i++) tri[i] = new int[i + 1];
        for (int i = 0; i < K; i++)
        {
            var p = ReadLine().Split().Select(int.Parse).ToArray();
        }
#endif
        var abs = ReadLine().Split();
        var a = int.Parse(abs[0]);
        var b = int.Parse(abs[1]);
        var s = double.Parse(abs[2].Substring(3));
        WriteLine($"{new DateTime(2000, 10, 1, a, b, 0) + TimeSpan.FromHours(s - 9):HH:mm}");
    }
}
0