結果
| 問題 | No.32 貯金箱の憂鬱 | 
| コンテスト | |
| ユーザー |  soujiki | 
| 提出日時 | 2015-04-24 21:24:29 | 
| 言語 | Java (openjdk 23) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 146 ms / 5,000 ms | 
| コード長 | 402 bytes | 
| コンパイル時間 | 3,948 ms | 
| コンパイル使用メモリ | 74,236 KB | 
| 実行使用メモリ | 54,172 KB | 
| 最終ジャッジ日時 | 2024-07-23 02:03:37 | 
| 合計ジャッジ時間 | 6,073 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 12 | 
ソースコード
import java.util.*;
public class Yukicoder_32{
	public static void main(String[] args){
		Scanner stdIn = new Scanner(System.in);
		int L = stdIn.nextInt();
		int M = stdIn.nextInt();
		int N = stdIn.nextInt();
		int K = 0;
		int count = N/25;
		N -= count*25;
		M += count;
		count = M/4;
		M -= count*4;
		L += count;
		count = L/10;
		L -= count*10;
		K = count;
		System.out.println(L+M+N);
	}
}
            
            
            
        