結果

問題 No.552 十分簡単な星1の問題
ユーザー matsuyoshimatsuyoshi
提出日時 2017-11-19 23:41:52
言語 Java21
(openjdk 21)
結果
AC  
実行時間 129 ms / 2,000 ms
コード長 410 bytes
コンパイル時間 2,358 ms
コンパイル使用メモリ 76,436 KB
実行使用メモリ 56,388 KB
最終ジャッジ日時 2023-08-17 06:23:38
合計ジャッジ時間 9,848 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
56,388 KB
testcase_01 AC 129 ms
55,824 KB
testcase_02 AC 126 ms
56,096 KB
testcase_03 AC 125 ms
55,796 KB
testcase_04 AC 124 ms
56,220 KB
testcase_05 AC 125 ms
55,932 KB
testcase_06 AC 127 ms
56,112 KB
testcase_07 AC 126 ms
55,848 KB
testcase_08 AC 126 ms
55,828 KB
testcase_09 AC 126 ms
56,352 KB
testcase_10 AC 126 ms
56,012 KB
testcase_11 AC 125 ms
55,536 KB
testcase_12 AC 124 ms
55,704 KB
testcase_13 AC 124 ms
56,172 KB
testcase_14 AC 126 ms
54,040 KB
testcase_15 AC 124 ms
55,928 KB
testcase_16 AC 124 ms
55,776 KB
testcase_17 AC 124 ms
55,932 KB
testcase_18 AC 124 ms
56,008 KB
testcase_19 AC 125 ms
56,208 KB
testcase_20 AC 126 ms
55,816 KB
testcase_21 AC 127 ms
56,116 KB
testcase_22 AC 128 ms
55,588 KB
testcase_23 AC 127 ms
56,152 KB
testcase_24 AC 127 ms
55,708 KB
testcase_25 AC 125 ms
55,852 KB
testcase_26 AC 126 ms
55,992 KB
testcase_27 AC 124 ms
55,968 KB
testcase_28 AC 127 ms
56,200 KB
testcase_29 AC 127 ms
55,792 KB
testcase_30 AC 126 ms
56,224 KB
testcase_31 AC 126 ms
55,996 KB
testcase_32 AC 125 ms
56,132 KB
testcase_33 AC 126 ms
56,008 KB
testcase_34 AC 123 ms
55,824 KB
testcase_35 AC 125 ms
55,992 KB
testcase_36 AC 126 ms
55,880 KB
testcase_37 AC 127 ms
56,104 KB
testcase_38 AC 127 ms
55,864 KB
testcase_39 AC 126 ms
55,864 KB
testcase_40 AC 125 ms
55,688 KB
testcase_41 AC 125 ms
56,280 KB
testcase_42 AC 125 ms
55,836 KB
testcase_43 AC 125 ms
56,152 KB
testcase_44 AC 126 ms
56,124 KB
testcase_45 AC 128 ms
55,972 KB
testcase_46 AC 126 ms
56,004 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;

class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String s = in.nextLine();

        if (s.equals("0")) {
            System.out.println("0");
        } else {
            System.out.println(s + "0");
        }

        in.close();
    }
}
0