結果

問題 No.1180 無限和
ユーザー 遭難者遭難者
提出日時 2020-07-28 16:24:10
言語 Java21
(openjdk 21)
結果
AC  
実行時間 127 ms / 1,000 ms
コード長 285 bytes
コンパイル時間 1,676 ms
コンパイル使用メモリ 74,264 KB
実行使用メモリ 54,676 KB
最終ジャッジ日時 2024-04-23 06:23:04
合計ジャッジ時間 7,361 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 115 ms
54,152 KB
testcase_01 AC 110 ms
54,064 KB
testcase_02 AC 112 ms
54,160 KB
testcase_03 AC 102 ms
52,952 KB
testcase_04 AC 105 ms
53,632 KB
testcase_05 AC 114 ms
54,240 KB
testcase_06 AC 117 ms
54,052 KB
testcase_07 AC 104 ms
52,872 KB
testcase_08 AC 113 ms
54,148 KB
testcase_09 AC 100 ms
52,808 KB
testcase_10 AC 118 ms
54,308 KB
testcase_11 AC 116 ms
54,044 KB
testcase_12 AC 118 ms
54,312 KB
testcase_13 AC 104 ms
53,008 KB
testcase_14 AC 116 ms
54,248 KB
testcase_15 AC 116 ms
54,296 KB
testcase_16 AC 119 ms
54,036 KB
testcase_17 AC 118 ms
54,288 KB
testcase_18 AC 124 ms
53,948 KB
testcase_19 AC 119 ms
54,284 KB
testcase_20 AC 122 ms
54,164 KB
testcase_21 AC 115 ms
54,580 KB
testcase_22 AC 115 ms
54,168 KB
testcase_23 AC 124 ms
54,156 KB
testcase_24 AC 127 ms
54,096 KB
testcase_25 AC 111 ms
52,748 KB
testcase_26 AC 113 ms
54,128 KB
testcase_27 AC 111 ms
54,180 KB
testcase_28 AC 112 ms
54,240 KB
testcase_29 AC 113 ms
53,836 KB
testcase_30 AC 101 ms
53,172 KB
testcase_31 AC 102 ms
52,932 KB
testcase_32 AC 101 ms
54,020 KB
testcase_33 AC 104 ms
53,288 KB
testcase_34 AC 112 ms
54,184 KB
testcase_35 AC 111 ms
53,784 KB
testcase_36 AC 119 ms
54,676 KB
testcase_37 AC 115 ms
54,264 KB
testcase_38 AC 113 ms
53,980 KB
testcase_39 AC 102 ms
53,016 KB
testcase_40 AC 104 ms
53,136 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        sc.close();
        double s = Math.pow(Math.PI * Math.PI / 6.0000, n)/ n;
        System.out.println((long)s);
    }
}
0