結果
| 問題 |
No.525 二度寝の季節
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-06-15 19:11:50 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 282 bytes |
| コンパイル時間 | 842 ms |
| コンパイル使用メモリ | 110,936 KB |
| 実行使用メモリ | 27,044 KB |
| 最終ジャッジ日時 | 2024-09-25 02:23:34 |
| 合計ジャッジ時間 | 2,859 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 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;
class Program
{
static void Main()
{
var T = Console.ReadLine().Split().Select(int.Parse);
int hour = T.First(), minute = T.Last();
int time = hour * 60 + minute;
time += 5;
Console.WriteLine($"{(time / 60) :00}:{(time % 60):00}");
}
}