結果

問題 No.350 d=vt
ユーザー mtokmtok
提出日時 2016-04-02 14:43:31
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 233 bytes
コンパイル時間 2,638 ms
コンパイル使用メモリ 77,360 KB
実行使用メモリ 54,752 KB
最終ジャッジ日時 2024-04-15 10:25:34
合計ジャッジ時間 5,054 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 147 ms
41,848 KB
testcase_01 AC 144 ms
41,676 KB
testcase_02 WA -
testcase_03 AC 146 ms
41,624 KB
testcase_04 WA -
testcase_05 AC 147 ms
41,644 KB
testcase_06 WA -
testcase_07 AC 145 ms
41,768 KB
testcase_08 AC 146 ms
41,812 KB
testcase_09 WA -
testcase_10 AC 152 ms
41,732 KB
testcase_11 AC 148 ms
41,948 KB
testcase_12 AC 149 ms
42,024 KB
testcase_13 AC 145 ms
41,720 KB
testcase_14 AC 156 ms
41,768 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class Main{
	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		float v=in.nextFloat();
		int t=in.nextInt();
		int m=(int)Math.round(v*t);
		System.out.println(m);

	}
}
0