結果

問題 No.646 逆ピラミッド
ユーザー yamax3232
提出日時 2018-03-14 11:23:51
言語 Java
(openjdk 23)
結果
AC  
実行時間 191 ms / 2,000 ms
コード長 341 bytes
コンパイル時間 2,699 ms
コンパイル使用メモリ 73,344 KB
実行使用メモリ 42,312 KB
最終ジャッジ日時 2024-11-27 06:27:16
合計ジャッジ時間 4,966 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main{

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner kb=new Scanner(System.in);
		int a=kb.nextInt();
		int j=a;
		for(int i=0;i<a;i++){
			for(int k=0;k<j;k++){
				System.out.print(a);

			}
			System.out.println();
			j--;
		}



	}

}
0