結果

問題 No.552 十分簡単な星1の問題
ユーザー creep04creep04
提出日時 2017-10-11 03:13:18
言語 Java21
(openjdk 21)
結果
AC  
実行時間 144 ms / 2,000 ms
コード長 232 bytes
コンパイル時間 3,407 ms
コンパイル使用メモリ 75,820 KB
実行使用メモリ 54,264 KB
最終ジャッジ日時 2024-04-28 15:41:16
合計ジャッジ時間 11,030 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
54,056 KB
testcase_01 AC 122 ms
52,776 KB
testcase_02 AC 130 ms
54,200 KB
testcase_03 AC 130 ms
53,896 KB
testcase_04 AC 132 ms
53,984 KB
testcase_05 AC 133 ms
53,656 KB
testcase_06 AC 133 ms
53,672 KB
testcase_07 AC 131 ms
53,916 KB
testcase_08 AC 131 ms
53,980 KB
testcase_09 AC 124 ms
54,088 KB
testcase_10 AC 133 ms
54,264 KB
testcase_11 AC 131 ms
54,060 KB
testcase_12 AC 136 ms
54,096 KB
testcase_13 AC 129 ms
54,032 KB
testcase_14 AC 128 ms
53,792 KB
testcase_15 AC 115 ms
52,636 KB
testcase_16 AC 133 ms
53,700 KB
testcase_17 AC 135 ms
53,924 KB
testcase_18 AC 135 ms
53,912 KB
testcase_19 AC 134 ms
53,732 KB
testcase_20 AC 134 ms
53,964 KB
testcase_21 AC 136 ms
53,656 KB
testcase_22 AC 144 ms
54,120 KB
testcase_23 AC 138 ms
54,004 KB
testcase_24 AC 133 ms
54,004 KB
testcase_25 AC 134 ms
54,144 KB
testcase_26 AC 132 ms
53,728 KB
testcase_27 AC 135 ms
54,188 KB
testcase_28 AC 135 ms
54,000 KB
testcase_29 AC 132 ms
54,184 KB
testcase_30 AC 133 ms
54,064 KB
testcase_31 AC 130 ms
53,856 KB
testcase_32 AC 129 ms
53,992 KB
testcase_33 AC 127 ms
53,916 KB
testcase_34 AC 131 ms
53,912 KB
testcase_35 AC 134 ms
53,996 KB
testcase_36 AC 118 ms
54,120 KB
testcase_37 AC 131 ms
53,952 KB
testcase_38 AC 130 ms
54,040 KB
testcase_39 AC 130 ms
53,852 KB
testcase_40 AC 131 ms
53,912 KB
testcase_41 AC 131 ms
53,984 KB
testcase_42 AC 134 ms
53,816 KB
testcase_43 AC 131 ms
54,032 KB
testcase_44 AC 131 ms
53,948 KB
testcase_45 AC 131 ms
53,992 KB
testcase_46 AC 130 ms
53,972 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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