結果

問題 No.646 逆ピラミッド
ユーザー Pump0129
提出日時 2018-03-26 11:33:03
言語 Java
(openjdk 23)
結果
AC  
実行時間 193 ms / 2,000 ms
コード長 402 bytes
コンパイル時間 2,226 ms
コンパイル使用メモリ 74,180 KB
実行使用メモリ 42,016 KB
最終ジャッジ日時 2024-06-25 06:43:19
合計ジャッジ時間 4,166 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

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