結果

問題 No.350 d=vt
ユーザー takeya_okinotakeya_okino
提出日時 2017-06-25 14:28:21
言語 Java21
(openjdk 21)
結果
AC  
実行時間 142 ms / 2,000 ms
コード長 292 bytes
コンパイル時間 2,340 ms
コンパイル使用メモリ 74,632 KB
実行使用メモリ 42,152 KB
最終ジャッジ日時 2024-04-15 10:47:25
合計ジャッジ時間 5,184 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 136 ms
41,500 KB
testcase_01 AC 136 ms
41,340 KB
testcase_02 AC 138 ms
41,432 KB
testcase_03 AC 142 ms
42,152 KB
testcase_04 AC 141 ms
41,540 KB
testcase_05 AC 140 ms
41,980 KB
testcase_06 AC 137 ms
41,520 KB
testcase_07 AC 136 ms
41,352 KB
testcase_08 AC 142 ms
41,552 KB
testcase_09 AC 137 ms
41,596 KB
testcase_10 AC 142 ms
41,528 KB
testcase_11 AC 142 ms
41,472 KB
testcase_12 AC 141 ms
41,544 KB
testcase_13 AC 139 ms
41,668 KB
testcase_14 AC 136 ms
41,608 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String v = sc.next();
    int ans = Integer.parseInt(v.substring(2));
    int t = sc.nextInt();
    ans *= t;
    ans /= 10000;
    System.out.println(ans);
  }
}
0