結果

問題 No.32 貯金箱の憂鬱
ユーザー imGUTS_99
提出日時 2020-03-07 17:14:57
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 302 bytes
コンパイル時間 515 ms
コンパイル使用メモリ 64,216 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-15 01:06:59
合計ジャッジ時間 1,051 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

int main(){
    int l=0;
    int m=0;
    int n=0;
    cin>>l>>m>>n;
    int a=0;
    int sa=0;
    int b=0;
    int sb=0;
    int c=0;
    int sc=0;
    a=l/25;
    sa=l-a;
    b=(m+a)/4;
    sb=m-b;
    c=(n+b)/10;
    sc=n-c;
    cout<<(sa+sb+c+sc)<<endl;
}
0