結果

問題 No.835 ジュース
ユーザー GrenacheGrenache
提出日時 2019-06-29 11:44:36
言語 Java21
(openjdk 21)
結果
AC  
実行時間 129 ms / 2,000 ms
コード長 534 bytes
コンパイル時間 3,655 ms
コンパイル使用メモリ 72,460 KB
実行使用メモリ 55,888 KB
最終ジャッジ日時 2023-09-14 23:08:54
合計ジャッジ時間 5,077 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
55,296 KB
testcase_01 AC 125 ms
55,888 KB
testcase_02 AC 125 ms
55,844 KB
testcase_03 AC 126 ms
55,676 KB
testcase_04 AC 128 ms
55,436 KB
testcase_05 AC 129 ms
55,596 KB
testcase_06 AC 126 ms
55,628 KB
testcase_07 AC 125 ms
55,840 KB
testcase_08 AC 127 ms
55,268 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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


public class Main_yukicoder835 {

	private static Scanner sc;
	private static Printer pr;

	private static void solve() {
		long n = sc.nextLong();

		pr.println(n * 3 / 2);
	}

	// ---------------------------------------------------
	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