結果

問題 No.350 d=vt
ユーザー tsunabittsunabit
提出日時 2019-05-28 23:11:45
言語 Java19
(openjdk 21)
結果
AC  
実行時間 133 ms / 2,000 ms
コード長 539 bytes
コンパイル時間 3,307 ms
コンパイル使用メモリ 74,816 KB
実行使用メモリ 57,684 KB
最終ジャッジ日時 2023-10-17 18:34:22
合計ジャッジ時間 6,121 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 130 ms
57,560 KB
testcase_01 AC 129 ms
57,648 KB
testcase_02 AC 126 ms
57,236 KB
testcase_03 AC 130 ms
57,324 KB
testcase_04 AC 130 ms
57,528 KB
testcase_05 AC 128 ms
57,372 KB
testcase_06 AC 120 ms
56,228 KB
testcase_07 AC 131 ms
57,324 KB
testcase_08 AC 131 ms
57,380 KB
testcase_09 AC 130 ms
57,684 KB
testcase_10 AC 133 ms
57,468 KB
testcase_11 AC 130 ms
57,468 KB
testcase_12 AC 132 ms
57,400 KB
testcase_13 AC 133 ms
57,488 KB
testcase_14 AC 129 ms
57,200 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class No350 {
    public static void main(String[] args) {
        // 標準入力から読み込む際に、Scannerオブジェクトを使う。
        Scanner s = new Scanner(System.in);
        String v = s.next();
//        double v = s.nextDouble();
        int t = s.nextInt();
//      System.out.println((int)(Integer.parseInt(s.next().substring(2,6))*s.nextInt()/10000.0));
//      System.out.println((int)(v * t));
        System.out.println(Integer.parseInt(v.substring(2, 6)) * t / 10000);
    }
}
0