結果
問題 | No.220 世界のなんとか2 |
ユーザー | mobius_bkst |
提出日時 | 2015-05-29 23:21:17 |
言語 | Java21 (openjdk 21) |
結果 |
WA
|
実行時間 | - |
コード長 | 862 bytes |
コンパイル時間 | 4,190 ms |
コンパイル使用メモリ | 73,080 KB |
実行使用メモリ | 51,448 KB |
最終ジャッジ日時 | 2023-09-20 17:04:50 |
合計ジャッジ時間 | 5,156 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | WA | - |
testcase_16 | WA | - |
testcase_17 | WA | - |
testcase_18 | WA | - |
ソースコード
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()); } } }