結果

問題 No.784 「,(カンマ)」
ユーザー GrenacheGrenache
提出日時 2019-04-26 15:24:53
言語 Java21
(openjdk 21)
結果
AC  
実行時間 124 ms / 2,000 ms
コード長 534 bytes
コンパイル時間 3,286 ms
コンパイル使用メモリ 72,228 KB
実行使用メモリ 56,264 KB
最終ジャッジ日時 2023-08-16 03:13:58
合計ジャッジ時間 6,248 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 118 ms
56,244 KB
testcase_01 AC 120 ms
56,156 KB
testcase_02 AC 118 ms
56,032 KB
testcase_03 AC 118 ms
55,968 KB
testcase_04 AC 119 ms
55,960 KB
testcase_05 AC 119 ms
56,264 KB
testcase_06 AC 119 ms
56,168 KB
testcase_07 AC 120 ms
55,716 KB
testcase_08 AC 124 ms
56,084 KB
testcase_09 AC 118 ms
55,780 KB
testcase_10 AC 118 ms
56,080 KB
testcase_11 AC 118 ms
56,092 KB
testcase_12 AC 117 ms
56,108 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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


public class Main_yukicoder784 {

	private static Scanner sc;
	private static Printer pr;

	private static void solve() {
		int n = sc.nextInt();
		
		pr.printf("%,d%n", n);
	}

	// ---------------------------------------------------
	public static void main(String[] args) {
		sc = new Scanner(System.in);
		pr = new Printer(System.out);
			
		solve();
			
		pr.close();
		sc.close();
	}

	static class Printer extends PrintWriter {
		Printer(OutputStream out) {
			super(out);
		}
	}
}
0