結果

問題 No.646 逆ピラミッド
ユーザー GchansanjouGchansanjou
提出日時 2018-02-16 12:31:46
言語 Java21
(openjdk 21)
結果
AC  
実行時間 120 ms / 2,000 ms
コード長 646 bytes
コンパイル時間 3,028 ms
コンパイル使用メモリ 72,488 KB
実行使用メモリ 51,824 KB
最終ジャッジ日時 2023-08-30 23:05:06
合計ジャッジ時間 4,578 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
49,436 KB
testcase_01 AC 120 ms
51,608 KB
testcase_02 AC 41 ms
49,184 KB
testcase_03 AC 105 ms
51,736 KB
testcase_04 AC 93 ms
51,376 KB
testcase_05 AC 64 ms
50,304 KB
testcase_06 AC 111 ms
51,824 KB
testcase_07 AC 42 ms
49,784 KB
testcase_08 AC 41 ms
49,312 KB
testcase_09 AC 42 ms
49,432 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukiCoder;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class No00646 {

	public static void main(String[] args) {
		BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
		int input;
		try {
			input = Integer.parseInt(bufferedReader.readLine());
			for (int i = 0 ; i < input ; i++) {
				for (int j = i ; j < input ; j++) {
					System.out.print(String.valueOf(input));
				}
				System.out.println();
			}
		} catch (NumberFormatException | IOException e) {
			// TODO 自動生成された catch ブロック
			e.printStackTrace();
		}

	}

}
0