結果
問題 |
No.525 二度寝の季節
|
ユーザー |
|
提出日時 | 2018-01-25 18:53:19 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 67 ms / 1,000 ms |
コード長 | 538 bytes |
コンパイル時間 | 6,701 ms |
コンパイル使用メモリ | 73,940 KB |
実行使用メモリ | 36,944 KB |
最終ジャッジ日時 | 2024-12-26 15:36:46 |
合計ジャッジ時間 | 7,830 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 33 |
ソースコード
package me.yukicoder.lv1; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.time.LocalTime; public class No0525 { public static void main(String[] args) { try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) { String[] input = br.readLine().split(":"); LocalTime time = LocalTime.of(Integer.parseInt(input[0]), Integer.parseInt(input[1])); System.out.println(time.plusMinutes(5)); } catch (IOException e) { e.printStackTrace(); } } }