結果

問題 No.32 貯金箱の憂鬱
ユーザー suibaka_ku
提出日時 2017-03-05 22:57:27
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 232 bytes
コンパイル時間 524 ms
コンパイル使用メモリ 67,076 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-23 06:01:24
合計ジャッジ時間 998 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <numeric>
using namespace std;

int main() {
    int L, M, N;
    cin >> L >> M >> N;
    M += N / 25;
    N %= 25;
    L += M / 4;
    M %= 4;
    N %= 10;
    cout << L+M+N<< endl;
}
0