結果

問題 No.525 二度寝の季節
ユーザー pirorirori_n712pirorirori_n712
提出日時 2018-06-13 01:55:01
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 388 bytes
コンパイル時間 2,303 ms
コンパイル使用メモリ 104,228 KB
実行使用メモリ 22,892 KB
最終ジャッジ日時 2023-09-13 03:46:32
合計ジャッジ時間 5,210 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
20,720 KB
testcase_01 AC 58 ms
20,844 KB
testcase_02 WA -
testcase_03 AC 58 ms
20,840 KB
testcase_04 AC 58 ms
20,740 KB
testcase_05 AC 57 ms
20,712 KB
testcase_06 AC 57 ms
20,728 KB
testcase_07 AC 58 ms
22,784 KB
testcase_08 AC 57 ms
20,884 KB
testcase_09 AC 58 ms
22,724 KB
testcase_10 AC 57 ms
20,936 KB
testcase_11 AC 57 ms
20,736 KB
testcase_12 AC 58 ms
20,752 KB
testcase_13 AC 57 ms
20,676 KB
testcase_14 AC 58 ms
20,780 KB
testcase_15 AC 58 ms
20,792 KB
testcase_16 AC 57 ms
20,732 KB
testcase_17 AC 58 ms
22,892 KB
testcase_18 AC 58 ms
20,720 KB
testcase_19 AC 58 ms
20,720 KB
testcase_20 AC 58 ms
20,796 KB
testcase_21 AC 58 ms
20,852 KB
testcase_22 AC 57 ms
20,788 KB
testcase_23 AC 57 ms
22,852 KB
testcase_24 WA -
testcase_25 AC 57 ms
20,796 KB
testcase_26 AC 57 ms
20,856 KB
testcase_27 WA -
testcase_28 AC 57 ms
20,860 KB
testcase_29 AC 57 ms
20,752 KB
testcase_30 AC 58 ms
20,840 KB
testcase_31 AC 60 ms
22,840 KB
testcase_32 AC 56 ms
18,788 KB
testcase_33 AC 59 ms
20,816 KB
testcase_34 AC 58 ms
22,888 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

class No525{
    static void Main(){
        var h=Console.ReadLine().Split(':');
        int[] i={Int32.Parse(h[0]),Int32.Parse(h[1])};
        i[1]+=5;
        if(i[1]>59){
            i[1]-=60;
            if(i[0]==23)i[0]=0;
        }
        var m=i[0]<10?$"0{i[0]}":$"{i[0]}";
        var s=i[1]<10?$"0{i[1]}":$"{i[1]}";
        Console.WriteLine($"{m}:{s}");
    }
}
0