結果

問題 No.221 犯罪都市
ユーザー bluemeganebluemegane
提出日時 2021-04-23 15:13:16
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 61 ms / 5,000 ms
コード長 242 bytes
コンパイル時間 912 ms
コンパイル使用メモリ 65,216 KB
実行使用メモリ 24,664 KB
最終ジャッジ日時 2023-09-17 11:04:39
合計ジャッジ時間 2,918 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 59 ms
22,640 KB
testcase_01 AC 60 ms
22,664 KB
testcase_02 AC 60 ms
22,556 KB
testcase_03 AC 58 ms
18,664 KB
testcase_04 AC 60 ms
24,664 KB
testcase_05 AC 60 ms
24,664 KB
testcase_06 AC 60 ms
22,640 KB
testcase_07 AC 60 ms
24,600 KB
testcase_08 AC 60 ms
24,640 KB
testcase_09 AC 60 ms
22,572 KB
testcase_10 AC 60 ms
22,580 KB
testcase_11 AC 59 ms
20,548 KB
testcase_12 AC 60 ms
22,532 KB
testcase_13 AC 60 ms
22,572 KB
testcase_14 AC 60 ms
22,572 KB
testcase_15 AC 61 ms
22,596 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;

public class Hello
{
    static void Main()
    {
        var n = int.Parse(Console.ReadLine().Trim());
        var gonin = 10000 - n;
        var ans = 100d * gonin / (gonin + 99d * n);
        Console.WriteLine(ans);
    }
}
0