結果

問題 No.903 太郎の確率
ユーザー tomomo2b2tomomo2b2
提出日時 2019-10-11 21:20:36
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 61 ms / 2,000 ms
コード長 432 bytes
コンパイル時間 2,034 ms
コンパイル使用メモリ 101,700 KB
実行使用メモリ 24,560 KB
最終ジャッジ日時 2023-08-16 16:45:44
合計ジャッジ時間 3,383 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 59 ms
22,596 KB
testcase_01 AC 61 ms
20,508 KB
testcase_02 AC 60 ms
22,564 KB
testcase_03 AC 60 ms
22,540 KB
testcase_04 AC 60 ms
22,692 KB
testcase_05 AC 61 ms
24,560 KB
testcase_06 AC 61 ms
24,484 KB
testcase_07 AC 59 ms
22,564 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.Linq;
using System.Collections.Generic;
using System.IO;

class MyClass
{
    public static void Solve()
    {
        var N = int.Parse(Console.ReadLine());
        Console.WriteLine(1.0 / N);
    }

    public static void Main()
    {
        var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
        Console.SetOut(sw);
        Solve();
        Console.Out.Flush();
    }
}
0