結果
| 問題 | No.651 E869120 and Driving | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2018-06-27 16:32:27 | 
| 言語 | C#(csc) (csc 3.9.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 24 ms / 1,000 ms | 
| コード長 | 399 bytes | 
| コンパイル時間 | 763 ms | 
| コンパイル使用メモリ | 108,992 KB | 
| 実行使用メモリ | 25,828 KB | 
| 最終ジャッジ日時 | 2024-09-22 09:01:20 | 
| 合計ジャッジ時間 | 1,463 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| 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 static System.Console;
namespace App
{
    class Prog
    {
        static void Main()
        {
            var x = int.Parse(ReadLine());
            x = x / 5 * 3;
            string min;
            if (x % 60 == 0) min = "00";
            else min = (x % 60).ToString();
            if (min.Length == 1) min = "0" + min;
            WriteLine(10 + (x / 60) + ":" + min);
        }
    }
}
            
            
            
        