結果

問題 No.379 五円硬貨
ユーザー takeya_okinotakeya_okino
提出日時 2017-06-19 12:47:17
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 317 bytes
コンパイル時間 2,055 ms
コンパイル使用メモリ 73,892 KB
実行使用メモリ 56,128 KB
最終ジャッジ日時 2024-04-10 06:02:43
合計ジャッジ時間 5,222 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 132 ms
54,496 KB
testcase_04 AC 123 ms
54,180 KB
testcase_05 WA -
testcase_06 AC 130 ms
54,212 KB
testcase_07 AC 134 ms
54,156 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 114 ms
53,592 KB
testcase_13 AC 130 ms
54,232 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 116 ms
53,600 KB
testcase_17 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    double N = sc.nextDouble();
    double G = sc.nextDouble();
    double V = sc.nextDouble();
    N = N / (double)5;
    G = G * N;
    double ans = G / V;
    System.out.println(ans);
  }
}
0