結果

問題 No.32 貯金箱の憂鬱
ユーザー kazuki232kazuki232
提出日時 2017-02-04 00:26:22
言語 C90
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 214 bytes
コンパイル時間 106 ms
コンパイル使用メモリ 23,640 KB
実行使用メモリ 4,504 KB
最終ジャッジ日時 2023-08-25 19:59:03
合計ジャッジ時間 931 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 0 ms
4,376 KB
testcase_01 AC 0 ms
4,376 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 1 ms
4,380 KB
testcase_10 WA -
testcase_11 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
int main(){
int i[5];
for(i[0] = 1; i[0] <= 3; i[0]++) {
scanf("%d",&i[i[0]]);
}
i[2]+=i[1]/25;i[1]%=25;
i[3]+=i[2]/4;i[2]%=4;
i[4]+=i[3]/10;i[3]%=10;
printf("%d\n",i[1]+i[2]+i[3]);

	return 0;
}
0