結果

問題 No.350 d=vt
ユーザー GrenacheGrenache
提出日時 2016-03-11 22:29:53
言語 Java19
(openjdk 21)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 340 bytes
コンパイル時間 4,278 ms
コンパイル使用メモリ 72,988 KB
実行使用メモリ 58,092 KB
最終ジャッジ日時 2023-07-27 23:49:16
合計ジャッジ時間 5,730 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
55,996 KB
testcase_01 AC 120 ms
55,996 KB
testcase_02 AC 118 ms
56,180 KB
testcase_03 AC 121 ms
55,884 KB
testcase_04 AC 121 ms
55,732 KB
testcase_05 AC 120 ms
55,764 KB
testcase_06 AC 120 ms
56,092 KB
testcase_07 AC 121 ms
55,728 KB
testcase_08 AC 119 ms
58,092 KB
testcase_09 AC 120 ms
56,320 KB
testcase_10 AC 120 ms
55,740 KB
testcase_11 AC 116 ms
55,520 KB
testcase_12 AC 120 ms
56,044 KB
testcase_13 AC 120 ms
55,832 KB
testcase_14 AC 119 ms
56,124 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;


public class Main_yukicoder350 {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        String s = sc.next();
        int t = sc.nextInt();

        int v = Integer.parseInt(s.substring(2, 6));

        System.out.println(v * t / 10000);

        sc.close();
    }
}
0