結果
問題 |
No.525 二度寝の季節
|
ユーザー |
![]() |
提出日時 | 2017-07-06 12:57:57 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 45 ms / 1,000 ms |
コード長 | 341 bytes |
コンパイル時間 | 3,233 ms |
コンパイル使用メモリ | 111,928 KB |
実行使用メモリ | 28,900 KB |
最終ジャッジ日時 | 2024-10-06 03:35:41 |
合計ジャッジ時間 | 3,629 ms |
ジャッジサーバーID (参考情報) |
judge2 / 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; namespace ConsoleApp3 { class Program { static void Main(string[] args) { string s = Console.ReadLine(); DateTime t = DateTime.Parse(s); t += new TimeSpan(0,5,0); Console.WriteLine(t.Hour.ToString("00") + ":" + t.Minute.ToString("00")); } } }