結果

問題 No.646 逆ピラミッド
ユーザー Pump0129Pump0129
提出日時 2018-03-26 11:33:03
言語 Java21
(openjdk 21)
結果
AC  
実行時間 178 ms / 2,000 ms
コード長 402 bytes
コンパイル時間 1,844 ms
コンパイル使用メモリ 72,628 KB
実行使用メモリ 56,320 KB
最終ジャッジ日時 2023-09-07 12:39:00
合計ジャッジ時間 4,042 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 122 ms
56,320 KB
testcase_01 AC 178 ms
55,876 KB
testcase_02 AC 116 ms
56,120 KB
testcase_03 AC 162 ms
55,880 KB
testcase_04 AC 159 ms
56,292 KB
testcase_05 AC 148 ms
56,204 KB
testcase_06 AC 165 ms
56,024 KB
testcase_07 AC 112 ms
55,732 KB
testcase_08 AC 113 ms
55,788 KB
testcase_09 AC 116 ms
56,060 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package net.ipipip0129.yukicoder.no646;

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		
		int num = Integer.parseInt(scan.nextLine());
		
		scan.close();
		
		for (int j = 0; j < num; j++) {
			for (int i = 0; i < num - j; i++) {
				System.out.print(num);
			}
			System.out.println();
		}
	}
}
0