結果

問題 No.32 貯金箱の憂鬱
ユーザー yycoder
提出日時 2019-12-06 04:19:04
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 229 bytes
コンパイル時間 321 ms
コンパイル使用メモリ 27,648 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-23 04:53:37
合計ジャッジ時間 967 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 7 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main(void)
{
	int a,b,c;
	int aa, bb, cc;
	int total;
	scanf("%d%d%d", &c, &b, &a);

	aa = a % 25;
	bb = (b + a/25) % 4;
	cc = (c + b / 4) % 10;
	total = aa + bb + cc;
	printf("%d", total);


	return 0;
}
0