結果

問題 No.552 十分簡単な星1の問題
ユーザー 37zigen37zigen
提出日時 2017-08-12 00:10:57
言語 Java21
(openjdk 21)
結果
AC  
実行時間 131 ms / 2,000 ms
コード長 360 bytes
コンパイル時間 2,559 ms
コンパイル使用メモリ 79,056 KB
実行使用メモリ 41,616 KB
最終ジャッジ日時 2024-04-21 00:10:27
合計ジャッジ時間 9,194 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 103 ms
40,056 KB
testcase_01 AC 123 ms
41,308 KB
testcase_02 AC 118 ms
40,592 KB
testcase_03 AC 125 ms
41,568 KB
testcase_04 AC 111 ms
40,116 KB
testcase_05 AC 127 ms
41,444 KB
testcase_06 AC 117 ms
40,812 KB
testcase_07 AC 127 ms
41,436 KB
testcase_08 AC 110 ms
39,620 KB
testcase_09 AC 107 ms
39,972 KB
testcase_10 AC 126 ms
41,564 KB
testcase_11 AC 129 ms
41,296 KB
testcase_12 AC 124 ms
41,444 KB
testcase_13 AC 122 ms
41,164 KB
testcase_14 AC 116 ms
40,640 KB
testcase_15 AC 113 ms
40,684 KB
testcase_16 AC 129 ms
41,048 KB
testcase_17 AC 112 ms
40,140 KB
testcase_18 AC 124 ms
41,616 KB
testcase_19 AC 129 ms
41,356 KB
testcase_20 AC 124 ms
41,056 KB
testcase_21 AC 119 ms
41,292 KB
testcase_22 AC 123 ms
41,084 KB
testcase_23 AC 127 ms
41,448 KB
testcase_24 AC 121 ms
40,764 KB
testcase_25 AC 119 ms
41,280 KB
testcase_26 AC 124 ms
41,448 KB
testcase_27 AC 111 ms
39,988 KB
testcase_28 AC 114 ms
40,548 KB
testcase_29 AC 124 ms
41,416 KB
testcase_30 AC 131 ms
41,156 KB
testcase_31 AC 118 ms
41,324 KB
testcase_32 AC 111 ms
40,140 KB
testcase_33 AC 114 ms
40,896 KB
testcase_34 AC 130 ms
41,448 KB
testcase_35 AC 110 ms
40,308 KB
testcase_36 AC 117 ms
40,776 KB
testcase_37 AC 117 ms
40,648 KB
testcase_38 AC 115 ms
40,388 KB
testcase_39 AC 114 ms
40,296 KB
testcase_40 AC 107 ms
40,176 KB
testcase_41 AC 124 ms
41,168 KB
testcase_42 AC 125 ms
41,320 KB
testcase_43 AC 120 ms
41,056 KB
testcase_44 AC 124 ms
41,536 KB
testcase_45 AC 126 ms
41,376 KB
testcase_46 AC 113 ms
40,028 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package 郵便配達;

import java.util.Scanner;

import javax.swing.JFrame;

public class Main {

	void run() {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		if (s.length() == 1 && s.charAt(0) == '0') {
			System.out.println(0);
		} else
			System.out.println(s + "0");
	}

	public static void main(String[] args) {
		new Main().run();
	}
}
0