結果

問題 No.350 d=vt
ユーザー fal_rndfal_rnd
提出日時 2017-08-23 19:59:09
言語 Java21
(openjdk 21)
結果
AC  
実行時間 136 ms / 2,000 ms
コード長 510 bytes
コンパイル時間 2,975 ms
コンパイル使用メモリ 80,000 KB
実行使用メモリ 41,728 KB
最終ジャッジ日時 2024-04-15 10:50:48
合計ジャッジ時間 4,913 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 132 ms
41,364 KB
testcase_01 AC 131 ms
41,424 KB
testcase_02 AC 133 ms
41,260 KB
testcase_03 AC 135 ms
41,256 KB
testcase_04 AC 130 ms
41,600 KB
testcase_05 AC 132 ms
41,564 KB
testcase_06 AC 132 ms
41,364 KB
testcase_07 AC 132 ms
41,260 KB
testcase_08 AC 131 ms
41,072 KB
testcase_09 AC 131 ms
41,508 KB
testcase_10 AC 136 ms
41,620 KB
testcase_11 AC 133 ms
41,636 KB
testcase_12 AC 132 ms
41,508 KB
testcase_13 AC 128 ms
41,552 KB
testcase_14 AC 132 ms
41,728 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
import java.util.stream.IntStream;

public class Main{
	static IntStream REPS(int v){return IntStream.range(0,v);}
	static IntStream REPS(int l,int r){return IntStream.rangeClosed(l,r);}
	static IntStream INS(int n) {return REPS(n).map(i->getInt());}
	static Scanner s=new Scanner(System.in);
	static int getInt(){return Integer.parseInt(s.next());}

	public static void main(String[]$){
		System.out.println((int)(Integer.parseInt(s.next().substring(2,6))*s.nextInt()/10000.0));
	}
}
0