結果

問題 No.57 ミリオンダイス
ユーザー 14番14番
提出日時 2016-04-06 00:13:49
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 63 ms / 5,000 ms
コード長 1,147 bytes
コンパイル時間 4,121 ms
コンパイル使用メモリ 106,372 KB
実行使用メモリ 25,148 KB
最終ジャッジ日時 2023-08-09 00:53:10
合計ジャッジ時間 3,805 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
23,232 KB
testcase_01 AC 62 ms
25,136 KB
testcase_02 AC 62 ms
23,116 KB
testcase_03 AC 62 ms
25,148 KB
testcase_04 AC 61 ms
23,128 KB
testcase_05 AC 61 ms
21,064 KB
testcase_06 AC 61 ms
22,952 KB
testcase_07 AC 61 ms
23,084 KB
testcase_08 AC 61 ms
23,140 KB
testcase_09 AC 62 ms
23,008 KB
testcase_10 AC 62 ms
23,072 KB
testcase_11 AC 63 ms
23,140 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Collections.Generic;
using System.Text;

public class Program
{
    public void Proc(){
        
        Reader.IsDebug = false;
        double num = long.Parse(Reader.ReadLine());
        num *= 3.5;
        Console.WriteLine(num.ToString("######################.#"));
        
    }
    
    public static void Main(string[] args)
    {
        Program prg = new Program();
        prg.Proc();
    }
}

class Reader
{
    public static bool IsDebug = true;
    
    private static System.IO.StringReader sr;
    
    public static string ReadLine() {
        if(IsDebug) {
            if(sr == null) {
                sr = new System.IO.StringReader(initStr.Trim());
            }
            return sr.ReadLine();
        } else {
            return Console.ReadLine();
        }
    }
    
    public static int[] GetInt(char delimiter = ' ') {
        string[] inpt = ReadLine().Split(delimiter);
        int[] ret = new int[inpt.Length];
        for(int i=0; i<inpt.Length; i++) {
            ret[i] = int.Parse(inpt[i]);
        }
        return ret;
    }
    
    private static string initStr = @"


3


";
}

0