結果

問題 No.646 逆ピラミッド
ユーザー misk703misk703
提出日時 2018-05-02 11:46:17
言語 Java21
(openjdk 21)
結果
AC  
実行時間 186 ms / 2,000 ms
コード長 276 bytes
コンパイル時間 3,214 ms
コンパイル使用メモリ 72,404 KB
実行使用メモリ 56,212 KB
最終ジャッジ日時 2023-09-10 08:52:09
合計ジャッジ時間 5,505 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 129 ms
55,792 KB
testcase_01 AC 186 ms
55,976 KB
testcase_02 AC 117 ms
55,780 KB
testcase_03 AC 174 ms
56,212 KB
testcase_04 AC 169 ms
55,992 KB
testcase_05 AC 143 ms
56,036 KB
testcase_06 AC 180 ms
54,752 KB
testcase_07 AC 119 ms
55,880 KB
testcase_08 AC 119 ms
56,092 KB
testcase_09 AC 123 ms
55,792 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class pira {

    public static void main(String[] args) {
	Scanner s = new Scanner(System.in);
	int N = s.nextInt();

	for(int i=0;i<N;i++){
	    for(int j=0;j<N-i;j++){
		System.out.print(N);
	    }
	    System.out.print("\n");
	}
    }

}
0