結果

問題 No.784 「,(カンマ)」
ユーザー YamaKasaYamaKasa
提出日時 2019-02-10 20:23:45
言語 Java21
(openjdk 21)
結果
AC  
実行時間 117 ms / 2,000 ms
コード長 217 bytes
コンパイル時間 1,778 ms
コンパイル使用メモリ 71,628 KB
実行使用メモリ 56,152 KB
最終ジャッジ日時 2023-09-21 10:25:57
合計ジャッジ時間 4,257 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 117 ms
55,776 KB
testcase_01 AC 115 ms
55,820 KB
testcase_02 AC 114 ms
56,152 KB
testcase_03 AC 115 ms
55,572 KB
testcase_04 AC 113 ms
55,800 KB
testcase_05 AC 116 ms
56,104 KB
testcase_06 AC 117 ms
55,904 KB
testcase_07 AC 116 ms
55,892 KB
testcase_08 AC 116 ms
55,820 KB
testcase_09 AC 117 ms
55,856 KB
testcase_10 AC 117 ms
55,556 KB
testcase_11 AC 115 ms
53,832 KB
testcase_12 AC 117 ms
55,544 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		sc.close();
		System.out.println(String.format("%,d", N));
	}
}
0