結果

問題 No.211 素数サイコロと合成数サイコロ (1)
ユーザー pirorirori_n712pirorirori_n712
提出日時 2018-07-13 00:41:40
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 27 ms / 1,000 ms
コード長 577 bytes
コンパイル時間 790 ms
コンパイル使用メモリ 109,212 KB
実行使用メモリ 27,028 KB
最終ジャッジ日時 2024-04-15 06:03:18
合計ジャッジ時間 2,736 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
25,944 KB
testcase_01 AC 25 ms
24,060 KB
testcase_02 AC 27 ms
24,928 KB
testcase_03 AC 26 ms
24,924 KB
testcase_04 AC 26 ms
27,028 KB
testcase_05 AC 26 ms
24,924 KB
testcase_06 AC 25 ms
25,808 KB
testcase_07 AC 24 ms
23,892 KB
testcase_08 AC 25 ms
22,580 KB
testcase_09 AC 24 ms
23,896 KB
testcase_10 AC 25 ms
23,772 KB
testcase_11 AC 27 ms
24,540 KB
testcase_12 AC 25 ms
26,188 KB
testcase_13 AC 24 ms
24,156 KB
testcase_14 AC 25 ms
23,904 KB
testcase_15 AC 25 ms
23,944 KB
testcase_16 AC 25 ms
24,148 KB
testcase_17 AC 26 ms
24,884 KB
testcase_18 AC 25 ms
22,708 KB
testcase_19 AC 25 ms
23,860 KB
testcase_20 AC 25 ms
24,028 KB
testcase_21 AC 24 ms
24,116 KB
testcase_22 AC 25 ms
23,764 KB
testcase_23 AC 25 ms
26,236 KB
testcase_24 AC 25 ms
24,068 KB
testcase_25 AC 25 ms
25,972 KB
testcase_26 AC 25 ms
23,984 KB
testcase_27 AC 24 ms
24,028 KB
testcase_28 AC 24 ms
23,896 KB
testcase_29 AC 24 ms
24,156 KB
testcase_30 AC 25 ms
24,160 KB
testcase_31 AC 24 ms
24,112 KB
testcase_32 AC 24 ms
24,028 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

class No211{
    static void Main(){
        var a=Int32.Parse(Console.ReadLine());
        if(a==12||a==18||a==20||a==24||a==30){Console.WriteLine(0.0555555555555554);}
        else if(a==8||a==16
                ||a==27||a==36
                ||a==40||a==45||a==50||a==60
                ||a==28||a==42||a==56||a==63||a==70||a==84
                ||a==44||a==66||a==88||a==99||a==110||a==121
                ||a==52||a==78||a==104||a==117||a==130||a==156){Console.WriteLine(0.0277777777777777778);}
        else{Console.WriteLine(0.00000000000000000);}
    }
}
0