結果

問題 No.835 ジュース
ユーザー iwa_choco_168iwa_choco_168
提出日時 2019-12-03 13:34:47
言語 Java21
(openjdk 21)
結果
AC  
実行時間 118 ms / 2,000 ms
コード長 260 bytes
コンパイル時間 2,329 ms
コンパイル使用メモリ 71,344 KB
実行使用メモリ 56,312 KB
最終ジャッジ日時 2023-08-18 02:46:50
合計ジャッジ時間 3,744 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 113 ms
56,080 KB
testcase_01 AC 116 ms
55,600 KB
testcase_02 AC 114 ms
56,056 KB
testcase_03 AC 115 ms
55,596 KB
testcase_04 AC 115 ms
55,560 KB
testcase_05 AC 114 ms
55,584 KB
testcase_06 AC 118 ms
55,272 KB
testcase_07 AC 115 ms
56,312 KB
testcase_08 AC 114 ms
55,428 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        int ans = (int)Math.floor(n * 1.5);
        System.out.println(ans);
    }
}
0