結果
| 問題 | No.296 n度寝 |
| コンテスト | |
| ユーザー |
mban
|
| 提出日時 | 2016-11-04 15:27:45 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 19 ms / 1,000 ms |
| コード長 | 448 bytes |
| 記録 | |
| コンパイル時間 | 823 ms |
| コンパイル使用メモリ | 112,592 KB |
| 実行使用メモリ | 28,016 KB |
| 最終ジャッジ日時 | 2026-03-28 17:04:23 |
| 合計ジャッジ時間 | 1,694 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 16 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Magatro
{
static void Main()
{
int[] q = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray();
int N = q[0], H = q[1], M = q[2], T = q[3];
M += T * (N - 1);
H += M / 60;
M %= 60;
H %= 24;
Console.WriteLine(H);
Console.WriteLine(M);
}
}
mban