結果

問題 No.552 十分簡単な星1の問題
ユーザー ryubokuryuboku
提出日時 2017-08-11 22:30:25
言語 Java21
(openjdk 21)
結果
AC  
実行時間 136 ms / 2,000 ms
コード長 318 bytes
コンパイル時間 2,187 ms
コンパイル使用メモリ 76,388 KB
実行使用メモリ 41,684 KB
最終ジャッジ日時 2024-04-20 22:45:24
合計ジャッジ時間 9,513 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
41,684 KB
testcase_01 AC 130 ms
41,528 KB
testcase_02 AC 130 ms
41,312 KB
testcase_03 AC 131 ms
41,200 KB
testcase_04 AC 131 ms
41,580 KB
testcase_05 AC 115 ms
40,072 KB
testcase_06 AC 132 ms
41,148 KB
testcase_07 AC 134 ms
41,412 KB
testcase_08 AC 135 ms
41,312 KB
testcase_09 AC 133 ms
41,236 KB
testcase_10 AC 127 ms
41,124 KB
testcase_11 AC 119 ms
40,116 KB
testcase_12 AC 113 ms
39,848 KB
testcase_13 AC 130 ms
41,108 KB
testcase_14 AC 130 ms
41,284 KB
testcase_15 AC 134 ms
41,324 KB
testcase_16 AC 116 ms
39,752 KB
testcase_17 AC 117 ms
39,864 KB
testcase_18 AC 132 ms
41,208 KB
testcase_19 AC 133 ms
41,396 KB
testcase_20 AC 118 ms
40,360 KB
testcase_21 AC 117 ms
39,984 KB
testcase_22 AC 131 ms
41,160 KB
testcase_23 AC 133 ms
40,936 KB
testcase_24 AC 131 ms
41,168 KB
testcase_25 AC 135 ms
41,320 KB
testcase_26 AC 119 ms
40,156 KB
testcase_27 AC 117 ms
40,148 KB
testcase_28 AC 114 ms
39,856 KB
testcase_29 AC 131 ms
41,344 KB
testcase_30 AC 131 ms
41,544 KB
testcase_31 AC 128 ms
41,300 KB
testcase_32 AC 130 ms
41,552 KB
testcase_33 AC 129 ms
41,416 KB
testcase_34 AC 130 ms
41,284 KB
testcase_35 AC 117 ms
39,992 KB
testcase_36 AC 133 ms
41,500 KB
testcase_37 AC 136 ms
41,424 KB
testcase_38 AC 118 ms
40,272 KB
testcase_39 AC 133 ms
41,272 KB
testcase_40 AC 131 ms
41,016 KB
testcase_41 AC 130 ms
41,104 KB
testcase_42 AC 122 ms
40,824 KB
testcase_43 AC 120 ms
40,364 KB
testcase_44 AC 133 ms
41,592 KB
testcase_45 AC 132 ms
41,224 KB
testcase_46 AC 117 ms
39,860 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        if (s.equals("0")) {
            System.out.println(s);
        } else {
            System.out.println(s + "0");
        }
    }
}
0