結果

問題 No.379 五円硬貨
ユーザー satisfy5190satisfy5190
提出日時 2016-06-20 23:38:20
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 285 bytes
コンパイル時間 1,800 ms
コンパイル使用メモリ 73,800 KB
実行使用メモリ 54,284 KB
最終ジャッジ日時 2024-04-19 23:29:57
合計ジャッジ時間 4,582 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 104 ms
41,124 KB
testcase_01 AC 101 ms
40,648 KB
testcase_02 AC 104 ms
41,328 KB
testcase_03 AC 103 ms
41,360 KB
testcase_04 AC 115 ms
40,928 KB
testcase_05 AC 116 ms
41,192 KB
testcase_06 WA -
testcase_07 AC 104 ms
40,124 KB
testcase_08 AC 113 ms
39,980 KB
testcase_09 WA -
testcase_10 AC 105 ms
41,104 KB
testcase_11 WA -
testcase_12 AC 106 ms
41,388 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 114 ms
41,100 KB
testcase_17 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
class YukiCoder02 {

	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 m = N / 5;
		long k = m*G;
		long n =k/V;

		System.out.println(n);

	}

}
0