結果
| 問題 | No.32 貯金箱の憂鬱 | 
| コンテスト | |
| ユーザー |  t8m8⛄️ | 
| 提出日時 | 2015-04-03 04:51:22 | 
| 言語 | Java (openjdk 23) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 821 bytes | 
| コンパイル時間 | 3,252 ms | 
| コンパイル使用メモリ | 74,920 KB | 
| 実行使用メモリ | 54,676 KB | 
| 最終ジャッジ日時 | 2024-07-04 01:34:07 | 
| 合計ジャッジ時間 | 5,651 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 3 WA * 9 | 
ソースコード
//No.32 貯金箱の憂鬱
import java.util.*;
import java.io.*;
import static java.util.Arrays.*;
import static java.lang.Math.*;
public class No32 {
    
    static final Scanner sc = new Scanner(System.in);
    static final PrintWriter out = new PrintWriter(System.out,false);
    static void solve() {
        int l = sc.nextInt();
        int m = sc.nextInt() + l/25;
        int n = sc.nextInt() + m/4;
        l = l%25;
        m = m%4;
        n = n%10;
        out.println((l+m+n));
    }
    public static void main(String[] args) {
        long start = System.currentTimeMillis();
        solve();
        out.flush();
        long end = System.currentTimeMillis();
        //trace(end-start + "ms");
        sc.close();
    }
    static void trace(Object... o) { System.out.println(deepToString(o));}
}
            
            
            
        