結果
| 問題 | 
                            No.211 素数サイコロと合成数サイコロ (1)
                             | 
                    
| コンテスト | |
| ユーザー | 
                             pirorirori_n712
                         | 
                    
| 提出日時 | 2018-07-13 00:41:40 | 
| 言語 | C#(csc)  (csc 3.9.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 23 ms / 1,000 ms | 
| コード長 | 577 bytes | 
| コンパイル時間 | 937 ms | 
| コンパイル使用メモリ | 105,484 KB | 
| 実行使用メモリ | 26,708 KB | 
| 最終ジャッジ日時 | 2024-10-04 19:14:15 | 
| 合計ジャッジ時間 | 3,033 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 33 | 
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
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);}
    }
}
            
            
            
        
            
pirorirori_n712