結果

問題 No.525 二度寝の季節
ユーザー YOSHIYOSHI
提出日時 2021-03-18 21:59:48
言語 Java21
(openjdk 21)
結果
AC  
実行時間 110 ms / 1,000 ms
コード長 472 bytes
コンパイル時間 3,590 ms
コンパイル使用メモリ 72,292 KB
実行使用メモリ 57,620 KB
最終ジャッジ日時 2023-08-10 19:16:22
合計ジャッジ時間 10,356 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 110 ms
55,788 KB
testcase_01 AC 108 ms
56,132 KB
testcase_02 AC 107 ms
56,176 KB
testcase_03 AC 107 ms
55,712 KB
testcase_04 AC 107 ms
56,124 KB
testcase_05 AC 108 ms
53,804 KB
testcase_06 AC 110 ms
55,952 KB
testcase_07 AC 108 ms
55,352 KB
testcase_08 AC 109 ms
56,132 KB
testcase_09 AC 106 ms
55,916 KB
testcase_10 AC 107 ms
55,364 KB
testcase_11 AC 107 ms
57,620 KB
testcase_12 AC 106 ms
55,612 KB
testcase_13 AC 106 ms
56,208 KB
testcase_14 AC 108 ms
55,576 KB
testcase_15 AC 107 ms
55,672 KB
testcase_16 AC 106 ms
56,116 KB
testcase_17 AC 104 ms
55,496 KB
testcase_18 AC 108 ms
56,140 KB
testcase_19 AC 107 ms
56,048 KB
testcase_20 AC 106 ms
55,604 KB
testcase_21 AC 108 ms
55,668 KB
testcase_22 AC 108 ms
55,892 KB
testcase_23 AC 109 ms
56,264 KB
testcase_24 AC 110 ms
56,060 KB
testcase_25 AC 107 ms
56,172 KB
testcase_26 AC 108 ms
55,880 KB
testcase_27 AC 108 ms
56,140 KB
testcase_28 AC 107 ms
55,612 KB
testcase_29 AC 108 ms
56,040 KB
testcase_30 AC 108 ms
56,128 KB
testcase_31 AC 105 ms
55,648 KB
testcase_32 AC 107 ms
56,180 KB
testcase_33 AC 109 ms
55,924 KB
testcase_34 AC 109 ms
55,964 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class No00000525_Main {
	static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	public static void main(String[] args) throws IOException {
		String[] t = br.readLine().split(":");
		int h = Integer.parseInt(t[0]);
		int m = Integer.parseInt(t[1]);
		System.out.println(String.format("%02d:%02d", (h + ((m + 5) / 60)) % 24, (m + 5) % 60));
	}
}
0