結果

問題 No.350 d=vt
ユーザー jp_stejp_ste
提出日時 2016-05-14 23:39:58
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 323 bytes
コンパイル時間 2,798 ms
コンパイル使用メモリ 79,880 KB
実行使用メモリ 41,948 KB
最終ジャッジ日時 2024-04-15 10:31:37
合計ジャッジ時間 5,523 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 137 ms
41,564 KB
testcase_01 AC 136 ms
40,132 KB
testcase_02 AC 140 ms
41,456 KB
testcase_03 AC 136 ms
41,492 KB
testcase_04 AC 139 ms
41,272 KB
testcase_05 AC 139 ms
41,380 KB
testcase_06 AC 134 ms
41,456 KB
testcase_07 AC 135 ms
41,452 KB
testcase_08 AC 140 ms
41,508 KB
testcase_09 AC 135 ms
41,628 KB
testcase_10 AC 138 ms
41,948 KB
testcase_11 AC 139 ms
41,392 KB
testcase_12 WA -
testcase_13 AC 136 ms
41,236 KB
testcase_14 AC 134 ms
41,500 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner scan = new Scanner(System.in)) {
            float d = Float.parseFloat(scan.next());
            int t = Integer.parseInt(scan.next());
            System.out.format("%.0f", Math.floor(d*t));
        }
    }
}
0