結果
| 問題 | No.32 貯金箱の憂鬱 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2021-12-03 20:15:05 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 5,000 ms | 
| コード長 | 290 bytes | 
| コンパイル時間 | 1,251 ms | 
| コンパイル使用メモリ | 165,176 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-07-06 03:41:17 | 
| 合計ジャッジ時間 | 1,913 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 12 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
bool Can(long long x)
{
	if(x%3==0)
	return true;
	while(x)
	{
		if(x%10==3)
		return true;
		x/=10;
	}
	return false;
}
int main()
{
	int a,b,c;
	cin>>a>>b>>c;
	int ans=0;
	ans+=c%25;
	b+=c/25;
	ans+=b%4;
	a+=b/4;
	ans+=a%10;
	cout<<ans;
}
            
            
            
        