結果
| 問題 |
No.903 太郎の確率
|
| コンテスト | |
| ユーザー |
tomomo2b2
|
| 提出日時 | 2019-10-11 21:20:36 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 24 ms / 2,000 ms |
| コード長 | 432 bytes |
| コンパイル時間 | 2,301 ms |
| コンパイル使用メモリ | 110,864 KB |
| 実行使用メモリ | 26,780 KB |
| 最終ジャッジ日時 | 2024-11-25 06:16:42 |
| 合計ジャッジ時間 | 2,910 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 |
コンパイルメッセージ
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;
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();
}
}
tomomo2b2