結果

問題 No.964 2020
ユーザー 37zigen37zigen
提出日時 2020-01-13 20:45:05
言語 Java21
(openjdk 21)
結果
AC  
実行時間 131 ms / 2,020 ms
コード長 563 bytes
コンパイル時間 2,713 ms
コンパイル使用メモリ 71,580 KB
実行使用メモリ 57,708 KB
最終ジャッジ日時 2023-08-23 13:19:07
合計ジャッジ時間 5,030 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
55,904 KB
testcase_01 AC 124 ms
55,668 KB
testcase_02 AC 125 ms
56,036 KB
testcase_03 AC 128 ms
57,708 KB
testcase_04 AC 127 ms
55,916 KB
testcase_05 AC 126 ms
55,464 KB
testcase_06 AC 130 ms
55,664 KB
testcase_07 AC 129 ms
55,704 KB
testcase_08 AC 131 ms
55,916 KB
testcase_09 AC 131 ms
55,640 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.io.*;

// This file is a "Hello, world!" in Java language by OpenJDK for wandbox.

class Main
{
	public static void main(String[] args)
	{
		new Main().run();
	}
	
	void run(){
		Scanner sc=new Scanner(System.in);
		int N=sc.nextInt();
		for(int j=9;j>9-N;--j)
			for(int i=9;i>9-N;--i){
				System.out.print(i);
			}
		System.out.println();
	}
	
	void tr(Object...o){System.out.println(Arrays.deepToString(o));}
}
// OpenJDK reference:
//   http://openjdk.java.net/

// Java language references:
//   http://docs.oracle.com/javase
0