結果
問題 | No.646 逆ピラミッド |
ユーザー |
![]() |
提出日時 | 2018-02-16 12:31:46 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 145 ms / 2,000 ms |
コード長 | 646 bytes |
コンパイル時間 | 3,411 ms |
コンパイル使用メモリ | 76,064 KB |
実行使用メモリ | 40,124 KB |
最終ジャッジ日時 | 2025-01-02 22:05:54 |
合計ジャッジ時間 | 5,012 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
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();}}}