結果
問題 |
No.379 五円硬貨
|
ユーザー |
![]() |
提出日時 | 2016-09-09 11:43:00 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 138 ms / 1,000 ms |
コード長 | 331 bytes |
コンパイル時間 | 3,272 ms |
コンパイル使用メモリ | 75,104 KB |
実行使用メモリ | 54,488 KB |
最終ジャッジ日時 | 2024-11-16 05:16:02 |
合計ジャッジ時間 | 6,731 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 16 |
ソースコード
import java.util.Scanner; public class b { public static void main(String args[]){ Scanner sc = new Scanner(System.in); long N = sc.nextLong(); long G = sc.nextLong(); long V = sc.nextLong(); long foo = N / 5; double tmp = (G * foo); double i_o = V; double bar = tmp / V; System.out.printf("%.12f\n", bar); } }