結果
問題 |
No.379 五円硬貨
|
ユーザー |
|
提出日時 | 2016-06-20 18:01:15 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 127 ms / 1,000 ms |
コード長 | 352 bytes |
コンパイル時間 | 3,366 ms |
コンパイル使用メモリ | 74,624 KB |
実行使用メモリ | 41,644 KB |
最終ジャッジ日時 | 2024-10-11 17:11:03 |
合計ジャッジ時間 | 6,039 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 16 |
ソースコード
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); long N =sc.nextLong(); long G =sc.nextLong(); long V =sc.nextLong(); double maisu=(int)N/5; double x=maisu /V; double noudo= x*G; System.out.println(noudo); } }