結果
問題 |
No.525 二度寝の季節
|
ユーザー |
![]() |
提出日時 | 2017-06-09 22:23:48 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 953 bytes |
コンパイル時間 | 780 ms |
コンパイル使用メモリ | 109,528 KB |
実行使用メモリ | 31,220 KB |
最終ジャッジ日時 | 2024-09-22 14:43:21 |
合計ジャッジ時間 | 3,270 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | AC * 16 WA * 17 |
コンパイルメッセージ
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; using System.IO; using System.Collections.Generic; class Solution { public void solve(TextReader input, TextWriter output) { DateTime dt = DateTime.Parse(input.ReadLine()); output.WriteLine(dt.AddMinutes(5).ToString("hh:mm")); } } class CaideConstants { public const string InputFile = null; public const string OutputFile = null; } public class Program { public static void Main(string[] args) { Solution solution = new Solution(); using (System.IO.TextReader input = CaideConstants.InputFile == null ? System.Console.In : new System.IO.StreamReader(CaideConstants.InputFile)) using (System.IO.TextWriter output = CaideConstants.OutputFile == null ? System.Console.Out: new System.IO.StreamWriter(CaideConstants.OutputFile)) solution.solve(input, output); } }