結果

問題 No.525 二度寝の季節
ユーザー bluemeganebluemegane
提出日時 2018-09-12 15:56:11
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 63 ms / 1,000 ms
コード長 407 bytes
コンパイル時間 2,170 ms
コンパイル使用メモリ 99,072 KB
実行使用メモリ 23,180 KB
最終ジャッジ日時 2023-09-09 08:36:31
合計ジャッジ時間 6,488 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
21,016 KB
testcase_01 AC 62 ms
21,076 KB
testcase_02 AC 61 ms
21,024 KB
testcase_03 AC 62 ms
23,124 KB
testcase_04 AC 62 ms
21,192 KB
testcase_05 AC 62 ms
21,056 KB
testcase_06 AC 62 ms
23,020 KB
testcase_07 AC 61 ms
21,020 KB
testcase_08 AC 62 ms
21,188 KB
testcase_09 AC 62 ms
23,104 KB
testcase_10 AC 61 ms
21,020 KB
testcase_11 AC 61 ms
23,180 KB
testcase_12 AC 62 ms
23,068 KB
testcase_13 AC 61 ms
21,160 KB
testcase_14 AC 61 ms
19,044 KB
testcase_15 AC 61 ms
23,064 KB
testcase_16 AC 60 ms
21,036 KB
testcase_17 AC 61 ms
21,052 KB
testcase_18 AC 61 ms
21,168 KB
testcase_19 AC 61 ms
21,088 KB
testcase_20 AC 61 ms
21,124 KB
testcase_21 AC 60 ms
21,016 KB
testcase_22 AC 61 ms
19,096 KB
testcase_23 AC 60 ms
21,164 KB
testcase_24 AC 60 ms
21,120 KB
testcase_25 AC 60 ms
21,056 KB
testcase_26 AC 61 ms
21,108 KB
testcase_27 AC 61 ms
23,172 KB
testcase_28 AC 61 ms
23,144 KB
testcase_29 AC 61 ms
19,124 KB
testcase_30 AC 61 ms
23,068 KB
testcase_31 AC 63 ms
21,036 KB
testcase_32 AC 62 ms
20,988 KB
testcase_33 AC 61 ms
21,124 KB
testcase_34 AC 61 ms
20,984 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

public class Hello
{
    public static void Main()
    {
        string[] line = Console.ReadLine().Trim().Split(':');
        var hh = int.Parse(line[0]);
        var mm = int.Parse(line[1]);
        var cf = false;
        mm += 5;
        if (mm >= 60) { mm %= 60;  cf = true; }
        if (cf) hh++;
        if (hh == 24) hh = 0;
        Console.WriteLine("{0:00}:{1:00}",hh,mm);
    }
}
0