結果

問題 No.379 五円硬貨
ユーザー sasukesasuke
提出日時 2016-06-20 17:49:38
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 302 bytes
コンパイル時間 1,783 ms
コンパイル使用メモリ 73,892 KB
実行使用メモリ 54,176 KB
最終ジャッジ日時 2024-04-19 22:50:34
合計ジャッジ時間 4,405 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 102 ms
41,204 KB
testcase_01 AC 100 ms
41,292 KB
testcase_02 AC 102 ms
41,288 KB
testcase_03 AC 112 ms
40,952 KB
testcase_04 AC 111 ms
41,368 KB
testcase_05 AC 97 ms
41,052 KB
testcase_06 WA -
testcase_07 AC 111 ms
40,912 KB
testcase_08 AC 102 ms
41,248 KB
testcase_09 WA -
testcase_10 AC 114 ms
41,404 KB
testcase_11 WA -
testcase_12 AC 104 ms
41,120 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 104 ms
41,244 KB
testcase_17 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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();
		int maisu=(int)N/5;
		long guramu=maisu * G;
		long noudo= guramu/V;
		System.out.println(noudo);
	}
}
0