結果

問題 No.220 世界のなんとか2
ユーザー mobius_bkstmobius_bkst
提出日時 2015-05-29 23:22:34
言語 Java21
(openjdk 21)
結果
AC  
実行時間 43 ms / 1,000 ms
コード長 865 bytes
コンパイル時間 3,327 ms
コンパイル使用メモリ 72,800 KB
実行使用メモリ 49,652 KB
最終ジャッジ日時 2023-09-20 17:05:38
合計ジャッジ時間 5,014 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
49,148 KB
testcase_01 AC 41 ms
49,336 KB
testcase_02 AC 41 ms
49,112 KB
testcase_03 AC 41 ms
49,120 KB
testcase_04 AC 42 ms
49,040 KB
testcase_05 AC 41 ms
49,144 KB
testcase_06 AC 42 ms
49,180 KB
testcase_07 AC 41 ms
47,212 KB
testcase_08 AC 43 ms
49,108 KB
testcase_09 AC 43 ms
49,552 KB
testcase_10 AC 42 ms
49,652 KB
testcase_11 AC 42 ms
49,064 KB
testcase_12 AC 41 ms
49,504 KB
testcase_13 AC 42 ms
49,176 KB
testcase_14 AC 42 ms
49,060 KB
testcase_15 AC 42 ms
49,224 KB
testcase_16 AC 42 ms
49,044 KB
testcase_17 AC 42 ms
49,144 KB
testcase_18 AC 43 ms
49,044 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class No220 {
    public static void main(String[] args) {
        try {
            String[] nabeatsu = { "","3", "45", "513", "5625", "60633", "645705",
                    "6811353", "71302185", "741719673", "7675477065",
                    "79079293593", "811713642345", "8305422781113",
                    "84748805030025", "862739245270233", "8764653207432105",
                    "88881878866888953", "899936909802000585",
                    "9099432188218005273" };
            BufferedReader br = new BufferedReader(new InputStreamReader(
                    System.in));
            int N = Integer.parseInt(br.readLine());
            System.out.println(nabeatsu[N]);
        } catch (Exception e) {
            System.err.println("Error:" + e.getMessage());
        }
    }

}
0