結果

問題 No.379 五円硬貨
ユーザー sasukesasuke
提出日時 2016-06-20 17:44:00
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 298 bytes
コンパイル時間 2,952 ms
コンパイル使用メモリ 74,344 KB
実行使用メモリ 41,776 KB
最終ジャッジ日時 2024-04-19 22:46:56
合計ジャッジ時間 5,878 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
41,776 KB
testcase_01 AC 120 ms
41,476 KB
testcase_02 AC 118 ms
41,092 KB
testcase_03 AC 116 ms
41,632 KB
testcase_04 AC 111 ms
40,004 KB
testcase_05 AC 113 ms
40,644 KB
testcase_06 WA -
testcase_07 AC 105 ms
40,192 KB
testcase_08 AC 109 ms
39,720 KB
testcase_09 WA -
testcase_10 AC 105 ms
41,108 KB
testcase_11 WA -
testcase_12 AC 119 ms
41,240 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 122 ms
41,144 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();
		long maisu=N/5;
		long guramu=maisu * G;
		long noudo= guramu/V;
		System.out.println(noudo);
	}
}
0