結果
問題 | No.525 二度寝の季節 |
ユーザー |
|
提出日時 | 2020-03-28 14:56:28 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 28 ms / 1,000 ms |
コード長 | 334 bytes |
コンパイル時間 | 944 ms |
コンパイル使用メモリ | 113,628 KB |
実行使用メモリ | 27,948 KB |
最終ジャッジ日時 | 2025-01-02 11:19:46 |
合計ジャッジ時間 | 3,078 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 33 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Linq; public class P0525 { public static void Main() { var hm = Console.ReadLine().Trim().Split(':').Select(int.Parse).ToList(); var result = hm[0] * 60 + hm[1] + 5; result %= 1440; Console.WriteLine(String.Format("{0,2:00}:{1,2:00}", result / 60, result % 60)); } }