結果
問題 | No.428 小数から逃げる夢 |
ユーザー | Grenache |
提出日時 | 2016-10-02 22:24:57 |
言語 | Java21 (openjdk 21) |
結果 |
AC
|
実行時間 | 149 ms / 1,000 ms |
コード長 | 826 bytes |
コンパイル時間 | 3,684 ms |
コンパイル使用メモリ | 79,136 KB |
実行使用メモリ | 41,856 KB |
最終ジャッジ日時 | 2024-11-21 13:10:49 |
合計ジャッジ時間 | 20,113 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 137 ms
41,668 KB |
testcase_01 | AC | 141 ms
41,684 KB |
testcase_02 | AC | 140 ms
41,548 KB |
testcase_03 | AC | 141 ms
41,356 KB |
testcase_04 | AC | 136 ms
41,368 KB |
testcase_05 | AC | 123 ms
40,296 KB |
testcase_06 | AC | 139 ms
41,364 KB |
testcase_07 | AC | 144 ms
41,760 KB |
testcase_08 | AC | 140 ms
41,384 KB |
testcase_09 | AC | 144 ms
41,680 KB |
testcase_10 | AC | 140 ms
41,460 KB |
testcase_11 | AC | 139 ms
41,240 KB |
testcase_12 | AC | 142 ms
41,368 KB |
testcase_13 | AC | 139 ms
41,320 KB |
testcase_14 | AC | 142 ms
41,452 KB |
testcase_15 | AC | 140 ms
41,324 KB |
testcase_16 | AC | 139 ms
41,736 KB |
testcase_17 | AC | 140 ms
41,292 KB |
testcase_18 | AC | 137 ms
41,224 KB |
testcase_19 | AC | 143 ms
41,644 KB |
testcase_20 | AC | 142 ms
41,656 KB |
testcase_21 | AC | 141 ms
41,456 KB |
testcase_22 | AC | 141 ms
41,632 KB |
testcase_23 | AC | 141 ms
41,616 KB |
testcase_24 | AC | 138 ms
41,364 KB |
testcase_25 | AC | 138 ms
41,740 KB |
testcase_26 | AC | 147 ms
41,592 KB |
testcase_27 | AC | 140 ms
41,752 KB |
testcase_28 | AC | 141 ms
41,644 KB |
testcase_29 | AC | 140 ms
41,628 KB |
testcase_30 | AC | 144 ms
41,572 KB |
testcase_31 | AC | 141 ms
41,316 KB |
testcase_32 | AC | 141 ms
41,496 KB |
testcase_33 | AC | 140 ms
41,540 KB |
testcase_34 | AC | 138 ms
41,728 KB |
testcase_35 | AC | 142 ms
41,712 KB |
testcase_36 | AC | 138 ms
41,720 KB |
testcase_37 | AC | 141 ms
41,756 KB |
testcase_38 | AC | 139 ms
41,540 KB |
testcase_39 | AC | 139 ms
41,532 KB |
testcase_40 | AC | 125 ms
40,308 KB |
testcase_41 | AC | 142 ms
41,544 KB |
testcase_42 | AC | 138 ms
41,460 KB |
testcase_43 | AC | 140 ms
41,440 KB |
testcase_44 | AC | 140 ms
41,732 KB |
testcase_45 | AC | 144 ms
41,668 KB |
testcase_46 | AC | 139 ms
41,324 KB |
testcase_47 | AC | 137 ms
41,520 KB |
testcase_48 | AC | 136 ms
41,512 KB |
testcase_49 | AC | 139 ms
41,540 KB |
testcase_50 | AC | 142 ms
41,780 KB |
testcase_51 | AC | 126 ms
40,040 KB |
testcase_52 | AC | 140 ms
41,620 KB |
testcase_53 | AC | 141 ms
41,276 KB |
testcase_54 | AC | 141 ms
41,388 KB |
testcase_55 | AC | 124 ms
40,304 KB |
testcase_56 | AC | 138 ms
41,584 KB |
testcase_57 | AC | 140 ms
41,292 KB |
testcase_58 | AC | 140 ms
41,408 KB |
testcase_59 | AC | 139 ms
41,652 KB |
testcase_60 | AC | 139 ms
41,384 KB |
testcase_61 | AC | 139 ms
41,540 KB |
testcase_62 | AC | 138 ms
41,512 KB |
testcase_63 | AC | 142 ms
41,608 KB |
testcase_64 | AC | 148 ms
41,560 KB |
testcase_65 | AC | 141 ms
41,488 KB |
testcase_66 | AC | 140 ms
41,460 KB |
testcase_67 | AC | 141 ms
41,352 KB |
testcase_68 | AC | 138 ms
41,512 KB |
testcase_69 | AC | 138 ms
41,504 KB |
testcase_70 | AC | 139 ms
41,500 KB |
testcase_71 | AC | 139 ms
41,452 KB |
testcase_72 | AC | 138 ms
41,620 KB |
testcase_73 | AC | 141 ms
41,624 KB |
testcase_74 | AC | 137 ms
41,744 KB |
testcase_75 | AC | 137 ms
41,332 KB |
testcase_76 | AC | 139 ms
41,532 KB |
testcase_77 | AC | 139 ms
41,300 KB |
testcase_78 | AC | 142 ms
41,484 KB |
testcase_79 | AC | 140 ms
41,660 KB |
testcase_80 | AC | 141 ms
41,440 KB |
testcase_81 | AC | 139 ms
41,448 KB |
testcase_82 | AC | 138 ms
41,572 KB |
testcase_83 | AC | 149 ms
41,336 KB |
testcase_84 | AC | 142 ms
41,772 KB |
testcase_85 | AC | 139 ms
41,236 KB |
testcase_86 | AC | 143 ms
41,856 KB |
testcase_87 | AC | 138 ms
41,760 KB |
testcase_88 | AC | 137 ms
41,460 KB |
testcase_89 | AC | 141 ms
41,440 KB |
testcase_90 | AC | 138 ms
41,328 KB |
testcase_91 | AC | 140 ms
41,248 KB |
testcase_92 | AC | 138 ms
41,712 KB |
testcase_93 | AC | 138 ms
41,760 KB |
testcase_94 | AC | 141 ms
41,448 KB |
testcase_95 | AC | 141 ms
41,500 KB |
testcase_96 | AC | 140 ms
41,768 KB |
testcase_97 | AC | 138 ms
41,340 KB |
testcase_98 | AC | 142 ms
41,444 KB |
testcase_99 | AC | 140 ms
41,668 KB |
ソースコード
import java.io.*; import java.math.*; import java.util.*; public class Main_yukicoder428 { private static Scanner sc; private static Printer pr; private static void solve() { BigDecimal d = new BigDecimal("0.1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991"); int n = sc.nextInt(); BigDecimal ret = d.multiply(BigDecimal.valueOf(n)); pr.println(ret); } // --------------------------------------------------- public static void main(String[] args) { sc = new Scanner(System.in); pr = new Printer(System.out); solve(); pr.close(); sc.close(); } private static class Printer extends PrintWriter { Printer(PrintStream out) { super(out); } } }