結果

問題 No.350 d=vt
ユーザー tentententen
提出日時 2020-10-03 12:06:05
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 229 bytes
コンパイル時間 1,873 ms
コンパイル使用メモリ 71,840 KB
実行使用メモリ 56,572 KB
最終ジャッジ日時 2023-09-25 05:02:23
合計ジャッジ時間 4,987 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 137 ms
55,816 KB
testcase_04 AC 138 ms
56,284 KB
testcase_05 AC 139 ms
56,056 KB
testcase_06 AC 141 ms
56,212 KB
testcase_07 AC 141 ms
56,084 KB
testcase_08 AC 138 ms
56,036 KB
testcase_09 WA -
testcase_10 AC 140 ms
55,996 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = (int)(sc.nextDouble() * 1000);
		int b = sc.nextInt();
		System.out.println(a * b / 1000);
	}
}
0