結果

問題 No.835 ジュース
ユーザー heyanxxheyanxx
提出日時 2019-07-03 14:40:08
言語 Java21
(openjdk 21)
結果
AC  
実行時間 45 ms / 2,000 ms
コード長 554 bytes
コンパイル時間 3,265 ms
コンパイル使用メモリ 71,824 KB
実行使用メモリ 49,592 KB
最終ジャッジ日時 2023-10-13 09:25:39
合計ジャッジ時間 4,379 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 44 ms
49,200 KB
testcase_01 AC 43 ms
49,212 KB
testcase_02 AC 45 ms
49,104 KB
testcase_03 AC 44 ms
49,248 KB
testcase_04 AC 44 ms
49,592 KB
testcase_05 AC 43 ms
49,220 KB
testcase_06 AC 43 ms
49,240 KB
testcase_07 AC 42 ms
49,236 KB
testcase_08 AC 42 ms
49,360 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package test.demo;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Yukicoder835 {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader bf =new BufferedReader(new InputStreamReader(System.in));
		
		try {
			String str=bf.readLine();
			int a=Integer.parseInt(str);
			int b=(int) (1.5*a/1);
			System.out.println(b);
		} catch (IOException e) {
			// TODO 自動生成された catch ブロック
			e.printStackTrace();
		}

	}

}
0