結果
| 問題 | No.32 貯金箱の憂鬱 | 
| コンテスト | |
| ユーザー |  TatsuDX | 
| 提出日時 | 2016-09-08 23:33:08 | 
| 言語 | Java (openjdk 23) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 132 ms / 5,000 ms | 
| コード長 | 315 bytes | 
| コンパイル時間 | 3,185 ms | 
| コンパイル使用メモリ | 74,208 KB | 
| 実行使用メモリ | 54,420 KB | 
| 最終ジャッジ日時 | 2024-07-23 02:24:37 | 
| 合計ジャッジ時間 | 5,403 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 12 | 
ソースコード
import java.util.Scanner;
public class Test {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int s = 0, cnt = 0;
		s += sc.nextInt()*100;
		s += sc.nextInt()*25;
		s += sc.nextInt();
		s %= 1000;
		cnt += s/100;
		s %= 100;
		cnt += s/25 + s%25;
		System.out.println(cnt);
	}
}
            
            
            
        