結果

問題 No.350 d=vt
ユーザー GrenacheGrenache
提出日時 2016-03-11 22:29:53
言語 Java21
(openjdk 21)
結果
AC  
実行時間 138 ms / 2,000 ms
コード長 340 bytes
コンパイル時間 3,398 ms
コンパイル使用メモリ 75,008 KB
実行使用メモリ 41,712 KB
最終ジャッジ日時 2024-04-15 10:06:52
合計ジャッジ時間 6,149 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 133 ms
41,712 KB
testcase_01 AC 135 ms
41,448 KB
testcase_02 AC 135 ms
41,576 KB
testcase_03 AC 120 ms
39,868 KB
testcase_04 AC 134 ms
41,364 KB
testcase_05 AC 120 ms
40,364 KB
testcase_06 AC 134 ms
41,020 KB
testcase_07 AC 136 ms
41,272 KB
testcase_08 AC 136 ms
41,552 KB
testcase_09 AC 136 ms
41,380 KB
testcase_10 AC 135 ms
41,332 KB
testcase_11 AC 135 ms
41,584 KB
testcase_12 AC 138 ms
41,432 KB
testcase_13 AC 134 ms
41,204 KB
testcase_14 AC 135 ms
41,400 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