結果

問題 No.350 d=vt
ユーザー fjafjafja
提出日時 2017-09-16 17:18:31
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 236 bytes
コンパイル時間 3,361 ms
コンパイル使用メモリ 74,444 KB
実行使用メモリ 54,556 KB
最終ジャッジ日時 2024-10-05 05:35:02
合計ジャッジ時間 6,199 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 8 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class N350 {

	public static void main(String[] args)
	{
		Scanner sc=new Scanner(System.in);
		double v=sc.nextDouble();int t=sc.nextInt();
		int d=(int)Math.floor(v*t);
		System.out.println(d);
	}

}
0