結果
| 問題 | No.651 E869120 and Driving |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-02-28 22:52:17 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 15 ms / 1,000 ms |
| + 81µs | |
| コード長 | 430 bytes |
| 記録 | |
| コンパイル時間 | 448 ms |
| コンパイル使用メモリ | 104,064 KB |
| 実行使用メモリ | 18,432 KB |
| 最終ジャッジ日時 | 2026-09-09 06:41:02 |
| 合計ジャッジ時間 | 1,633 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
コンパイルメッセージ
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;
namespace _0651
{
class Program
{
static void Main(string[] args)
{
var a = int.Parse(Console.ReadLine());
var t = a / 10 * 6;
var dt = new DateTime(2021,1,1,10,0,0);
var ts = new TimeSpan(t/60,t%60,0);
dt += ts;
Console.WriteLine(string.Format("{0}:{1:D2}",dt.Hour, dt.Minute));
}
}
}