結果

問題 No.784 「,(カンマ)」
ユーザー kohaku_kohakukohaku_kohaku
提出日時 2019-02-19 21:59:22
言語 Java21
(openjdk 21)
結果
AC  
実行時間 127 ms / 2,000 ms
コード長 239 bytes
コンパイル時間 1,830 ms
コンパイル使用メモリ 74,260 KB
実行使用メモリ 41,884 KB
最終ジャッジ日時 2024-04-20 23:23:12
合計ジャッジ時間 4,132 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 105 ms
41,536 KB
testcase_01 AC 108 ms
41,540 KB
testcase_02 AC 119 ms
41,548 KB
testcase_03 AC 121 ms
41,424 KB
testcase_04 AC 118 ms
41,668 KB
testcase_05 AC 127 ms
41,384 KB
testcase_06 AC 108 ms
41,396 KB
testcase_07 AC 117 ms
41,544 KB
testcase_08 AC 120 ms
41,476 KB
testcase_09 AC 121 ms
41,884 KB
testcase_10 AC 110 ms
41,500 KB
testcase_11 AC 112 ms
41,544 KB
testcase_12 AC 114 ms
41,288 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {

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