結果

問題 No.32 貯金箱の憂鬱
ユーザー econo_coffee
提出日時 2017-03-23 18:24:51
言語 Java
(openjdk 23)
結果
AC  
実行時間 141 ms / 5,000 ms
コード長 336 bytes
コンパイル時間 4,338 ms
コンパイル使用メモリ 74,428 KB
実行使用メモリ 41,536 KB
最終ジャッジ日時 2024-07-23 04:06:20
合計ジャッジ時間 6,652 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class Yukicoder {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int L =sc.nextInt();
		int M =sc.nextInt();
		int N =sc.nextInt();

		int sum = 0;

		M += N / 25;
		sum += N % 25;

		L += M / 4;
		sum += M % 4;

		sum += L % 10;

		System.out.println(sum);

	}

}
0