結果

問題 No.32 貯金箱の憂鬱
ユーザー lilac_chemistry
提出日時 2018-02-24 10:35:40
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 235 bytes
コンパイル時間 471 ms
コンパイル使用メモリ 55,328 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-12 22:05:43
合計ジャッジ時間 1,083 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main()
{
	int L, M, N,ans;
	cin >> L >> M >> N;

	M =M+ N / 25;
	N = N % 25;

	L =L+ M / 4;
	M = M % 25;

	L = L % 10;
	ans = L + M + N;

	cout << ans << "\n";
	return 0;
}
0