結果
| 問題 | No.32 貯金箱の憂鬱 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2019-09-10 20:23:38 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 5,000 ms | 
| コード長 | 461 bytes | 
| コンパイル時間 | 1,499 ms | 
| コンパイル使用メモリ | 165,544 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-07-23 07:38:14 | 
| 合計ジャッジ時間 | 2,135 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 12 | 
ソースコード
/**
  @file 032.cpp
  @title  No.32 貯金箱の憂鬱 - yukicoder
  @url https://yukicoder.me/problems/no/32
**/
#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
#define ALL(obj) (obj).begin(), (obj).end()
#define REP(i, N) for (int i = 0; i < (N); ++i)
int main() {
  int L, M, N;
  cin >> L >> M >> N;
  int l, m, n;
  n = N % 25;
  M += (N / 25);
  m = M % 4;
  L += (M / 4);
  l = L % 10;
  cout << n + m + l << endl;
  return 0;
}
            
            
            
        